[antlr-interest] Java Parser to analyze C++ language syntax
Andy Tripp
antlr at jazillian.com
Tue Mar 3 08:18:49 PST 2009
Kaleb Pederson wrote:
> In looking at LLVM a bit more closely, although both the FAQ and the
> features page mention full C++ support,
"full C++ support" - heh, that would be impossible ;)
Seems like pretty much any random sequence of characters would be
valid C++.
> One note on David Wigg's C++ grammar, it seemed well documented
> although, IIRC, it used a slightly patched version of ANTLR or its
> runtime which makes it a bit more difficult to use than would be
> typical.
IIRC, Wigg's C++ grammar chokes if you ever give it enough ugly C++
to chew on. As Terrence quips in his book "Back when C++ was almost parsable...".
Andy
>
> --Kaleb
>
More information about the antlr-interest
mailing list