forked from GitHub/gf-core
JavaScript runtime using Web Assembly
This folder contains very early work experimenting with a pure JavaScript runtime, copiled to Web Assembly (WASM) using Emscripten.
- Compile the WASM files (inside Docker) using
build-wasm.js, placing them in.libs/ - Test in Node.js by running
node test-node.js [path to PGF] - Test in a web browser
a. Start a server with
npx serve -l 41296b. Browse tohttp://localhost:41296/test-web.htmlc. Check JavaScript console