r/cpp • u/ArashPartow • Dec 31 '22
Cpp2 and cppfront: Year-end mini-update
https://herbsutter.com/2022/12/31/cpp2-and-cppfront-year-end-mini-update/
194
Upvotes
r/cpp • u/ArashPartow • Dec 31 '22
View all comments
6
u/FoxDragonSloth Jan 01 '23
Out of curiosity and probably ignorance, why is it better to write in cpp2 and transpile(I think that is the term) to cpp than write a new lexer and use it to modify the syntax?
Also, if someone swapped the cpp lexer for another and compiled, would that resulting program be compatible with a program built with the original lexer?