Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 1.15 KB

README.md

File metadata and controls

69 lines (43 loc) · 1.15 KB

CI

wai (WebAssembly interpreter)

A simple wasm interpreter

This is an ongoing project

DEMO

2021-06-27.10.23.18.mov

Install

Install via Homebrew

brew install k-nasa/tap/wai

Install via Cargo

cargo install --git https://github.com/k-nasa/wai.git wai

Usage

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>

TODO

Licence

MIT