dapetcu21 / atom-autocomplete-lua

Extensible autocomplete+ provider for Lua
35 stars 6 forks source link

LuaJIT support #9

Closed THE-FYP closed 7 years ago

THE-FYP commented 7 years ago

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 new luajit-2.0.json if you need to see difference: https://gist.github.com/THE-FYP/a6f0b775fc26bfa2323095ee0d7b47fc/revisions?diff=unified#diff-8fe0d9bd1082055770f46247466e8f13

dapetcu21 commented 7 years ago

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!