lex and yacc
John R. Levine, Tony Mason, Doug BrownThe second edition provides lex & yacc reference sections that cover significant topics in greater detail. There is full coverage of all major MS-DOS and UNIX versions of lex and yacc, including AT&T lex and yacc, Berkeley yacc, Berkeley/Gnu flex, Gnu bison, MKS Lex and Yacc, and Abraxas PCYACC.
"Well done! I've finished reading the second edition of lex & yacc... All in all you've done a great job--the book is much stronger than the first edition, well-written and thorough. I had the pleasant surprise numerous times of reading some passage, thinking to myself "Oh, they've missed this perhaps minor subtle point, make a note," and then the next sentence or paragraph would cover exactly that point.
[John Levine] has done a great job of strengthening the book. I'm glad I'll finally have a good book to recommend to folks. --Vern Paxson, developer of flex