a tiny, performant, wasm-ready virtual machine in rust
- whitespace
- malbolge
- brainfuck
- whatever other language we want to create a frontend for
the library crate is available both as a standard crate spacey as well as a bundled wasm package on npm under node-spacey.
make sure you have rust and the rust package manager cargo
installed on your system. if not, the easiest way to do so is to install rust via rustup.rs.
then, clone the repository and build natively as follows:
git clone https://github.com/D3PSI/spacey.git
cd spacey
cargo build --release
to build for wasm, simply install wasm-pack and execute:
wasm-pack build
to run the provided executable run:
cargo run --release -q -- -h
to show the help screen.
execute whitespace-files like:
cargo run --release -q -- -f ws/hello_world.ws -t whitespace