Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
5410 commits behind the upstream repository.
  • Cheng Shao's avatar
    f85f3fdb
    utils: add JSFFI utility code · f85f3fdb
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    
    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
    utils: add JSFFI utility code
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    
    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>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.