3 ms·
I had already explained why one might want to do this: "Consider the problem of parsing a C program that has NOT been put through the preprocessor. You want to
by pfdietz 5y ago
I had already explained why one might want to do this:
"Consider the problem of parsing a C program that has NOT been put through the preprocessor. You want to be able to do this for structure editors and source-to-source transformation systems."
One cannot in general parse un-cpped C/C++. But that doesn't mean it's useless to do as well as one can, even if it cannot be parsed exactly. Parsing is for more than just compilers.