calcit-lang / wasi-calcit

Running Calcit on WASI

Home Page:https://wapm.io/calcit/wasi-calcit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WASI Calcit

Calcit(0.7.0-a3) package on WASI, bundled Calcit-rs without watcher and injections.

Usage

wapm install calcit/wasi-calcit

wcr --dir=. # trys to run `compact.cirru`

wcr -e 'range 100' # eval mode

Develop

cargo build --target wasm32-wasi
wasmer run --mapdir examples/:examples/ target/wasm32-wasi/debug/wasi-calcit.wasm -- examples/compact.cirru

or:

cargo build --target wasm32-wasi --release
cp target/wasm32-wasi/release/wasi-calcit.wasm builds
wapm run wcr -e 'range 100'
wapm run wcr --dir=examples examples/compact.cirru
wapm run wcr --dir=./ examples/compact.cirru --emit-js

More...

Check out https://github.com/calcit-lang/calcit-wasm-play for browser version.

About

Running Calcit on WASI

https://wapm.io/calcit/wasi-calcit


Languages

Language:Rust 100.0%