-
Notifications
You must be signed in to change notification settings - Fork 365
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
Add Web REPL using Emscripten #177
Comments
Oops this wasn't supposed to close. We now have a change that allows us to build Repl with Emscripten. I'm going to take a look at integrating this change into the build process, and figure out how to best integrate it with the web site. The current top two contenders are:
|
Sounds good! Let me know what the end decision is. |
We've tested this lightly and it seems like it should be possible to just load the script from releases, e.g.
We could hardcode the tag to This leaves the build setup. The only issue with the action that was in the earlier PR was the reliance on a third-party emsdk setup action. Is it possible to simply clone emsdk repository and run install & activate manually? (and maybe use GHA cache to speed this up, although maybe it's already pretty fast?) |
Oh, I should say that I don't know OTOH if the setup above works with .wasm but Emscripten has an option to embed ,wasm into .js so I'm assuming we could use that, which would also make it easier for us as it's just a single file we need to upload with releases. |
Originally posted by @zeux in #120 (comment)
Create a demo page similar to Lua's on the doc site.
PR #138 closes this.
The text was updated successfully, but these errors were encountered: