A rush interpreter leveraging a micro-compiler alongside a VM for its runtime.
- Prerequisite: A file ending in
.rush
which contains the program. - Execute the following command in order to run the program.
cargo run your-file.rush
- When debugging output is desired, following command is to be used.
- The
1
at the end specifies how many instructions per second are executed by the VM. - In this case, the VM will operate at its minimum speed.
- Hence, a larger value will result in faster program execution
cargo run your-file.rush debug 1