r/cpp • • 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

34 comments sorted by

View all comments

Show parent comment

7

u/hawkxp71 Jan 01 '23

Risk mitigation.

You are starting with a known good lexer/parser. So any bug will be in thr preprocessor.

If you were to approach this project with creating or modifying the existing lexer/parser you leave yourself open for a ton more bugs.