|C++ Front End for S-S Translator? firstname.lastname@example.org (1997-01-25)|
|Re: C++ Front End for S-S Translator? email@example.com (John Lilley) (1997-01-26)|
|From:||John Lilley <firstname.lastname@example.org>|
|Date:||26 Jan 1997 22:43:43 -0500|
|Organization:||Nerds for Hire, Inc.|
|Keywords:||C, C++, translator|
David Greene wrote:
> I'm looking for a C (and eventually C++) front end...
> I've been working with the C++ grammar packaged with PCCTS (with the
> additions by John Lilley), but the symbol table provided does not
> carry much information ...
Hi David. I've been working on an update of the C++ parser. There is
still no AST generation, but there is now a lot of type, declaration,
and scope information in the symbol table. Function bodies are parsed
for syntax but mostly ignored, so perhaps this won't help you since it
sounds like you need ASTs for statements and expressions. Perhaps
there is more information in the symbol table than is reasonable, but
C++ requires that be available to the parser for template partial
specializations (or so I have concluded -- if anyone knows otherwise I
would love to hear about it). Anyway, if you are interested in the
updated work, drop me a line. My effort right now is directed towards
templates, and once that is at least limping along I'll "release" an
update to my web site.
Return to the
Search the comp.compilers archives again.