1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-16 09:10:48 +03:00

README update wasm MODE info.

Also, update test count to be closer to 800.
This commit is contained in:
Joel Martin 2019-08-12 01:09:55 -05:00
parent 1e9eb423e8
commit 9a7485aa1f
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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