An Introduction to Compilers
by Dirk Vermeir
Publisher: Vrije Universiteit Brussel 2009
Number of pages: 191
Contents: Introduction; Lexical analysis; Parsing; Checking static semantics; Intermediate code generation; Optimization of intermediate code; Code generation; A Short Introduction to x86 Assembler Programming under Linux; Mc: the Micro-x86 Compiler; Minic parser and type checker; etc.
Home page url
Download or read it online for free here:
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.
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 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.