lua-convert
by Jon on Dec.06, 2011 @ 06:58 pm, under Technology
Here’s a project I’ve been working on a little: http://repo.asdfa.net/lua-convert/overview
It can take, as input, JavaScript (actually, a subset of JavaScript syntax, not real JavaScript) and turn it into Lua code.
It also does language-agnostic preprocessing.
It’s still in the earlier stages, but is quite useable as it currently stands. The whole thing can be transported as a single, cohesive jar file. You can embed the functionality into you application (perhaps your Lua-foo program wants better syntax?) using pipes and the –slave mode.