|ANSI C++ Grammar and lex. email@example.com (1997-11-09)|
|From:||firstname.lastname@example.org ( Krishnan Nadadhur)|
|Date:||9 Nov 1997 12:05:10 -0500|
|Keywords:||C++, parse, question|
Where can I find the latest ANSI C++ grammar (BNF) and lex specification?
Could somebody give pointers to available yacc spec. grammar and lex spec
[People keep asking this. I don't know of anything newer than Roskind's
grammar that's mentioned in the FAQ. The grammar of C++ is so ambiguous
that it's nearly impossible to parse with standard yacc. There are some
modified versions that can back up and try alternatives that people have
written with C++ in mind. See the archives. -John]
Return to the
Search the comp.compilers archives again.