Commit Graph

5 Commits

Author SHA1 Message Date
James Roseborough
5fcec48678 Add framework to test error messages and argument type checking. 2008-07-15 05:32:56 +00:00
James Roseborough
039d79fe5f Simplified, extended jit implementation 2008-05-18 15:12:03 +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
Shu Lei
af51bf6f07 renamed DebugStackState to DebugLuaState 2007-11-08 01:59:42 +00:00
James Roseborough
ff66779330 Major refactoring of package names, class names 2007-11-07 23:56:06 +00:00