Lightweight Compiler Techniques
by Nils M Holm
Publisher: Lulu Press 2006
Number of pages: 262
Although compiler construction is a well-studied part of computer science, there are only few books that cover both theory and practical compiler crafting in-depth. This book is here to fill this niche. It explains compiler construction in simple terms and by means of practical examples, but without avoiding the fundamental theory. It does not stop where other books do, and takes you on a tour through the whole compilation process.
Download or read it online for free here:
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 Robert Nystrom - craftinginterpreters.com
This book contains everything you need to implement a full-featured, efficient scripting language. You'll learn both high-level concepts around parsing and semantics and gritty details like bytecode representation and garbage collection.
- 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.
The purpose of this book is to provide practical advice on writing a compiler, together with some examples of both compilers and interpreters, in order to break away from the concept that building compilers and interpreters are impossible tasks.