booleancoercion / rchef

A Chef interpreter written in Rust.
MIT License
8 stars 3 forks source link

rchef: A Chef interpreter written in Rust.

The interpreter will almost exactly match Chef, but I might add a few of my own features, and some cases which cause ambiguity will be disallowed (instead of unspecified).

Usage

Since this crate isn't published, you'll have to build it from source. Fortunately, that's very easy with Rust:

$ git clone https://github.com/booleancoercion/rchef
$ cd rchef
$ cargo run --release -- <rchef options>

rchef expects to be called in the following way:

$ rchef [-s | --spaced] <filename>

The -s/--spaced options are equivalent, and will run your program in spaced mode. This mode will print numbers (dry or ambiguous ingredients) separated by spaces from other characters for easy reading.

Differences