From 6ea53e44a4d2a83d5940097d575f4a019d7016dd Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Wed, 31 Aug 2022 16:41:59 +0200 Subject: [PATCH] Update README.md --- src/runtime/javascript/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/javascript/README.md b/src/runtime/javascript/README.md index efea0fd5b..1dd33c0fa 100644 --- a/src/runtime/javascript/README.md +++ b/src/runtime/javascript/README.md @@ -1,9 +1,9 @@ # JavaScript runtime using Web Assembly 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]` 3. Test in a web browser a. Start a server with `npx serve -l 41296`