You can import a local directory into the in-memory file system used by MicroHs. It will keep in sync with changes made to the local directory (with a small delay).
You can import an entire source tree from GitHub.
There’s a simple graphics package, CanvHs, inspired by Gloss and Shine.
There are some demos. You’ll be told on startup how to run them.
A few utlity functions: ls, cd, cat
Comments welcome!
A warning to those allergic to clanker code, a lot of the new code was written by Gemini.
The blob that the browser has to fetch is about 3M. This includes the entire base package and canvhs. And the compiler and RTS, of course. It’s bigger than I’d like, but it’s acceptable.
(Sorry for the delay in replying.) Don’t worry about me and my cranky platforms. On the PC I have enough memory to run GHCi in the browser, or GHC .exe downloaded, or to build Hugs using Visual Studio. It’s Windows 8.1, so no hope of building MicroHS from source.
The browser is now getting the split screen edit pane. But still freezes loading canvhs. That’s with no other apps running than Chrome.
Merely, I’d hoped it might be more … micro. (How does GHCi manage to run in the browser?)