mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
517 B
517 B
JavaScript runtime using Web Assembly
This folder contains very early work experimenting with a pure JavaScript runtime, compiled to Web Assembly (WASM) using Emscripten.
- Compile the WASM files (inside Docker) using
build-wasm.sh, 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