4 ms·
Another question about the syntax: Why are the curly braces also part of the syntax for operators? They are delimiters for the operands but also play some part
by Garlef 4y ago
Another question about the syntax: Why are the curly braces also part of the syntax for operators? They are delimiters for the operands but also play some part in the definition of operators? Is this solving some problem or did the author just like curlies?
- myco_logic 4y agoIf you're talking about the curly braces after the backtick in the syntax diagram for operators, I think that's just a way to escape those special characters so you can use them in operator names. It would be the same as escaping a double quotation mark in a string literal with a backslash, i.e: "\""
- Garlef 4y agoMerci. Thets also the explanation I came up with for myself. And I guess it allows for some trickery with unquoting.