Re:Want to Write a Compiler? Just Read These Two Papers.
by pja on Friday August 26, 2011 @06:48AM
(#2928047)
C++ looks like it ought to be OK to parse, but turns out to be completely evil. (flamebait mode on) Bit like the rest of the language really. (flamebait apologia: I spend most of my time coding C++; sometimes I even enjoy it...)
[ Parent
| on HN ]
Re:Want to Write a Compiler? Just Read These Two Papers.
by WalterBright on Friday August 26, 2011 @02:50PM
(#2929491)
Just lexing C++ is a major project, because of the 'phases of translation', the preprocessor, the preprocessor tokens, etc., and then trying to make it fast.