I love this.
Besides making a Wasm module at runtime, can this be used to output WAT text format, or Wasm binary?
I'm working on a Wasm compiler in TypeScript to compile TS to Wasm and native (not revealed yet, but will be open source). The Binaryen.js typed interface is pretty bad: parameters and return types are all just number, so we can't really learn anything from it (f.e. with intellisense in VS Code).
I love this.
Besides making a Wasm module at runtime, can this be used to output WAT text format, or Wasm binary?
I'm working on a Wasm compiler in TypeScript to compile TS to Wasm and native (not revealed yet, but will be open source). The Binaryen.js typed interface is pretty bad: parameters and return types are all just
number, so we can't really learn anything from it (f.e. with intellisense in VS Code).