Skip to content

v1.0

Latest
Compare
Choose a tag to compare
@NeilBaner NeilBaner released this 16 Apr 10:49
c160b0c

Release for submission to CS4215 PL Implementation

To run:

  1. Ensure Rust is installed on your computer. Visit https://www.rust-lang.org/ to download it if you do not have it installed.
  2. Download the source code as a .zip and unzip the file.
  3. Open a terminal and change directory to the expanded directory.
  4. 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.
  5. 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.