A simple wasm interpreter
This is an ongoing project
2021-06-27.10.23.18.mov
brew install k-nasa/tap/wai
cargo install --git https://github.com/k-nasa/wai.git wai
wai examples/add.wasm --invoke add -a 1 2
wai examples/fib.wasm --invoke fib -a 10
:) % wai -h
wai 0.2.0
k-nasa <[email protected]>
A simple wasm interpreter
USAGE:
wai [OPTIONS] <file-path> --invoke <invoke>
ARGS:
<file-path>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-a, --args <args>...
-i, --invoke <invoke>
- Pass the wasm testsuite
- Implement validator
- no_std
- Support WASI