Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
i looked into that recently, and i found that GHCJS did compile the foreign import ccall into something but not quite emscripten-compatible. Another tool handled that though.
There are a bunch of open branches. And yes, there is ghcjs support in haskell.nix, see this comment.
There are a bunch of open branches. And yes, there is ghcjs support in haskell.nix, see this comment.
Why didn't you mention GHC-WPC? It is also a backend sample. It exports enough information (STG + linker opts + c bits) to interpret the program or to generate a binary executable via the regular GHC codegen system. https://github.com/grin-compiler/ghc-whole-program-compiler-project