Roc
A fast, friendly, functional language.
⚠️ We are updating this website for the new compiler,
it may look like a work in progress until we are done.
You can still visit the website for the old compiler.
credits = songs.map(|song| "Performed by ${song.artist}"
)
Examples
In its current state, the new compiler is only suited for things like programming puzzles. In any case, the all syntax example offers a great overview of the language.
If you're willing to build from source, you can try out the migrate-zig-compiler-edits branch of the basic-cli platform. It supports reading from stdin and running commands like you would do in a bash script.
To get started with the language, try the tutorial!
Sponsors
We are very grateful for our corporate sponsors! They are Lambda Class, ohne-makler, and Martian.
If you would like your organization to become an official sponsor of Roc's development, please DM Richard Feldman on Zulip!
We'd also like to express our gratitude to our generous individual sponsors! A special thanks to those sponsoring $25/month or more:
- Anthony Bullard
- Peter Marreck
- Barry Moore
- Eric Andresen
- Jackson Lucky
- Agus Zubiaga
- Angelo Ceccato
- Niclas Overby
- Krzysztof G.
- Sam Mohr
- Steven Chen
- Drew Lazzeri
- Alex Binaei
- Jono Mallanyk
- Chris Packett
- James Birtles
- Ivo Balbaert
- Lucas Rosa
- Jonas Schell
- Christopher Dolan
- Nick Gravgaard
- Zeljko Nesic
- Shritesh Bhattarai
- Richard Feldman
- Ayaz Hafiz
Thank you all for your contributions! Roc would not be what it is without your generosity. 💜
We are currently trying to raise $4,000 USD/month in donations to fund one longtime Roc contributor to continue his work on Roc full-time. We are a small group trying to do big things, and every donation helps! You can donate using:
All donations go through the Roc Programming Language Foundation, a registered US 501(c)(3) nonprofit organization, which means these donations are tax-exempt in the US.