|bug in Alg. 4.1 in the new Dragon book ihnp4!coma!ravi (1987-07-31)|
|Date:||Fri, 31 Jul 87 01:09:39 EDT|
> 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
> for j := 1 to i-1 do
> eliminate the immediate...
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.
AT&T Bell Laboratories
Murray Hill, New Jersey 07974
Return to the
Search the comp.compilers archives again.