wasm-e2e
wasm-e2e copied to clipboard
Temporary scaffolding for running WebAssembly end-to-end, from C++ to browsers.
@titzer committed the [V8 native prototype](https://github.com/WebAssembly/v8-native-prototype) to the upstream V8 repo, so wasm-e2e should use that instead.
$ scripts/run.py test/fizzbuzz.c /home/oszi/wasm/wasm-e2e/test/wasm.js:46: ReferenceError: _WASMEXP_ is not defined m = _WASMEXP_.instantiateModule(readbuffer(arguments[0]), ffi); ^ ReferenceError: _WASMEXP_ is not defined at /home/oszi/wasm/wasm-e2e/test/wasm.js:46:5
``` char hexit(int x) { return "0123456789abcdef"[x]; } ``` This generates output: ``` (func $hexit (param i32) (result i8) (local i32 i32 i32 i32) (set_local 1 (get_local 0)) (set_local 2...