Commit Graph

156 Commits

Author SHA1 Message Date
James Roseborough
0f70a8e962 Fixes to luajc bytecode generation. 2012-09-19 03:19:55 +00:00
James Roseborough
4bf132c01e Fix for loop processing in luajc compiler code generator for lua 5.3 bytecodes 2012-09-18 14:17:00 +00:00
James Roseborough
f786802bf1 Move static variables used by libraries into explicit Globals object for better thread safety. 2012-09-14 04:12:50 +00:00
Ian Farmer
88d58a348d Implement new bit32 module added in Lua 5.2. 2012-09-13 03:57:48 +00:00
James Roseborough
382b3b998e Refactor math library 2012-09-10 14:21:18 +00:00
James Roseborough
f8b7e1ee1c Refactor table library to match lua 5.2 2012-09-10 04:59:45 +00:00
James Roseborough
6ba1f86b7b Fix global "arg" value for scripts run tom "lua" command. 2012-09-10 02:45:53 +00:00
James Roseborough
d5456b4b93 Lua 5.2 compatibility fixes. 2012-09-09 16:26:17 +00:00
James Roseborough
7ae41da5e1 Update LuaJC to work with lua 5.2 model of environments. 2012-09-08 21:16:51 +00:00
James Roseborough
f224957b87 Remove support for lua2java within luaj. 2012-09-08 04:15:06 +00:00
James Roseborough
f2d1106fe5 Simplify layout of lua test script locations. 2012-09-07 14:05:41 +00:00
James Roseborough
3bacea878e Remove env from LuaFunction, replace with upValiue array, and remove most occurances of setfenv and getfenv. 2012-09-07 04:36:50 +00:00
James Roseborough
a5fddce465 Lua 5.2 compatibility updates to VM and base and package libraries. 2012-09-06 04:01:28 +00:00
James Roseborough
ed4554fa7d Lua 5.2 compatibility fixes. 2012-09-05 04:24:44 +00:00
James Roseborough
04faa79853 Turn on LuaParser error reporting. 2012-09-01 16:51:45 +00:00
James Roseborough
2bf4c5767b Add line number tracking in elements parsed using LuaParser. 2012-09-01 15:56:09 +00:00
James Roseborough
e0e2452d74 Improve processing of first-line comments by LuaParser 2012-09-01 04:59:14 +00:00
James Roseborough
35e292ac9c Update LuaParser.jj and LuaParser.java to accept lua 5.2 syntax for all files in the standard tests. 2012-08-31 14:57:06 +00:00
James Roseborough
7d3b5a6b14 Update LuaParser.jj and LuaParser.java to accept lua 5.2 syntax for all files in the standard tests. 2012-08-31 14:51:35 +00:00
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
3506930278 Catch Exception instead of Throwable for all but LuaThread run loop 2012-01-25 03:58:33 +00:00
James Roseborough
4950d3c612 Fix lua command vararg values passed into main script to match what is in global arg table 2011-11-12 23:59:37 +00:00
James Roseborough
abba1501f9 Improve javadoc for luajava classes. 2011-03-03 18:47:28 +00:00
James Roseborough
90839804ef Fix imports, length coercion, script sample 2011-03-03 18:27:21 +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
c49ede53e4 Tune javadoc for distribution build. 2011-01-26 06:02:06 +00:00
James Roseborough
4fb425bb16 Add javadoc content to source files. 2011-01-22 01:00:20 +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
a07d0f7cb4 Clarify role of bindings in script engine. 2010-12-04 00:47:30 +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
79debeb11e Remove generics 2010-12-03 01:43:24 +00:00
James Roseborough
31f6ffde88 Improve JSR-223 bindings especially for values that are not primitives. 2010-12-03 01:37:47 +00:00
James Roseborough
a559655d7c Improve JSR-223 bindings implementation to allow use of external Bindings class such as SimpleBindings 2010-12-01 05:25:03 +00:00
James Roseborough
e257518bbe Fix constructor matchng logic for luajava lib. 2010-09-04 16:26:23 +00:00
James Roseborough
a17359716b Update performance numbers using production flags. 2010-09-04 02:41:09 +00:00
James Roseborough
aa572abd65 Add -n option to launch without debug library. 2010-09-03 20:34:32 +00:00
James Roseborough
bb7a3390cd Improve __concat metatag 2010-08-23 20:36:41 +00:00
James Roseborough
c577f5debc Fix arg processing 2010-08-14 15:18:55 +00:00
James Roseborough
d344f08a54 Allow use of lua2java from command line 2010-08-13 20:28:11 +00:00
James Roseborough
a62350b06a Improve bytecode generation. 2010-08-13 00:23:53 +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
a1e8df5a11 Improve bytecode generation. 2010-08-11 00:17:45 +00:00
James Roseborough
d27f2d6e20 Improve bytecode generation. 2010-08-10 17:46:17 +00:00
James Roseborough
6b379f9fe8 Improve bytecode generation. 2010-08-10 14:55:32 +00:00