3 ms·
This would be even more amazing if there was no dependency on `luac` to compile to Lua bytecode. I'm developing a web application with user-scriptable features,
by Twisol 13y ago
This would be even more amazing if there was no dependency on `luac` to compile to Lua bytecode. I'm developing a web application with user-scriptable features, and I'd love to use Lua (to provide a better user experience for my non-webdev audience), but the dependency on a server-side compilation step is a problem for my use-cases.
- paulcuth 13y agoThere is a Moonshine extension[1] that uses Yueliang[2] to compile offline in the browser, but it's quite slow. I'm hoping to speed it up a bit in the near future, with the futures I'm working on now. [1] https://github.com/gamesys/moonshine/tree/master/extensions/luac https://github.com/gamesys/moonshine/tree/master/extensions/... [2] http://yueliang.luaforge.net/ http://yueliang.luaforge.net/
- fit2rule 13y agoUse luac locally to compile the bytecode, then include it in your deployment to the server somewhere?
- Twisol 13y agoThe app front-end has user-scriptable features - I should have been more specific. My app has no back-end, and it is unacceptable to set up a back-end for the sole purpose of running luac on user scripts.