mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-12 23:50:20 +03:00
599 B
599 B
- Install Rust
- Build roc from source
- Run examples with:
# Rust cargo run examples/hello-rust/Hello.roc # Zig cargo run examples/hello-zig/Hello.roc # C cargo run examples/hello-c/Hello.roc
- See here for the other examples.
Tip: when programming in roc, we recommend to execute ./roc check myproject/Foo.roc
before ./roc myproject/Foo.roc
or ./roc build myproject/Foo.roc
. ./roc check
can produce clear error messages in cases where building/running may panic.