[antlr-interest] Can one identify the type of parser needed for a given BNF grammar

The Researcher researcher0x00 at gmail.com
Tue Jul 12 07:30:28 PDT 2011


FYI

The following info should be in a Wiki topic for parsing C++ with ANTLR, but
I am putting it here for others quietly following this thread.

One of the major problems with parsing C++ is the ambiguities.

A more through listing of the ambiguities of C++ can be found in appendix
F.2 of
"Meta-Compilation for C++" by Edward D. Willink
http://www.computing.surrey.ac.uk/research/dsrg/fog/FogThesis.pdf

The resolution sections are pertinent to the thesis but can be ignored for
just a listing of the ambiguities.

Eric


More information about the antlr-interest mailing list