{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiaj72dbdqjtvw6ebinudcjenz4nccii6zw6fzbfz3dbfsmftztel4",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mldsph6hyfb2"
},
"path": "/t/microhs-in-the-browser/14055#post_1",
"publishedAt": "2026-05-08T12:37:56.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"Try it!"
],
"textContent": "You can now run interactive `mhs` in your browser.\nTry it!\n\nIt 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.\n\nThe 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.\n\nCurrently, 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.",
"title": "MicroHs in the browser"
}