Hacker News new | ask | show | jobs
by caim 335 days ago
Just parsing C++ is already a freaking hell.

It's no wonder that every other day a new mini C compiler drops in, while no one even attempts to parse C++.

1 comments

There is one pretty serious C++ parser project: https://github.com/robertoraggi/cplusplus
Wow, thanks! I didn't know this project.

To parse C++ you need to perform typecheck and name resolution at the same time. And C++ is pretty complex so it's not a easy task.