Hacker News new | ask | show | jobs
by manuletroll 4750 days ago
Does anyone know of a good "compile to js" lua implementation ?
1 comments

Thats actually difficult, eg Lua has coroutines, a function can be a hash table key and other incompatibilities. There are some but they are fairly limited by this. This is the main implementation https://github.com/mherkender/lua.js