Random-access machine runner
A simple Rust RAM program runner.
- Lexer/Parser
- Program executor
- Code formatter
Web
Compiled to WASM to run in the browser. Features a simple textarea for code and UI for interacting with the program executor. Live at https://shilangyu.dev/ram-runner.
CLI
Once compiled run against a file containing RAM code and some initial registers. Output will show the final state of all non-empty registers. Example:
$ cargo build --release
$ ./target/release/ram rev.ram RX=1011100010101
RX: 1010100011101