johnl@ima.UUCP (07/31/87)
> I tried using Algorithm 4.1 on page 177 of the new Dragon book but > it didn't work. I remember using the algorithm [in the old Dragon book] > and it worked. In the old book the alorithm reads: > > 1. Arrange the nonterminals....... > 2. for i := 1 to n do > *begin* > for j := 1 to i-1 do > replace... > ... > eliminate the immediate... > end The old version is right. Sorry, the "begin" was misplaced when the text was keyed in for the new book. We'll fix it in the next printing. Thanks. Ravi Sethi AT&T Bell Laboratories Murray Hill, New Jersey 07974 -- Send compilers articles to ima!compilers or, in a pinch, to Levine@YALE.ARPA Plausible paths are { ihnp4 | decvax | cbosgd | harvard | yale | cca}!ima Please send responses to the originator of the message -- I cannot forward mail accidentally sent back to compilers. Meta-mail to ima!compilers-request