added the mostly complete (excluding FFI types) LuaJIT support.
all changes were taken from here: https://luajit.org/extensions.html, excluding LUAJIT_ENABLE_LUA52COMPAT additions.
luaparse doesn't support LuaJIT directly, but since LuaJIT is fully upwards-compatible with Lua 5.1 luaparse is compatible with LuaJIT.
Hi! At a glance, this looks fine and unlikely to break anything. I'll merge, then squish the two commits and capitalise the commit message. Thanks for the contribution!
added the mostly complete (excluding FFI types) LuaJIT support.
all changes were taken from here: https://luajit.org/extensions.html, excluding
LUAJIT_ENABLE_LUA52COMPAT
additions. luaparse doesn't support LuaJIT directly, but since LuaJIT is fully upwards-compatible with Lua 5.1 luaparse is compatible with LuaJIT.there is comparsion between the
5.1.json
and newluajit-2.0.json
if you need to see difference: https://gist.github.com/THE-FYP/a6f0b775fc26bfa2323095ee0d7b47fc/revisions?diff=unified#diff-8fe0d9bd1082055770f46247466e8f13