Basics of Compiler Design
by Torben Mogensen
Publisher: Lulu.com 2007
Number of pages: 277
This book was written for use in the introductory compiler course at DIKU, the department of computer science at the University of Copenhagen, Denmark. It is intended to convey the general picture without going into extreme detail about such things as efficient implementation or the newest techniques. It should give the students an understanding of how compilers work and the ability to make simple (but not simplistic) compilers for simple languages. It will also lay a foundation that can be used for studying more advanced compilation techniques, as found e.g. in Advanced Compiler Design and Implementation.
Home page url
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.
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 Niklaus Wirth - Addison-Wesley Pub
This book has emerged from the author's lecture notes for an introductory course in compiler design at ETH Zürich. This book will try to explain why this subject is considered as important and relevant to computer science students in general.