7 ms·
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++.
by caim 1y 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++.
- fuhsnn 1y agoThere is one pretty serious C++ parser project: https://github.com/robertoraggi/cplusplus https://github.com/robertoraggi/cplusplus
- caim 1y agoWow, 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.