Original geschrieben von anda_skoa
Die benutzen generierte Lexer und Parser.
Oder schreiben einen kompletten Parser per Hand from Scratch
Siehe http://gcc.gnu.org/gcc-3.4/changes.html.
A hand-written recursive-descent C++ parser has replaced the YACC-derived C++ parser from previous GCC releases. The new parser contains much improved infrastructure needed for better parsing of C++ source codes, handling of extensions, and clean separation (where possible) between proper semantics analysis and parsing. The new parser fixes many bugs that were found in the old parser.