mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 18:08:55 +03:00
652 B
652 B
- Install Rust
- Build roc from source
- Run examples with:
# Rust cargo run examples/hello-world/rust-platform/helloRust.roc # Zig cargo run examples/hello-world/zig-platform/helloZig.roc # C cargo run examples/hello-world/c-platform/helloC.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.