-
Notifications
You must be signed in to change notification settings - Fork 2
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
support html5 #4
Comments
Yes, definitely. We would need a js canvas/webgl (canvas for 2D, webgl for 3D) implementation for most of the lu5 bindings. We would also need a way of compiling to wasm. That might take a little more research on my side to be done right. |
Hi Again, I added basic WebAssembly support in the recent commits. I chose to compile the lu5 interpreter in wasm32-wasi with clang, and then write a JS polyfill in a separate repo. This will all be included in the next release, what's next? An online editor? |
It was awesome! Online editor is a cool idea, I'm working on one in my game engine, but I'm bad with frontend. But Microsoft's Monaco Editor is a good component that allows you to embed vscode in a web page. |
Support for browsers would be interesting, rendering via canvas and using webassembly.
The text was updated successfully, but these errors were encountered: