Commit Graph

96 Commits

Author SHA1 Message Date
James Roseborough
e0b3c966b6 Improve bytecode generation. 2010-04-27 14:33:55 +00:00
James Roseborough
be5252148a Refactor lib bindings. 2010-04-27 05:05:08 +00:00
James Roseborough
3f727fbe17 Simplify bindings. 2010-04-26 15:59:42 +00:00
James Roseborough
23434069c8 Refactor luajava method mapping computation. 2010-04-26 05:16:11 +00:00
James Roseborough
2f222c0f8a Refactor luajava method mapping computation. 2010-04-26 05:09:44 +00:00
James Roseborough
29d6f2ce58 Improve compatibility with vm1 and C-based lua. 2010-04-25 22:40:04 +00:00
James Roseborough
79b0294207 Refactor string conversions 2010-04-25 15:50:40 +00:00
James Roseborough
5d23d37255 Move DEBUG_ENABLED flag 2010-04-25 06:28:31 +00:00
James Roseborough
de9c967ac5 Fix midlet example including luajc-compiled scripts 2010-04-25 05:35:24 +00:00
James Roseborough
90ca65c7d9 Derive legal classname from filename. 2010-04-25 01:19:11 +00:00
James Roseborough
1b43352144 Implement tail calls in generated bytecode classes. 2010-04-24 23:49:39 +00:00
James Roseborough
db3e275a6a Improve bytecode generation. 2010-04-24 18:09:58 +00:00
James Roseborough
c1f67181fa Improve bytecode generation. 2010-04-24 17:18:52 +00:00
James Roseborough
612b75d201 Code generator improvements. 2010-04-23 14:33:58 +00:00
James Roseborough
efd67d91ce Improve compiler output 2010-04-23 05:17:57 +00:00
James Roseborough
8ea8ccb776 Improve upvalue processing 2010-04-23 04:21:16 +00:00
James Roseborough
8926a94348 Use bitfields for slots 2010-04-22 14:49:01 +00:00
James Roseborough
9b6c9e1326 Improve upvalue processing in for loops for luajc compiler 2010-04-21 06:07:32 +00:00
James Roseborough
68b260efdd Improve compatibility with luaj 1.0 2010-04-20 14:43:30 +00:00
James Roseborough
00f8d291f9 Fix setfenv(), getfenv(), let threads inherit environment. 2010-04-17 13:15:16 +00:00
James Roseborough
576cf2068d Special processing on for loop upvalues. 2010-04-14 05:36:43 +00:00
James Roseborough
8ae33e1d08 Refactor java code generator. 2010-04-13 14:31:40 +00:00
James Roseborough
aed25279eb Improve luajava method resolution 2010-04-06 04:00:52 +00:00
James Roseborough
a548ef27fb Add luajava exceptino handling, array and unit test logic from 1.0 branch 2010-04-03 05:31:53 +00:00
James Roseborough
46a9527701 Add LuaValue.load() function for library initialization. Change unit tests to use JavaBytecodeCompiler for lua->Java conversion. 2010-04-03 03:48:53 +00:00
James Roseborough
946503fc20 Refactor library initialization code. 2010-04-02 05:57:54 +00:00
James Roseborough
64751f694e Convert most libraries to use standard loading. 2010-04-01 05:35:54 +00:00
James Roseborough
dc0be9b15a Add doc for bytecode generator. 2010-03-31 04:15:09 +00:00
James Roseborough
699bcb2e48 Retain extension in source file name. 2009-11-10 17:22:51 +00:00
James Roseborough
7cc18046ab Fix upvalue processing. 2009-11-04 06:33:34 +00:00
James Roseborough
1b66a91c95 Let VarArgFunction instances register with Thread on invocation. 2009-11-03 19:12:48 +00:00
James Roseborough
3906ab0711 Expose class name normalization. 2009-11-03 18:06:03 +00:00
James Roseborough
0aa2563cc6 Add noop on OP_CLOSE instruction for branching. 2009-11-03 02:23:49 +00:00
James Roseborough
3d4a29f1bc Fixes to class generation logic. 2009-11-03 02:13:45 +00:00
James Roseborough
ac91de7794 Add options to load to prototype 2009-11-03 01:16:46 +00:00
James Roseborough
c78d789cdc Improve bytcode generation. 2009-11-02 05:38:36 +00:00
James Roseborough
05e6fa5774 Add arg table to globals when executing from command line. 2009-10-31 05:41:35 +00:00
James Roseborough
97e6da241b Let compilers compile from prototypes, fix loading of code without debug info. 2009-10-31 00:37:22 +00:00
James Roseborough
674ae6195e Make class names java-friendly 2009-10-30 23:04:37 +00:00
James Roseborough
17c86b8eb3 Let ant build download bcel jar as needed. 2009-10-30 21:57:35 +00:00
James Roseborough
3e3909b14b Fix vararg parameter handling, self and setlist bytecode processing. 2009-10-30 19:24:43 +00:00
James Roseborough
668692d0a2 Add debug library by default. 2009-10-30 19:23:25 +00:00
James Roseborough
933a4fcc36 Replace upvalue holder when upvalues are closed. 2009-10-30 05:27:36 +00:00
James Roseborough
dd82fe6d2d Fix source and class names in generated bytecode. 2009-10-30 00:39:25 +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