From 9a7485aa1f458b47d839ca74695ff3f600e56d9c Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Mon, 12 Aug 2019 01:09:55 -0500 Subject: [PATCH] README update wasm MODE info. Also, update test count to be closer to 800. --- Makefile | 2 +- README.md | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3841fb58..1b369a2d 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ matlab_MODE = octave python_MODE = python # scheme (chibi, kawa, gauche, chicken, sagittarius, cyclone, foment) scheme_MODE = chibi -# wasmtime wasmer lucet wax node js wace_fooboot warpy wace_libc +# wasmtime wasmer lucet wax node warpy wace_libc wasm_MODE = wasmtime # Path to loccount for counting LOC stats diff --git a/README.md b/README.md index 242bbb38..1749c1ff 100644 --- a/README.md +++ b/README.md @@ -1065,8 +1065,10 @@ mono ./stepX_YYY.exe The WebAssembly implementation is written in [Wam](https://github.com/kanaka/wam) (WebAssembly Macro language) and runs under several different non-web embeddings (runtimes): -node, +[node](https://nodejs.org), [wasmtime](https://github.com/CraneStation/wasmtime), +[wasmer](https://wasmer.io), +[lucet](https://github.com/fastly/lucet), [wax](https://github.com/kanaka/wac), [wace](https://github.com/kanaka/wac), [warpy](https://github.com/kanaka/warpy). @@ -1079,9 +1081,15 @@ make wasm_MODE=node # wasmtime make wasm_MODE=wasmtime wasmtime --dir=./ --dir=../ --dir=/ ./stepX_YYY.wasm +# wasmer +make wasm_MODE=wasmer +wasmer run --dir=./ --dir=../ --dir=/ ./stepX_YYY.wasm +# lucet +make wasm_MODE=lucet +lucet-wasi --dir=./:./ --dir=../:../ --dir=/:/ ./stepX_YYY.so # wax make wasm_MODE=wax -wace ./stepX_YYY.wasm +wax ./stepX_YYY.wasm # wace make wasm_MODE=wace_libc wace ./stepX_YYY.wasm @@ -1113,7 +1121,7 @@ make help ### Functional tests -The are over 600 generic functional tests (for all implementations) +The are almost 800 generic functional tests (for all implementations) in the `tests/` directory. Each step has a corresponding test file containing tests specific to that step. The `runtest.py` test harness launches a Mal step implementation and then feeds the tests one at