C++ lexer (GCC 3.1.1) requires knowledge of other C dialects
Joe Buck
Joe.Buck@synopsys.com
Thu Aug 1 14:42:00 GMT 2002
> Although this is a bit of philosophical debate (regarding the merits of
> handbuilt vs. program-generated parsers), I'll point out that the ANTLR
> parser generator (http://www.antlr.org) generates LL(k) recursive descent
> parsers with additional features which include: [ many features ]
However, the ANTLR FAQ explains that you can't write a C++ parser in ANTLR
because of the complexities of the language. They recommend hand-written.
See http://www.jguru.com/faq/view.jsp?EID=531848
More information about the Gcc
mailing list