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:
The goal of this book is to have a community documentation providing extensive and up-to-date instructional information about how to use the open-source ROSE compiler framework, developed at Lawrence Livermore National Laboratory.
by S. Arbayo
This is a very hands-on approach to crafting a compiler and it does not follow any pre-defined set of rules. It is the author's intent to take some of the mystery out of what goes into making a working scripting engine - compiler.
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.
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.