Re: MS DOS port of Berkeley Yacc...

pjj@cs.man.ac.uk (Pete Jinks)
Tue, 16 Aug 1994 14:54:09 GMT

          From comp.compilers

Related articles
MS DOS port of Berkeley Yacc... treynold@husc3.harvard.edu (1994-08-06)
Re: MS DOS port of Berkeley Yacc... patrick_d_logan@ccm.jf.intel.com (1994-08-08)
Re: MS DOS port of Berkeley Yacc... kbreinho@Novell.COM (1994-08-08)
Re: MS DOS port of Berkeley Yacc... pjj@cs.man.ac.uk (1994-08-16)
| List of all articles for this month |
Newsgroups: comp.compilers
From: pjj@cs.man.ac.uk (Pete Jinks)
Keywords: yacc, MSDOS, comment
Organization: Dept of Computer Science, University of Manchester, U.K.
References: 94-08-062 94-08-070
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]
--


Post a followup to this message

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