mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
4ecd216796
commit
6ea53e44a4
@@ -1,9 +1,9 @@
|
|||||||
# JavaScript runtime using Web Assembly
|
# JavaScript runtime using Web Assembly
|
||||||
|
|
||||||
This folder contains very early work experimenting with a pure JavaScript runtime,
|
This folder contains very early work experimenting with a pure JavaScript runtime,
|
||||||
copiled to Web Assembly (WASM) using [Emscripten](https://emscripten.org/).
|
compiled to Web Assembly (WASM) using [Emscripten](https://emscripten.org/).
|
||||||
|
|
||||||
1. Compile the WASM files (inside Docker) using `build-wasm.js`, placing them in `.libs/`
|
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]`
|
2. Test in Node.js by running `node test-node.js [path to PGF]`
|
||||||
3. Test in a web browser
|
3. Test in a web browser
|
||||||
a. Start a server with `npx serve -l 41296`
|
a. Start a server with `npx serve -l 41296`
|
||||||
|
|||||||
Reference in New Issue
Block a user