Re: C++ parsing/parser generators

johnm@cory.EECS.Berkeley.EDU (John D. Mitchell)
Fri, 11 Nov 1994 05:35:43 GMT

          From comp.compilers

Related articles
C++ parsing/parser generators Lutz.Hamel@comlab.oxford.ac.uk (1994-11-10)
Re: C++ parsing/parser generators johnm@cory.EECS.Berkeley.EDU (1994-11-11)
| List of all articles for this month |

Newsgroups: comp.compilers
From: johnm@cory.EECS.Berkeley.EDU (John D. Mitchell)
Keywords: parse, C++, tools, PCCTS
Organization: University of California, Berkeley
References: 94-11-069
Date: Fri, 11 Nov 1994 05:35:43 GMT

<Lutz.Hamel@comlab.oxford.ac.uk> wrote:
[...C++ grammar that is actually useful?...]


The tool you're referring to is the Purdue Compiler Construction ToolSet
(PCCTS). It's parser generator, ANTLR, deals with 'predicated-LL(K)'
grammars. The feature you were referring to are 'syntactic predicates'.
They make dealing with certain nastinesses of C++ much better. The
'semantic predicates' are of a fair bit of use too. :-) Some nice folks at
NeXT are creating a combined C/Objective-C/C++ grammar/parser using ANTLR
and hopefully they will be able to release the grammar to the public.


The main FTP site for PCCTS is pub/pccts on everest.ee.umn.edu but I
believe there are some mirror sites carrying it as well. You might like to
hop over to comp.compilers.tools.pccts for more information.


Hope this helps,
John
--


Post a followup to this message

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