utils: add JSFFI utility code
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:
amesgen <amesgen@amesgen.de>
utils/jsffi/post-link.mjs
0 → 100755
utils/jsffi/prelude.js
0 → 100644
utils/jsffi/test-runner.mjs
0 → 100755
Please register or sign in to comment