rush-interpreter-vm

Crates.iorush-interpreter-vm
lib.rsrush-interpreter-vm
version0.1.2
sourcesrc
created_at2022-12-11 18:12:02.717075
updated_at2022-12-28 14:03:44.69905
descriptionA rush interpreter leveraging a micro-compiler alongside a VM for its runtime
homepage
repositoryhttps://github.com/rush-rs/rush.git
max_upload_size
id734441
size56,897
Mik Mueller (MikMuellerDev)

documentation

README

VM Interpreter Backend

A rush interpreter leveraging a micro-compiler alongside a VM for its runtime.

Running rush Code

  • 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

Debugging Output

  • 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
Commit count: 816

cargo fmt