Lex & Yacc

Front Cover
O'Reilly & Associates, 1992 - Computers - 366 pages

This book shows you how to use two Unix utilities,lexandyacc,in program development. These tools 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 oflexandyaccare explored in depth, including AT&Tlexandyacc, Berkeleyyacc, Berkeley/GNU Flex, GNU Bison, MKSlexandyacc, and Abraxas PCYACC

From inside the book

What people are saying - Write a review

LibraryThing Review

User Review  - wweisser - LibraryThing

Very helpful, lots of useful examples. Read full review

Contents

Grammars
13
Exercises
25
Using Lex
27
Copyright

41 other sections not shown

Other editions - View all

Common terms and phrases

About the author (1992)

Gregory Satir helps develop online publishing tools in the Portland, Oregon, office of Electronic Book Technologies. He graduated with a B.S. in computer science from Brown University. Doug Brown is a consultant/contractor in Beaverton, Oregon. He has been developing software for circuit simulation, synthesis, and testing since 1977. Doug coauthored lex & yacc, another O'Reilly & Associates Nutshell Handbook. He received an M.S. in electrical engineering from the University of Illinois at Urbana-Champaign in 1976.

John R. Levine writes, lectures, and consults on Unix and compiler topics. He moderates the online comp.compilers discussion group at Usenet. He worked on Unix versions Lotus 1-2-3 and the Norton Utilities and was one of the architects of AIX for the IBM RT PC. He received a Ph.D in computer science from Yale in 1984.

Tony Mason is currently a member of the AFS development team at Transarc Corporation, a small start-up company specializing in distributed systems software. Previously, he worked with the Distributed Systems Group at Stanford University in the area of distributed operating systems and data communications. He received a B.S. in mathematics from the University of Chicago in 1987.

Bibliographic information