Javascript – Are there any recent Lua to JavaScript converters or interpreters somewhere?


I need to find a good Lua to JavaScript converter; lua2js on is out of date (3 or so years old and looks like it doesn't work on Lua 5.1) and I haven't yet found anything on Google.

Does anyone have any experience with any other converters out there? It should work on Lua 5.1 and preferably be .NET based, but .NET is not a requirement. A javascript lua interpreter would work as well.

Best Solution

A new challenger appears: Lua.js

For some awesome demos proving its maturity, see

Lua.js works by converting Lua code directly to ECMAscript (including JavaScript, ActionScript), which gives it an important speed advantage over solutions which attempt to implement the Lua VM in JavaScript.