Re: parsers for ambiguous grammars?

stachour@sctc.com (Paul Stachour)
Fri, 18 Feb 1994 20:59:40 GMT

          From comp.compilers

Related articles
parsers for ambiguous grammars? dekker@dutiws.twi.tudelft.nl (1994-02-16)
Re: parsers for ambiguous grammars? stachour@sctc.com (1994-02-18)
Re: parsers for ambiguous grammars? markjan@cs.kun.nl (1994-02-28)
| List of all articles for this month |
Newsgroups: comp.compilers
From: stachour@sctc.com (Paul Stachour)
Keywords: parse
Organization: SCTC
References: 94-02-099
Date: Fri, 18 Feb 1994 20:59:40 GMT

dekker@dutiws.twi.tudelft.nl (Rene Dekker) writes:
>I am looking for parsing techniques that can handle a highly ambiguous
>grammar and are able to generate partial parses.


Wilf LaLonde's LALR parser generator, which I used in the late 1970's, for
IBM's OS/MFT, was able to handle ambiguous grammars, such as those
naturally ocurring for languages such as PL/I. In these types of grammars,
one does not care which of the multiple paths the shift/reduce takes, or
even if the generated parser-code takes any of them arbitrarily; since the
set-of-actions is reasonable in any case.


I used this at the University of Walterloo (Ontario) Computer-Center. I
do not know if this package is still in use or not. Apologies if I
mis-spelled a name or name of the product. it's been 10+ years.


..Paul
--
Paul Stachour SCC, 2675 Long Lake Road
stachour@sctc.com Roseville, MN 55113
                                                          [1]-(612) 628-2782
--


Post a followup to this message

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