-
Notifications
You must be signed in to change notification settings - Fork 157
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
Lua cartridge support #97
Comments
Compile tools will still required, or you will need has CLI You should store LUA source because there are not IO in API. Anyway you cannot compile Lua onto 64kb with 64 ram limit:)), because i not seen wasm with luavm less that 200kb Conclusion: And already exists a pico8 and similar consoles with string representation of source. Why this needed? |
The main highlight of wasm4 is WebAssembly. Even the name reflects this. If you add Lua, everyone will firmly associate this project with another pico8 clone IMO |
That's the idea, to allow injecting Lua source into a prebuilt Anyways, this would probably be a pain to implement. I'm not planning on it unless there's enough demand. |
Supplanted by #204 |
Would this be useful for anyone? Lua seems to be the lingua franca of fantasy consoles, so it might help drive adoption?
Implementation-wise it would be a little different since it's interpreted. We could provide a prebuilt cart.wasm written in C containing the Lua runtime. The *.lua files would then be injected into this cart.wasm somehow to produce the final cart.
The nice thing about this approach is that Lua carts would require no compiler toolchain to setup.
The text was updated successfully, but these errors were encountered: