On Fri, Feb 11, 2011 at 3:24 PM, Adrian Olaru <[email protected]> wrote:
> I'm just wondering, why don't we have by now a Lua alternative to > JavaScript in the browsers? The same could be said about python or any scripting language. A lua interpreter was converted to js through Emscripten ( http://code.google.com/p/emscripten/ ), you can find that at http://syntensity.com/static/lua.html . And I don't think it's that hard to create a cross compiler like that specifically for it. Worst thing about Lua (I've only worked in v5 btw, so maybe that changed by now?) is the table offset starting at 1, instead of 0. It hurts the brain. Personally I prefer js over lua, regardless of the offset. (At some point a long time ago "we" adopted Lua as the scripting environment for game console emulators, allowing you to control the entire emulator from lua, which has some awesome appliances. Check youtube for "lua fceux" for examples.) - peter -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
