Compilers and Compiler Generators
by P.D. Terry
Publisher: Rhodes University 1996
Number of pages: 427
Designed for computer science students studying for a second or final year course in compilers/programming language translation, this text manages to combine theory, practical applications and enough use of compiler writing tools to give students a solid introduction to the subject.
Download or read it online for free here:
by Niklaus Wirth, Jürg Gutknecht
Here are the results of Project Oberon, which goal was to design an entire system from scratch. It gives advice on how a system might be built, and demonstrates how one was built. Program listings alone contain the ultimate explanations.
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 Stephen Diehl - StephenDiehl.com
We will build a small functional language called Fun, complete with a parser, type inference, datatypes, pattern matching, desugaring, typeclasses, higher-kinded types, monadic IO, arbitrary-rank polymorphism, records, Core language, etc.
by Torben Mogensen - Lulu.com
The book written for use in an introductory compiler course. It is intended to convey the general picture without going into extreme detail. It should give the students an understanding of how compilers work and the ability to make simple compilers.