sschwarzer
2021-11-9 10:36:27

Yes, the syntax looks pretty clean, and I like the use of indentation.


laurent.orseau
2021-11-9 10:40:27

The Eye of Racket?


badkins
2021-11-9 15:43:03

Just realized Jeff Atwood is a co-founder of Discourse - I had no idea.


gmauer
2021-11-9 15:43:31

Yup, he left SO to go do that - wanted to create something better than bbforums (which for all the hate discourse gets, I think it succeeded with)


chansey97
2021-11-9 19:10:35

Just a random idea of shrubbery notation: is it possible to add a comma at the end of last element of a list? For example, let (   x = 1,   y = 2,   // z = 3  ): x+y+z If I’d like to comment z=3, I have to deal with the ,. S-expression has no this problem: (let (   (x 1)   (y 2)   ;; (z 3)   ) x+y+z) Perhaps we could add a comma at the end of last element ? let (   x = 1,   y = 2,   z = 3,  ): x+y+z


sorawee
2021-11-9 19:11:53

Doesn’t it already support that?


sorawee
2021-11-9 19:12:51

let ( x = 1, y = 2, // z = 3, ): x+y+z is parsed to:

'(top (group let (parens (group x (op =) 1) (group y (op =) 2)) (block (group x (op +) y (op +) z))))


chansey97
2021-11-9 19:13:23

Does shrubbery already support it? That would be nice. (I just saw a few examples of rhombus, sorry.)


chansey97
2021-11-9 19:19:39

It already support in the Grouping by opener-closer pairs section of https://github.com/mflatt/rhombus-brainstorming/blob/shrubbery/shrubbery/0000-shrubbery.md // Allowed, but not standard (1, 2,) Ignore my idea above.


beyer.andrew
2021-11-10 04:52:17

and I think the “not standard” only applies to the single-line form like that, not to multiple lines like originally asked