Cppfront : A new syntax for C++

ryuukk_ ryuukk.dev at gmail.com
Sat Sep 17 11:41:18 UTC 2022


On Saturday, 17 September 2022 at 11:08:37 UTC, Tejas wrote:
> https://github.com/hsutter/cppfront
>
> People working towards syntax improvements as well to C++ now, 
> which they believe will pave the way for semantic improvements 
> that break backwards compatibility with C++
>
> Taken from the repo:
>
>> **Important disclaimer**: This isn't about 'just a pretty 
>> syntax,' it's about fixing semantics. The unambiguous 
>> alternative syntax is just a means to an end, a gateway that 
>> lets us access a new open space beyond it — and sure, if we 
>> build a gate, then the gate ought to look nice too, so we 
>> build it with good boards and paint it nice colors. But the 
>> gate is the doorway, the portal, not the goal... the real 
>> payoff is gaining access to that new open space in C++ that's 
>> free of backward source compatibility constraints where we can 
>> (finally) fix semantics — order-independence, great defaults, 
>> regular composable semantic meanings — as we see fit.

That's great to hear, C++ is a giant and uncontrollable mess

Already looks better than Carbon

How funny: 
https://github.com/hsutter/cppfront#2021-is-as-and-pattern-matching

https://github.com/dlang/vision-document#other (in #other, 
unfortunately)



More information about the Digitalmars-d mailing list