Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
5557 commits behind the upstream repository.
Cheng Shao's avatar
Cheng Shao authored
This commit adds JavaScript util code to utils to support the wasm
backend's JSFFI functionality:

- jsffi/post-link.mjs, a post-linker to process the linked wasm module
  and emit a small complement JavaScript ESM module to be used with it
  at runtime
- jsffi/prelude.js, a tiny bit of prelude code as the JavaScript side
  of runtime logic
- jsffi/test-runner.mjs, run the jsffi test cases

Co-authored-by: default avataramesgen <amesgen@amesgen.de>
f85f3fdb
History