roc/cli
2020-03-06 18:24:37 -05:00
..
examples Update cli/examples 2020-03-06 18:24:37 -05:00
src rustfmt cli/ 2019-09-18 19:00:01 -04:00
Cargo.lock Update Cargo.lock 2019-06-22 10:17:11 -04:00
Cargo.toml Add basic CLI 2019-06-12 21:25:15 -04:00
README.md Add cli/README.md 2019-06-23 19:19:06 -04:00

Interpreter

Usage:

$ roc FILENAME.roc

When building from Rust source, use cargo run -- FILENAME.roc instead of roc FILENAME.roc.

For example, here's how to run the "EchoName" example this way:

$ cargo run -- examples/EchoName.roc