3 ms·
The author tries to compare the preprocessor with programming languages, however he seems to forget that the processor is, above all, not a language! There is n
by coliveira 6y ago
The author tries to compare the preprocessor with programming languages, however he seems to forget that the processor is, above all, not a language! There is no parse tree for a preprocessor, since it is just putting text strings together, with little regard for the resulting syntax. That's why it is stupid to try to use the Cpp as a programming language, it won't work. Think of it as a text replacement engine, like an integrated sed, for example.
- raverbashing 6y agoAhem https://www.ioccc.org/years.html#2001_herrmann1 https://www.ioccc.org/years.html#2001_herrmann1
- tgv 6y agoNext you'll be telling me that PHP isn't a programming language.
- WalterBright 6y ago> There is no parse tree for a preprocessor #if constant-expression new-line group-opt C99 6.10.1.2