Haskell to JavaScript compiler, based on GHC
Browse cluster: Haskell tooling and libraries →GHCJS is a Haskell to JavaScript compiler built on the GHC API. It includes a library and executable programs that generate JavaScript code from Haskell source, along with a customized variant of the ghc library. The project requires GHC, cabal-install 3.0, and the emscripten emsdk toolchain; it uses Node.js and various JavaScript libraries including Closure Library, Harmony Collections shims, and setImmediate polyfills for cross-browser compatibility. Development involves building the compiler with cabal or stack, then running ghcjs-boot to compile the boot libraries before the compiler can be used to build regular Haskell programs.