Release for submission to CS4215 PL Implementation
To run:
- Ensure Rust is installed on your computer. Visit https://www.rust-lang.org/ to download it if you do not have it installed.
- Download the source code as a .zip and unzip the file.
- Open a terminal and change directory to the expanded directory.
- Run Dust with
cargo run
. You may specify the path of a Rust source file like this:cargo run -- /path/to/file
. If you do not specify a path, Dust will prompt you to enter one. - If you would like Dust to print out detailed debugging and information messages, type 'y' or 'Y' at the prompt and press enter. Otherwise, type anything else and press enter.
See the examples/
directory for example Rust files that Dust can run.
Important note: Dust does not support macros in this release. As a workaround, println()
has been implemented as a builtin function, similar to Python's print()
. See the examples to see how to use it.