Commit Graph

98 Commits

Author SHA1 Message Date
James Roseborough
f7e17c588e First cut at updating compiler and runtime to handle lua 5.2 bytecodes. Able to compile and execute "hello, world" lua script. 2012-08-23 04:40:40 +00:00
James Roseborough
14d344a045 Allow access to public members of private inner classes where possible 2012-01-31 16:04:26 +00:00
James Roseborough
c46ee6b9bd Fix load(func) when mutiple string fragments are supplied by calls to func 2012-01-21 17:36:03 +00:00
James Roseborough
26ed1ef392 Improve detection and handling of orphaned coroutine threads. 2012-01-21 05:26:41 +00:00
James Roseborough
ebb7169f17 Add arithmetic metatag processing when left hand side is a number and right hand side has metatable 2011-11-13 18:08:18 +00:00
Ian Farmer
3a266748be Fix two issues in WeakTable.java that can lead to infinite loops. 2011-09-27 04:06:21 +00:00
James Roseborough
b769c61e0f Improve coroutine state logic including let unreferenced coroutines be garbage collected 2011-06-12 04:17:02 +00:00
James Roseborough
a88789517d Major refactor of luajava type coercion logic, and method selection logic. 2011-03-03 16:52:12 +00:00
James Roseborough
f335a25e6b Improve jsr-223 bindings, allow ".lua" or "lua" as extensions, find classes when added as vm extension, enhance javadoc, add sources jar. 2011-02-11 17:40:37 +00:00
James Roseborough
e820f00b12 Update math.luac expected result. 2011-01-24 20:01:55 +00:00
James Roseborough
ef1e6e9967 Fix selection logic in luajava when picking from functions with same name 2011-01-14 22:57:44 +00:00
James Roseborough
e1909e734a Add bignum test based on user comment. 2011-01-12 18:10:33 +00:00
James Roseborough
81ad4455dc User luajava coersion logic for JSR-223 binding value coercions from Java to lua 2010-12-03 15:39:26 +00:00
James Roseborough
d32ef20360 Improve __eq metatag processing. 2010-08-25 17:56:51 +00:00
James Roseborough
d5b58107c6 Add tests for metatag operations. 2010-08-25 00:43:13 +00:00
James Roseborough
ee62eefc38 Improve __concat 2010-08-23 15:26:21 +00:00
James Roseborough
00bf5ff4d8 Improve __concat 2010-08-23 05:17:11 +00:00
James Roseborough
02b22b1e0d Refactor concat, add __concat metatag 2010-08-22 17:35:08 +00:00
James Roseborough
8cee98befd Improve __eq metatag processing. 2010-08-19 18:08:14 +00:00
James Roseborough
0d50184e8f Add tests for __index, __newindex 2010-08-18 23:05:20 +00:00
James Roseborough
2066e41ecd Add __metatable and __tostring metatags. 2010-08-18 22:45:41 +00:00
James Roseborough
4acf8ed2ce Add __lt, __le, __eq metatag processing. 2010-08-18 22:17:13 +00:00
James Roseborough
4d4517dd58 Add __unm and __len metatags. 2010-08-18 21:14:13 +00:00
James Roseborough
7958ee7109 Add arithmetic metatag processing. 2010-08-18 18:55:12 +00:00
James Roseborough
fdeb392205 Add metatag test. 2010-08-18 15:03:34 +00:00
James Roseborough
f21610e00a Add performance measurements to README 2010-08-15 03:56:03 +00:00
James Roseborough
a950957318 Improve bytecode generation. 2010-08-12 17:00:47 +00:00
James Roseborough
02be06c7b6 Improve bytecode generation. 2010-08-12 05:26:02 +00:00
James Roseborough
386e89aedf Improve bytecode generation. 2010-08-12 00:49:15 +00:00
James Roseborough
267e89adef Improve bytecode generation. 2010-08-11 18:21:20 +00:00
James Roseborough
3d4a3dbb65 Improve bytecode generation. 2010-08-11 14:23:59 +00:00
James Roseborough
106a8cd8ba Add test for nested upvalues 2010-08-10 14:59:05 +00:00
James Roseborough
6b379f9fe8 Improve bytecode generation. 2010-08-10 14:55:32 +00:00
James Roseborough
afa2d5fd09 Improve bytecode generation. 2010-08-10 05:52:33 +00:00
James Roseborough
e3f32988d6 Add bytecode generator test. 2010-08-10 00:24:49 +00:00
James Roseborough
a1e0bc520d Improve bytecode generation. 2010-08-05 21:41:19 +00:00
James Roseborough
b20d7a2213 Improve bytecode generation. 2010-08-02 18:28:40 +00:00
James Roseborough
e2249fc9ca Add bytecode generation tests 2010-07-30 23:48:30 +00:00
James Roseborough
51e64c87cb Change platform packages. 2010-07-30 18:09:31 +00:00
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
6364b002e4 Fix java code generator including adding tail call support. 2010-07-26 05:58:34 +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