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.
-
binaryen
Discontinued DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc
I'd like to get pandoc into the browser. I've done some emscripten work (C++ to browser) but know nothing about compiling Haskell to the wasm+js. This could be a contract gig, the goal is an open source repo with the same license as Pandoc that can do a build of Pandoc for the browser that can run lua filters. What I'm worried about is getting emscripten to compile the C code (including the lua vm), getting Asterius or ghcjs to compile the Haskell, and getting these linked up somehow.
https://github.com/y-taka-23/wasm-pandoc (works, but no lua filters)
https://github.com/tweag/asterius/issues/851 (asterius has a demo, but no source, and I -assume no lua filter support)
ghcjs does support C FFI, and I know of this very rough prototype that helps with the gap between ghcjs C FFI expectations and emscripten output