Re: WANTED: EBNF for C++

dweller@universe.digex.net (David Weller)
12 Mar 1998 23:17:20 -0500

          From comp.compilers

Related articles
WANTED: EBNF for C++ pdmill@gecms.com.au (Peter Milliken) (1998-03-06)
Re: WANTED: EBNF for C++ dweller@universe.digex.net (1998-03-12)
| List of all articles for this month |
From: dweller@universe.digex.net (David Weller)
Newsgroups: comp.compilers
Date: 12 Mar 1998 23:17:20 -0500
Organization: Express Access Online Communications, Greenbelt, MD USA
References: 98-03-053
Keywords: C++, parse

Peter Milliken <pdmill@gecms.com.au> wrote:
>Does anyone out there have an electronic copy of the EBNF for C++?


This might be a good starting point: John Lilley wrote a C++ grammar
for PCCTS. The PCCTS/ANTLR grammar is located at
  http://www.empathy.com/pccts


I should caution you that this grammar is somewhat "old". I have no
idea if there is an actual EBNF for ISO C++ (and I also caution you that
even if you do find one, "grammatically correct" is not equal to
"semantically correct" :-)
--


Post a followup to this message

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