lua2js
lua2js copied to clipboard
Lua to JavaScript Transpiler
I created an actively maintained fork. https://github.com/AlexanderMisel/lua2js
```lua :: label1 :: print(var); -- should really print nil local var = "Hello"; local var = true; goto label1; ``` ```javascript (function() { var vararg; vararg = []; (function()...
Had to rename the var to foKey, otherwise its seen as the `for` keyword. Test script can be found here http://regex.info/code/JSON.lua