This is a JavaScript version of the Hugs interpreter for Haskell. It was compiled with Emscripten.

The demo is currently somewhat limited. First, the UI is annoying, as it pops up a modal dialog. Second, users must enter all function definitions before starting the interpreter (because Hugs only accepts expressions).

Instructions on how to build Hugs with Emscripten are available on GitHub.


Downloading...

Enter definitions and then press start to start the interpreter: