Related articles |
---|
object oriented implementations of rec. descent parsers hnkst2+@pitt.edu (1996-10-10) |
Re: object oriented implementations of rec. descent parsers scotts@metaware.com (Scott Stanchfield) (1996-10-12) |
Re: object oriented implementations of rec. descent parsers parrt@MageLang.com (Terence Parr) (1996-10-12) |
Re: object oriented implementations of rec. descent parsers wolff@inf.fu-berlin.de (1996-10-12) |
Re: object oriented implementations of rec. descent parsers anund@rebecca.nr.no (1996-10-15) |
Re: object oriented implementations of rec. descent parsers dlmoore@ix.netcom.com (David L Moore) (1996-10-15) |
Re: object oriented implementations of rec. descent parsers Hans.Walheim@Nexus.SE (Hans T Walheim) (1996-10-16) |
From: | Scott Stanchfield <scotts@metaware.com> |
Newsgroups: | comp.compilers |
Date: | 12 Oct 1996 22:12:29 -0400 |
Organization: | MetaWware, Inc |
References: | 96-10-033 |
Keywords: | parse, tools |
Look at PCCTS. It's a parser generator (ANTLR) that creates a
recursive-descent parser (readble, too) in which each rule is a method
in the parser's class.
If you define action code in terms of calls to other methods in the
class, you could subclass the parser, overriding the "action methods"
to perform different actions during the parse, such as compiling,
pretty-printing, and other types of analysis and if the sentence gets
any longer I'll burst!
Look at
http://www.igs.net/~mtr/
for some good pointers to PCCTS stuff.
Also look at newsgroup comp.compilers.tools.pccts.
-- Scott
Hanhwe N Kim wrote:
> I'm trying to find source code examples that implement recursive descent
> parsers in an object oriented language (C++ / smalltalk).
--
Scott Stanchfield
MetaWare Incorporated
Santa Cruz, CA
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.