lox-vm is a byte code virtual machine for the Lox language, defined and implemented here by Bob Nystrom. This is my attempt at implementing the interpreter in Rust.
Once you have installed Rust, lox-vm can be installed using cargo
$ cargo install --git https://github.com/atsmtat/lox-vm.git --branch main
Binary is called loxi
$ loxi --help
lox-vm is written in Rust, so you need Rust installed in order to compile it. To build lox-vm
$ git clone https://github.com/atsmtat/lox-vm.git
$ cd lox-vm
$ cargo build
To enable disassembler, use
$ cargo build --features "disassemble"
To run tests
$ cargo test