lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I need a lua-->_javascript_ translator. I could write it as a metalua backend, but before I'd like to make sure there's nothing useful already available. Does anyone know about something similar?

I should precise my request: I want a really complete mapping, including multi returns, variable scopes, lazy and/or etc.

What I can live without:
- I don't care much about performance
- getting _readable_ _javascript_ would be a nice bonus, but that's not mandatory
- I'd prefer BSD-like licence over GPL-like
- I'd prefer it to be written in Lua

lua2js seems to only deal with a subset of lua 5.0, although I'm going to further investigate.