koka icon indicating copy to clipboard operation
koka copied to clipboard

Web-based "playground"/JSFiddle experience

Open regular opened this issue 7 months ago • 5 comments

Are there plans or ongoing efforts to port the compiler/interpreter itself to WASM so it could be embedded on a web page? This would be a great feature to get into the language more quickly. It would make sure that examples in online tutorials are actually correct, and readers could run examples in the browser with a simple click on a "Run" button and tinker with the code.

Could GHC's wasm backend help here?

The final goal should be a compiler that runs in a wasm environment and that generates wasm code.

Any thoughts?

regular avatar Jul 18 '24 14:07 regular