GNU Compiler Collection (GCC) Internals
Publisher: Free Software Foundation 2008
This manual is mainly a reference manual rather than a tutorial. It discusses how to contribute to GCC, the characteristics of the machines supported by GCC as hosts and targets, how GCC relates to the ABIs on such systems, and the characteristics of the languages for which GCC front ends are written. It then describes the GCC source tree structure and build system, some of the interfaces to GCC front ends, and how support for a target system is implemented in GCC.
Home page url
Download or read it online for free here:
by William M. Waite, Gerhard Goos - Springer
Our intent is to provide the reader with a firm theoretical basis for compiler construction and sound engineering principles for selecting alternate methods, implementing them, and integrating them into a reliable, economically viable product.
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 Aarne Ranta
This book follows a theory-based practical approach, where theoretical models serve as blueprint for actual coding. The reader is guided to build compilers and interpreters. The solutions are moreover portable to different implementation languages.
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.