home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!rutgers!faatcrl!iecc!compilers-sender
- From: goer@midway.uchicago.edu (Richard L. Goerwitz)
- Newsgroups: comp.compilers
- Subject: Re: LR(0) vs. LALR, and the Great Parsing War
- Keywords: parse
- Message-ID: <92-09-011@comp.compilers>
- Date: 31 Aug 92 17:20:54 GMT
- References: <92-08-179@comp.compilers>
- Sender: compilers-sender@iecc.cambridge.ma.us
- Reply-To: goer@midway.uchicago.edu (Richard L. Goerwitz)
- Organization: University of Chicago Computing Organizations
- Lines: 14
- Approved: compilers@iecc.cambridge.ma.us
-
- Jonathan Eifrig writes:
- > This seems quite surprising to me, given that Tomita's algorithm
- >basically has to spin off on the fly new parsing automatons to follow each
- >possible path in a derivation.
-
- Yes and no. If this were true, then Tomita's algorithm would have a cubic
- worst-case time factor. He uses a graph-structured parse forest, though,
- and claims polynomial time.
- --
- -Richard L. Goerwitz goer%midway@uchicago.bitnet
- goer@midway.uchicago.edu rutgers!oddjob!ellis!goer
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-