Related articles |
---|
[Q] Encapsulated parsers collins@cs.wm.edu (1998-11-24) |
Re: [Q] Encapsulated parsers jamz@my-dejanews.com (1998-11-30) |
Re: [Q] Encapsulated parsers cfc@world.std.com (Chris F Clark) (1998-11-30) |
Re: [Q] Encapsulated parsers martin.jourdan@directprovider.net (1998-11-30) |
Re: [Q] Encapsulated parsers collins@cs.wm.edu (1998-12-01) |
From: | collins@cs.wm.edu (Bob Collins) |
Newsgroups: | comp.compilers |
Date: | 1 Dec 1998 02:42:59 -0500 |
Organization: | Computer Science @ William & Mary |
References: | 98-11-122 98-11-124 |
Keywords: | parse |
collins@cs.wm.edu (Bob Collins) wrote:
> > Does anyone know of any research on what I call
> > encapsulated parsers, ...
jamz@my-dejanews.com wrote:
> Do you actually want to parse the data in different ways--meaning
> different grammars--or just want different actions to take place
> within the parse?
Right now I use different grammars to parse similar structures in very
different ways, and the grammars are highly ambiguous, requiring
runtime disambiguation. If I could figure out how to use a signle
grammar, I would. But your ANTLR 2 approach looks quite promising.
Thank you, I will investigate it further. (For those interested, this
work is related to using parsers as the engines for classical expert
systems, a concept that unites two children, parsers and expert
systems, of Post Production Systems.)
--
Bob Collins <mailto:collins@cs.wm.edu> <http://ratbert.cs.wm.edu>
Return to the
comp.compilers page.
Search the
comp.compilers archives again.