Image of Jeremy Bennett

Home > Publications

Jeremy Bennett


Jeremy Bennett is author of a number of articles over the past 20 years. His most widely known publication is the standard textbook, Introduction to Compiling Techniques: A first course using ANSI C, LEX and YACC.

The second edition builds on the success of the original publication. It is intended for a first course in compiling techniques and presents the theory and the practical application of concepts in an up-to-date and authoritative manner. For this new edition, free alternatives to LEX and YACC are covered and canonical LR(1) and LALR(1) parser construction is explained. A new chapter introducing the techniques of global code optimization is also featured.

Adopting a simple and straightforward style, this book avoids excessive detail, making it ideal for undergraduates taking a first course in compiler techniques. This approach is also well suited to programmers in industry, who need a practical approach to the subject.

Key Features:

  • Tutorial examples using ANSI Standard C.
  • Use of LEX and YACC and their shareware equivalents, highlighting modern emphasis on compiler construction tools.
  • Listing and description of a compiler for a simple language, VSL, bringing the techniques presented in the book together in a complete system.
  • Compiler source available for download.
  • End of chapter practical programming problems, essay and revision-type questions.

Comments about the book or the compiler are welcome, and should be sent to the author at