/register-vm.rs

A register-based virtual machine implemented in Rust.

Primary LanguageRust

register-vm.rs

This is just a toy bytecode virtual machine utilizing a register-based (rather than stack-based) architecture, written in Rust.

Installation

To execute the test cases, clone the repo and run.

cargo test

Running bytecode from a file is possible, however there is yet no compiler for ease of writing these programs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT