Topic: Q: C++ grammar and tool


Author: parrt@lonewolf.parr-research.com (Terence John Parr)
Date: 1995/09/28
Raw View
On 09/27/95, Norbert EBEL wrote:

> The only other approach I know of id PCCTS which seem much better and more
> understandable. For that tool I am not sure that there exists a good C++
> grammar.

Howdy.  The C++ grammar at

 ftp://ftp.parr-research.com/pub/pccts/contrib/cplusplus.tar.gz

is a good way to start.  It has acceptable symbol table info (read
that "incorrect, but it works for most code"), but doesn't generate
trees or anything.  It has templates and exception stuff in it.

Terence
--
Send compilers articles to compilers@iecc.com,
meta-mail to compilers-request@iecc.com.