Write Tiny Lang. Run it in the browser.
The Rust parser and interpreter are compiled to WebAssembly, so programs execute locally in this page and print their output below.
program.tiny
Output
(waiting)
Build the browser runtime with
cargo build --lib --target wasm32-unknown-unknown --no-default-features --features wasm --release
and
wasm-bindgen --target web --out-dir web/pkg target/wasm32-unknown-unknown/release/tiny_lang.wasm.