This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ lexer (GCC 3.1.1) requires knowledge of other C dialects


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]