
Carbon, with Richard Smith
CppCast
00:00
C++ Syntax
Kerwin's syntax is notoriously hard to parse, and we want it to be something that's a lot simpler for someone to write their own powers before. We're taking an approach there of looking very hard at our grammar rules - making sure they are consistent and orthogonal. Another place where this shows up is in Coven's operators. In C++, there are and in a lot of languages, there's a strict hierarchy of reference precedence. If there's not a simple rule, then you need parentheses and the grammar requires you to have parentheses. You heard it here first.
Transcript
Play full episode