-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpiling to Lua? #98
Comments
Which version of Lua will you use? I suggest LuaJIT. |
Does Lua have incompatible dialects? Or only different implementations? |
LuaJIT is a compiler for Lua language. I suggest LuaJIT because it will have the best performance compared to the normal Lua interpreter. LuaJIT is only compatible with the Lua 5.1 syntax. The latest version of standard Lua is now 5.4.4, and the latest version of LuaJIT is 2.1. |
Lua uses a combined structure for dictionaries/objects and lists/arrays, and the lists are NOT zero indexed.
would compile to the lua code:
(js for reference)
|
I know something similar for Lua, it's called CSharp.lua: https://github.com/yanghuan/CSharp.lua
But it's a full fledged CSharp compiler that uses Roslyn and thus requires .NET to run.
The text was updated successfully, but these errors were encountered: