This Paperback Book was reviewed on 11-Dec-2008.
Search ISBN:B00007FYCY offer from Abebooks or used books from Alibris. Lex & Yacc Reference Book. Classifications : General Computers & Internet Bargain Books Custom Stores Specialty Stores Books Programming Computers & Internet Bargain Books Custom Stores Specialty Stores Books General AAS Computers & Internet Bar . Click the following link to view the cover of Lex & Yacc. Related topics: General. Bargain Books. Custom Stores. Specialty Stores. Books. Programming. Bargain Books. Custom Stores. Specialty Stores. Books. requestid: a8d3fd72-213a-41b7-bdb1-53976aae9911 requestprocessingtime: 0.1888680000000000 salesrank: 1599214 edition: 2Nd/update numberofitems: 1
1) Paperback Book Lex & Yacc by . This item is a definite must for coursework dealing with scanning and parsing. I thought that I would be fine if I just relied on web sources to assist me in Lex assignments, but as a deadline approached and I still had no results I turned to this book. The content is clear, concise, and absolutely fantastic. If you want to know how to work with Lex and Yacc, this is the book you need.¤ 2) Paperback Book Lex & Yacc by . I like this book because it is a good compromise between lex & yacc man pages and the theory found in books such as the Dragon book. You will get valuable information about the how and why of the tools that will help you to produce a quality grammar without being overwhelmed by details.
¤ 3) Paperback Book Lex & Yacc by . To me a great book flows into your mind, magically providing the information in the order you need it. Of course it depends on whose reading it, but this book, though well worth the 96 cents bargain bin price I paid for it, does not build the constructs in my head the way I´d like.
Authors should always proofread their books with novices, not the experts. Experts fill in the gaps as they read and don´t notice if the logic is missing a link. In chap 2, "Using Lex", there is the sentence: "Lex itself doesn´t produce an executable program; instead it translates the lex specification into a file containing a C routine called yylex(). Your program calls yylex() to run the lexer."
I waited with baited breath for what it means to "run the lexer". Does it return a token each time you call it? Does it analyze all the input then return? The text ignores this detail and merrily goes on into other details. The chapter is called "Using Lex", but the authors omit how you use it! Of course you can scrounge around in the examples and finally root it out, but a book should paint a crystal clear picture, get you oriented, then drop in the details to build your understanding.
The book looks so promising, sort of like the beauty of the original "The C Programming Language" by Kernighan and Ritchie, but disappoints in it´s fragmented exposition.
I did take a compiler course with the "dragon book" years ago and write a parser, so I´m not totally in the dark, but I expected this book to lay the subject out in a much clearer way. But it is still a good book to have and read "offline".
I hope the authors take a crack at another edition and explain it all better.¤ 4) Paperback Book Lex & Yacc by . Yacc (yet another compiler compiler) and its companion lex (lexical analyzer) are primarily intended to allow quick and easy development of small special-purpose languages. The common mistake is assuming that they are only useful for creating compilers for massively complex eccentric languages. This is not the case, though you could no doubt use them for such a purpose.
Lex and Yacc are commonly used together. Yacc uses a formal grammar to parse an input stream, something which lex cannot do using simple regular expressions since lex is limited to simple finite state automata. However, yacc cannot read from a simple input stream - it requires a series of tokens. Lex is often used to provide yacc with these tokens. As a result, building an application in lex and yacc is often used as an exercise in classes on programming languages and the theory of computation to demonstrate key concepts.
The book starts out building a simple character-driven calculator, and then moves on to build a menu generation language that produces C code that uses the standard "curses" library to draw menus on the screen. The final application is a SQL parser which includes a quick overview of both relational databases and SQL. Some readers will dislike the fact that Lex and Yacc are only capable of generating C code. Thus, the logical conclusion is that you must be able to write C code in order to use these tools. 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 other such things, this book is not about writing a compiler/interpreter using Lex & Yacc. Rather it is just a beginner´s guide.
The sections about shift/reduce and reduce/reduce conflicts are especially helpful, as are the sections going over the differences and caveats relating to the major versions of lex and yacc such as AT&T´s Lex & YACC, GNU´s Flex & Bison, and Berkeley´s Yacc. In summary, if you´ve never used lex or yacc before and think they might be useful tools for you, and you already know the C programming language, this is a handy book to have.¤ 5) Paperback Book Lex & Yacc by . This book is a little out-dated. That is fine, though - this book goes over all the essential proponents of Lex and Yacc and Bison and FLEX and all the other variations ... which you will certainly know a lot more about by the end of this book. This books enabled me to read FLEX input from a c-string, which has played a role in a few of my projects. It is great when you just need a quick reminder of the syntax is the tools. This book does not go over how the programs work, which is a good thing, because that would make the book more oriented towards Finite Autonoma and Context Sensive Languages - leave that sort of thing to autonoma theory and compiler design. This is an excellent reference, so buy it if you really need it.¤ 6) Paperback Book Lex & Yacc by . This book shows you how to use two Unix utilities, lex andyacc, in program development. These tools help programmers build compilers and interpreters, but they also have a wider range of applications. You´ll find tutorial sections for novice users, reference sections for advanced users, and a detailed index. Each utility is explained in a chapter that covers basic usage and simple, stand-alone applications. You´ll learn 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. Also covers Bison and Flex.¤ Page Updated: Robert N. Goolsby, 8-Jan-2009, , 2X0-370-110-240-240-551-CYB-IJB-8  Lex & Yacc, Book, Image ©
|