|MS DOS port of Berkeley Yacc... email@example.com (1994-08-06)|
|Re: MS DOS port of Berkeley Yacc... firstname.lastname@example.org (1994-08-08)|
|Re: MS DOS port of Berkeley Yacc... kbreinho@Novell.COM (1994-08-08)|
|Re: MS DOS port of Berkeley Yacc... email@example.com (1994-08-16)|
|From:||firstname.lastname@example.org (Pete Jinks)|
|Keywords:||yacc, MSDOS, comment|
|Organization:||Dept of Computer Science, University of Manchester, U.K.|
|Date:||Tue, 16 Aug 1994 14:54:09 GMT|
Keith L. Breinholt <kbreinho@Novell.COM> wrote:
>>in O'Reilly's book "Lex and Yacc".
>I have noticed that some of the examples are just plain wrong, regardless of
>the version of lex or yacc. For instance their example of how order will
>change the output of your parse. Regardless of the suggested order the output
>remains the same, and the output is not what the book says it is.
I emailed John about this when I got my copy of the 2nd edition.
There are 2 consistent problems:
1) lines starting with a "." are lost. The only serious problem this causes
is with the example noted above.
2) The text was written for 8-character tabs and typeset for 6-character
tabs, which is a nuisance, but no worse once you realise.
Even with these (minor) problems, I think it is the best book about lex &
yacc I have seen.
[The lost dot lines are due to using troff to typeset and not being careful
enough when typesetting the examples. Oops. Someday I'll get around to
making an errata sheet. -John]
Return to the
Search the comp.compilers archives again.