Thanks again for all the bug reports and feedback for Cpp2 and cppfront! As I mentioned last weekend, I’ve started a wiki with “Design notes” about specific aspects of the design to answer why I’ve made them they way they currently are… basic rationale, alternatives considered, in a nutshell, as quick answers to common questions I encounter repeatedly.
This weekend I wrote up three more short design notes, the first of which is the writeup on “why postfix unary operators?” that I promised in my CppCon 2022 talk.
Design note: Postfix operators. Why are unary * and & postfix? What about ++? Why does the -> operator naturally disappear?
Design note: Postfix unary operators vs binary operators. What about examples like a**b?
Design note: Unambiguous parsing. How does Cpp2 parse things that seem ambiguous and/or challenging, like a
c,d>?
Published on October 10, 2022 21:31