Skip to content
/ wai Public

a wasm interpreter written by rust

License

Notifications You must be signed in to change notification settings

k-nasa/wai

Repository files navigation

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 <htilcs1115@gmail.com>
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