Following the browser-side Rust support in #1027, I would like to add Haskell using GHC in the browser. I am preparing an implementation that runs the compiler and programs entirely client-side in a worker, with editor syntax support, a starter template, documentation, and tests.
The upstream demo successfully compiles and executes Haskell in Chrome. Its compressed compiler/library archive is approximately 49 MB. The initial integration uses the bundled libraries, exposes stdout/diagnostics to JavaScript, and does not support interactive stdin or installing Hackage packages.
This issue tracks the implementation and provides a place to discuss the runtime choice and integration.
Following the browser-side Rust support in #1027, I would like to add Haskell using GHC in the browser. I am preparing an implementation that runs the compiler and programs entirely client-side in a worker, with editor syntax support, a starter template, documentation, and tests.
The upstream demo successfully compiles and executes Haskell in Chrome. Its compressed compiler/library archive is approximately 49 MB. The initial integration uses the bundled libraries, exposes stdout/diagnostics to JavaScript, and does not support interactive stdin or installing Hackage packages.
This issue tracks the implementation and provides a place to discuss the runtime choice and integration.