js2lua
js2lua copied to clipboard
Javascript to Lua translator
``` module.js:471 throw err; ^ Error: Cannot find module 'esprima' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/zaoqi/文档/js2lua/translator/emitter.js:2:15) at Module._compile (module.js:570:32) at Object.Module._extensions..js...
using: latest luajit 2.1 from git translating: https://github.com/kripken/ammo.js/blob/master/builds/ammo.js I realize running bullet like this this is silly and all but I was curious to see how it would perform. I...
Replace `\` with `/`, ensure stdin/stdout work as expected, etc.
Integrate https://github.com/jviereck/regexp.js