A No-nonsense Tour through a C Compiler

Lulu Press, 2022 (2nd Ed.) – 460 pages – 37 figures – 6" x 9" format
All code from the book is in the public domain!

Order a PDF copy at
Order a paperback copy at
View the Table of Contents (PDF)
Read the Introduction (PDF)
Download the Sources
SubC Versions

Practical Compiler Construction is an advanced programming textbook and a compiler-writing primer. Some programming skills are required, but no prior knowledge in the field of compiler construction is necessary.

Study the heavily annotated source code of a full compiler for a subset of the C programming language generating code for the popular 386 processor. Learn about the practice of

Extend your theoretical background by learning about the foundations and applications of

Finally, have a look at more advanced compilation techniques such as

contact  |  privacy