Let's Build a Compiler
by Jack Crenshaw
Number of pages: 277
This fifteen-part series, written from 1988 to 1995, is a tutorial on the theory and practice of developing language parsers and compilers from scratch. Before you are finished, you will have covered every aspect of compiler construction, designed a new programming language, and built a working compiler. At the end of this series you will by no means be a computer scientist, nor will you know all the esoterics of compiler theory. The author intended to completely ignore the more theoretical aspects of the subject. What you will know is all the practical aspects that one needs to know to build a working system.
Download or read it online for free here:
- Free Software Foundation
This manual documents the internals of the GNU compilers, including how to port them to new targets and some information about how to write front ends for new languages. It corresponds to the compilers (GCC) version 4.4.0.
by Dirk Vermeir - Vrije Universiteit Brussel
Contents: Introduction; Lexical analysis; Parsing; Checking static semantics; Intermediate code generation; Optimization of intermediate code; Code generation; Introduction to x86 Assembler Programming under Linux; Mc: the Micro-x86 Compiler; etc.
by P.D. Terry - Rhodes University
Designed for computer science students studying for a second year course in compilers/programming language translation, this text manages to combine theory, applications and use of compiler writing tools to give a solid introduction to the subject.
by Dick Grune, Ceriel J. H. Jacobs - Ellis Horwood Ltd
This book treats parsing in great depth. It offers a clear and thorough discussion of different parsing techniques with their applications, including error recovery techniques. The text covers almost all parsing methods, not just the popular ones.