mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
|
||
---|---|---|
.. | ||
c-platform | ||
rust-platform | ||
web-assembly-platform | ||
zig-platform | ||
README.md | ||
roc_loves_c.roc | ||
roc_loves_rust.roc | ||
roc_loves_web_assembly.roc | ||
roc_loves_zig.roc |
Platform switching
To run, cd
into this directory and run this in your terminal:
roc --build-host --suppress-build-host-warning roc_loves_c.roc
About these examples
They use a very simple platform which does nothing more than printing the string you give it.
If you want to start building your own platforms, these are some very simple example platforms to use as starting points.