Commit Graph

18 Commits

Author SHA1 Message Date
James Roseborough
17c86b8eb3 Let ant build download bcel jar as needed. 2009-10-30 21:57:35 +00:00
James Roseborough
f729c1b626 Expand compiler interface, add bcel-based bytecode generator. 2009-10-29 22:20:56 +00:00
James Roseborough
3863ff8e46 Initial sources for planned 2.0 luaj vm release. Most interpreter features and library functions working. 2009-10-27 06:12:24 +00:00
Ian Farmer
41b3997166 Fix bug in luajava.createProxy() and demonstrate its use. 2008-11-27 08:32:33 +00:00
James Roseborough
4a87bae45d v 0.44, drop debug support 2008-08-06 20:38:15 +00:00
James Roseborough
5fcec48678 Add framework to test error messages and argument type checking. 2008-07-15 05:32:56 +00:00
James Roseborough
8d055862e0 Add version "Luaj ${version}" into _VERSION field at build time. 2008-05-19 17:18:10 +00:00
Shu Lei
9f9f31b969 Changes made for the following:
1) Platform.java stays as abstract class with, but default implementation is removed. Stays in org.luaj.vm package
2) org.luaj.platform package is created to hold concrete Platform implementations
3) Platform.newLuaState() method is introduced to instantiate the LuaState. Other constructors are privatized.
4) Following Platform implementations are created:
        J2sePlatform
        J2meMidp20Cldc11Platform
        J2meMidp10Cldc10Platform
 5) All clients of luaj-vm are changed to include startup code that looks something like this:
        Platform.setInstance( new J2meMidp20Cldc11Platform() );
        LuaState state = Platform.getInstance().newLuaState();
2007-12-19 21:44:15 +00:00
James Roseborough
ff66779330 Major refactoring of package names, class names 2007-11-07 23:56:06 +00:00
Shu Lei
e97b842b45 1. added stepping debug support
2. added debugger error handling
2007-10-24 20:21:16 +00:00
Ian Farmer
c3f17a3b5e Build changes:
* ant build.xml produces 4 output jars: all-in-one jar, a "core" jar that
  should work under J2ME, an "extras" jar with classes that require J2SE,
  and the last jar provides the debug support for J2ME.
* Change the Eclipse .classpath to include WTK jars. Requires WTK_HOME
  classpath variable be set in Eclipse workspace.
2007-10-23 21:06:51 +00:00
Shu Lei
a8422a6908 debug support refactoring 2007-10-17 00:56:08 +00:00
Shu Lei
341a5588b0 first step to bring debugging code to j2me 2007-10-12 01:36:28 +00:00
Shu Lei
a80351e1ef added the skeleton code for luaJ debugging support 2007-08-10 06:31:21 +00:00
Ian Farmer
daf71ee672 New LuaCompat add-on provides some standard lua functions that allow the
test cases to make more progress: assert, collectgarbage, loadfile,
tonumber, rawget, and setfenv. Also added zip file of standard tests to
Eclipse classpath, for convenience.
2007-07-22 05:47:14 +00:00
Ian Farmer
241edfbf37 Added a JUnit test case. Unfortunately, it will almost certainly not work on
Windows in its present form, and only one of the test cases passes.
In addition two changes to print() were made: output can be redirected to
an arbitrary OutputStream and tabs are no longer printed at the end of
each line.
2007-07-04 04:25:06 +00:00
James Roseborough
93fc4699a9 Type coercion for luajava package, make luajava an "addon" 2007-06-24 15:04:19 +00:00
James Roseborough
70dfc20f57 Initial draft of interpreter. Lua compiled "chunks" can be unmarshalled. Approximately half of bytecodes implemented in some form or another. 2007-06-08 05:11:37 +00:00