Cover of text Arch Picture

Compiler Construction

Principles and Practice

by Kenneth C. Louden

PWS Publishing Company, 1997 (now a part of Cengage Learning)

ISBN 0-534-93972-4

This text, currently in its ninth printing, is suitable for an undergraduate course in compiler construction or compiler design. It contains both a theoretical study of compilation techniques, together with many practical examples, written in the C language, and contains a complete compiler for a small language, together with a machine simulator (also written in C), that can be used to execute the generated code. There are individual chapters on top-down and bottom-up parsing, attribute analysis, runtime environments, and code generation. Detailed sections cover the Lex and Yacc tools for scanner and parser generation. There are many exercises, both of the paper-and-pencil variety and those that require substantial programming. An appendix contains complete listings for the sample compiler and machine simulator, as well as the description of a complete compiler-writing project for a subset of C.

If you would like a more detailed description of the book, please feel free to consult the

Ordering information may be obtained from the publisher or amazon.com.

The source code for the compiler used as an example in the text, together with the machine simulator, are available for downloading in both zipped and compressed tar format:

Errata lists available:

If you have found errors that are not in the current errata list, please email me a correction at . Thanks!


Home (Go to my Home Page)