3 ms·
Actually, C++ syntax is so complex that you cannot use parser generators to parse it as it's grammar is not context-free. There are even some informal proofs th
by dfox 11y ago
Actually, C++ syntax is so complex that you cannot use parser generators to parse it as it's grammar is not context-free. There are even some informal proofs that C++'s syntax is undecidable (as is Perl's and Common Lisp's, where it's obvious).
C++ semantics is completely another can of worms.