1
0
forked from GitHub/gf-core
Files
gf-core/src/runtime/javascript/README.md
John J. Camilleri 3a17a68da6 Update README.md
2022-08-31 16:42:41 +02:00

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.

  1. Compile the WASM files (inside Docker) using build-wasm.sh, placing them in .libs/
  2. Test in Node.js by running node test-node.js [path to PGF]
  3. Test in a web browser
    1. Start a server with npx serve -l 41296
    2. Browse to http://localhost:41296/test-web.html
    3. Check JavaScript console