GHCJS is a Haskell to JavaScript compiler using the GHC API.
GHCJS is a Haskell to JavaScript compiler using the GHC API that supports many modern Haskell features, including:
- All type system extensions supported by GHC
- Lightweight preemptive threading with blackholes, MVar, STM, asynchronous exceptions
- Weak references, CAF deallocation, StableName, StablePtr
- Unboxed arrays, emulated pointers
- Integer support through JSBN
- Cabal support, GHCJS has its own package database