This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: C++ grammar
- From: David Fang <fang at csl dot cornell dot edu>
- To: Gerald Iakobinyi Pich <nutrina9 at gmail dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 23 Aug 2006 11:05:18 -0400 (EDT)
- Subject: Re: C++ grammar
> Could somebody tell me if a specification of the GNU ANSI C++ grammar
> is somewhere available on the gcc site ?
Try:
http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11
which links to:
http://www.computing.surrey.ac.uk/research/dsrg/fog/CxxGrammar.y
A general web search will also turn up a few other candidates.
I haven't tested the standard conformance of the grammar yet, although it
punts some things until the semantic actions and checking. Maybe someone
else experienced with it can comment.
Fang