Commit Graph

96 Commits

Author SHA1 Message Date
James Roseborough
67a0cac3f4 Fix bytecode generation for return values that are upvalues. 2010-07-30 05:02:29 +00:00
James Roseborough
1f68fbc013 Update imports. 2010-07-29 23:23:28 +00:00
James Roseborough
dce6007569 Update bytecode-to-bytecode compiler to handle upvalues in numeric for loops. 2010-07-29 21:28:13 +00:00
James Roseborough
cd35ad7cbd Improve lua2java code generation. 2010-07-29 15:10:12 +00:00
James Roseborough
e3d1330763 Fix bytecode generator following Buffer api change. 2010-07-29 05:07:08 +00:00
James Roseborough
69bbae70a1 simplify LuaCompiler interface and add Lua2Java utility class. 2010-07-25 22:31:43 +00:00
Ian Farmer
97b4162423 Fix bug in compiler affecting functions with many locals. 2010-07-25 20:47:54 +00:00
James Roseborough
b806a23bc3 Improve test file finding. 2010-07-20 16:28:25 +00:00
James Roseborough
a5dc0eaa61 Run all test files. 2010-07-07 15:20:00 +00:00
James Roseborough
ef6e5120a9 Ignore line end diffs on unit tests 2010-07-06 14:45:27 +00:00
James Roseborough
700d3878a0 Simplify weak table implementation. 2010-07-05 18:30:04 +00:00
James Roseborough
dc84bc9e8d Refactor weak tables including proper weak key semantics and improved userdata handling. 2010-06-21 01:31:40 +00:00
James Roseborough
a65110df88 Improve error tests 2010-05-17 00:53:31 +00:00
James Roseborough
fe7658e83b Improve error reporting. 2010-05-16 05:09:47 +00:00
James Roseborough
3a21941e57 Improve error reporting. 2010-05-15 21:56:29 +00:00
James Roseborough
6296068a49 Remove project dependency on luaj vm1 2010-05-14 14:32:02 +00:00
James Roseborough
47b33aea08 Make compiler installed by default for standard platforms. 2010-05-14 04:00:05 +00:00
James Roseborough
38acf6a75e Improve error reporting. 2010-05-12 04:46:58 +00:00
James Roseborough
536b27330d Improve math lib error reporting. 2010-05-12 03:21:12 +00:00
James Roseborough
5eb1ef1079 Improve error tests 2010-05-09 23:51:46 +00:00
James Roseborough
40b7cb19c9 Add unit tests used in vm1 2010-05-09 18:10:55 +00:00
James Roseborough
be5252148a Refactor lib bindings. 2010-04-27 05:05:08 +00:00
James Roseborough
770261d65c Add back compiler unit tests 2010-04-26 14:08:36 +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
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
494e4206c4 Improve compatibility with luaj 1.0 2010-04-18 21:14:02 +00:00
James Roseborough
6dfe984172 Improve compatibility with luaj 1.0 2010-04-17 15:06:28 +00:00
James Roseborough
ee098145c0 Improve compatibility with luaj 1.0 2010-04-17 14:29:33 +00:00
James Roseborough
a77b93681f Fix xpcall arg check logic. 2010-04-15 14:35:05 +00:00
James Roseborough
8ae33e1d08 Refactor java code generator. 2010-04-13 14:31:40 +00:00
James Roseborough
a8f129b8cf Add string cache to pool most commonly used Java strings 2010-04-06 04:55:57 +00:00
James Roseborough
aed25279eb Improve luajava method resolution 2010-04-06 04:00:52 +00:00
James Roseborough
0d18988a96 Add test for luajava, compiler, and compatibility witn luavm 1.0 2010-04-03 15:14:30 +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
7cc18046ab Fix upvalue processing. 2009-11-04 06:33:34 +00:00
James Roseborough
c78d789cdc Improve bytcode generation. 2009-11-02 05:38:36 +00:00
James Roseborough
3e3909b14b Fix vararg parameter handling, self and setlist bytecode processing. 2009-10-30 19:24:43 +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