C++ grammar wanted

Varga "Gábor" <gvarga@xperts.hu>
7 May 1999 01:16:38 -0400

          From comp.compilers

Related articles
C++ grammar wanted gvarga@xperts.hu (VargaGábor) (1999-05-07)
Re: C++ grammar wanted b_thomas@ibm.net (Biju Thomas) (1999-05-07)
Re: C++ grammar wanted rsherry@home.com (Robert Sherry) (1999-05-09)
| List of all articles for this month |

From: Varga "Gábor" <gvarga@xperts.hu>
Newsgroups: comp.compilers,comp.lang.c++,comp.lang.c
Date: 7 May 1999 01:16:38 -0400
Organization: Xperts Software
Keywords: C++, parse, question, comment


I'm looking for a C++ grammar which contains the full C++ syntax
(including templates, exceptions and namespaces). The latest I could
find was a version of the Roskind grammar; this does not included the
above three (is there a newer one?).

An LALR (yacc) grammar would be fine; a recursive-descent one would even
be finer.

Thanks in advance,

Gabor Varga
[I don't know of any up-to-date standalone C++ parsers easily available.
You could try to extract the one from GCC, or buy the EDG parser. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.