 |
Lex & Yacc, 2nd Edition Customer Reviews: 2 Average Customer Rating:      Write a Review and tell the world about this title! People who purchase this book frequently purchase: - Design Patterns: Elements of Reusable Object-Oriented Software; Erich Gamma, et al, $41.95, 30% Off!
- Sed & Awk, 2nd Edition; Dale Dougherty, et al, $21.95, 37% Off!
- Effective awk Programming, 3rd Edition; Arnold Robbins, $24.95, 38% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
This book shows programmers how to use two UNIX utilities, lex and
yacc, in program development. lex and yacc are tools that help
programmers build compilers and interpreters, but they also have a
wider range of applications.
The second edition contains completely revised tutorial sections for
novice users and reference sections for advanced users. This edition
is twice the size of the first and has an expanded index.
The following material has been added:
- Each utility is explained in a chapter that covers basic usage and
simple, stand-alone applications
- How to implement a full SQL grammar, with full sample code
- Major MS-DOS and UNIX versions of lex and yacc are explored in-depth,
including AT&T lex and yacc, Berkeley yacc, Berkeley/GNU Flex, GNU
Bison, MKS lex and yacc, and Abraxas PCYACC
Customer Reviews
Customer Reviews: 2 Average Customer Rating:      Aug 16, 2002     A review from Phoenix, Arizona, USA Not bad In general I found the book to be a useful "How-to" on basic Lex & YACC usage.
Some readers will dislike that, other than the Lex & YACC rule examples, the examples (glue code, etc.) are in C. However, that doesn't change the fact that Lex & YACC only know how to generate C code; therefore, the logical conclusion is that you must be able to write C code in order to use them.
While it would be nice if the sections about the menu generation language and the SQL parser had some information about how to do typechecking and such things, this book is NOT a "How to write a compiler/interpreter using Lex & YACC", but just a "Beginner's Guide to Lex & YACC".
The bits about shift/reduce and reduce/reduce conflicts are especially helpful, as are the sections going over the differences and "gotcha's" relating to the major versions of Lex & YACC (such as AT&T's Lex & YACC, GNU's Flex & Bison, and Berkely's YACC).
All in all, if you've never used Lex or YACC before, and know the C programming language, this is a handy book to have.
May 15, 2002     weak book this book presented examples only in c and dealt predominantly only with at&t's lex/yacc version (although it does shed some light on other versions).
save your money b/c this book does no better than online documentations.
|
 |