D3PSI / spacey

a tiny, wasm-ready virtual machine - stupidly fast

Home Page:https://docs.rs/spacey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacey

a tiny, performant, wasm-ready virtual machine in rust

supported and planned frontends:

  • whitespace
  • malbolge
  • brainfuck
  • whatever other language we want to create a frontend for

crates.io and npmjs.org

the library crate is available both as a standard crate spacey as well as a bundled wasm package on npm under node-spacey.

building and running

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

About

a tiny, wasm-ready virtual machine - stupidly fast

https://docs.rs/spacey

License:GNU General Public License v3.0


Languages

Language:Rust 68.1%Language:Witcher Script 31.9%