Stream: contributing

Topic: All syntax in one file


view this post on Zulip Anton (Dec 12 2025 at 17:10):

I have created a single Roc file that should contain all Roc syntax currently implemented: https://github.com/roc-lang/roc/blob/main/test/fx/all_syntax_test.roc
Please add to it after you implemented a new syntax/feature.

view this post on Zulip Richard Feldman (Dec 13 2025 at 04:47):

should we have one for different module types? e.g. module header syntax differs between app vs platform modules

view this post on Zulip Fabian Schmalzried (Dec 13 2025 at 12:14):

I think where is missing?

view this post on Zulip Anton (Dec 15 2025 at 09:32):

Fabian Schmalzried said:

I think where is missing?

Thanks, I'll add that.

view this post on Zulip Astating (Dec 15 2025 at 10:27):

What about static dispatch and "arrow chaining" ? :p

There's a passing mention of static dispatch in a comment in the main function but no example of the -> operator.

view this post on Zulip Anton (Dec 15 2025 at 10:43):

Yeah no arrow chaining yet, I'll add it, thanks :)

view this post on Zulip Anton (Dec 15 2025 at 10:43):

This is the way to truly find all syntax, by announcing you have a file with all syntax :p


Last updated: Dec 21 2025 at 12:15 UTC