Article View: gnu.misc.discuss
Article #2220Re: ANSI C++ Grammar
From: David Kastrup
Date: Fri, 04 Apr 1997 00:00
Date: Fri, 04 Apr 1997 00:00
24 lines
1647 bytes
1647 bytes
Akintunde Omitowoju <omit@washington.xtn.net> writes: > I wasn't sure who to ask, but my professor suggested trying here. > > I was wondering whether anyone knows of any place on the 'net that has a > freely available ANSI C++ compliant grammar. I would be needing the > grammar for my thesis work here at school. > > Could anyone please point me out to any information regarding this? You could just take the grammar from the g++ frontend of gcc. Be prepared to spill you stomach contents, though. C++ syntax was not really designed to be parseable in a sensible way, and the contortions to feed it to an LALR(1) parser (that correct, buddies?) are enough to make one cry. -- David Kastrup Phone: +49-234-700-5570 Email: dak@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209 Institut f�r Neuroinformatik, Universit�tsstr. 150, 44780 Bochum, Germany
Technical Details
Message-ID:
<m2hghntcmh.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<33445A6F.677C@washington.xtn.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 11318c,18f86539e8865314 X-Google-Attributes: gid11318c,public X-Google-Thread: 1025b4,18f86539e8865314 X-Google-Attributes: gid1025b4,public X-Google-Thread: 10ba33,18f86539e8865314 X-Google-Attributes: gid10ba33,public From: David Kastrup <dak@mailhost.neuroinformatik.ruhr-uni-bochum.de> Subject: Re: ANSI C++ Grammar Date: 1997/04/04 Message-ID: <m2hghntcmh.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de> X-Deja-AN: 230613406 References: <33445A6F.677C@washington.xtn.net> To: omit@washington.xtn.net Organization: Institut fuer Neuroinformatik, Ruhr-Universitaet Bochum, Germany Newsgroups: gnu.misc.discuss,gnu.g++.help,gnu.gcc.help