The interpreter for Swpp 2024 class assembly programs written in Rust.
First, you need to install the rustup. This process will install rustc
and Cargo
.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Now you have several options.
-
cargo run --release -- [Assembly File path]
: run the interpreter directly. -
cargo build --release
: build the binary at./target/release/main
. -
cargo run --release --features="log" -- [Assembly File path]"
: run the interpreter with making simple log fileswpp-interpreter-basic.log
.