-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate MoonScript with LuaJIT? #400
Comments
Howl does this, it can compile MoonScript either ahead of time (for built-in files) or at runtime (for user added bundles). I think most of the relevant code is in init.lua. |
spook does this as well. Spook, when compiled, becomes a single executable capable of running either lua or moonscript directly which sounds like what you're after. |
Precisely what I was looking for. Thanks for the links, guys. I was looking for a solution in C++, but I get what you're doing in Lua and it's pretty clever. |
Closing this then. Not that this issue is a problem, but if you'd like to chat with other moonscript users we have a discord: https://discord.gg/Y75ZXrD |
I have a very small project that uses LuaJIT along with my C++ application for scripting. I would love to integrate MoonScript directly with it, so I don't need any pre-compilation step and LuaJIT just parses MoonScript files as if they were Lua files. Is there anyway of doing this, or is the CLI tool and compilation step absolutely necessary?
The text was updated successfully, but these errors were encountered: