External Publication
Visit Post

MicroHs in the browser

Haskell Community [Unofficial] May 8, 2026
Source

You can now run interactive mhs in your browser. Try it!

It currently only has the base package included, but it is trivial to make a version that has arbitrary packages (well, those that mhs can compile) embedded in the system.

The site consist of a small index.html (4K) and a rather hefty mhs-embed.js (2.3M). The latter contains the compiler, runtime system, and base package. It is built by emscripten to compile the C code to JS and Wasm.

Currently, you cannot access the local file system. So you cannot load or save files. That makes it rather useless. I will happily accept contributions that add file system access.

Discussion in the ATmosphere

Loading comments...