Compiler Construction using Flex and Bison
by Anthony A. Aaby
Publisher: Walla Walla College 2004
Number of pages: 102
This is a guide to compiler construction using compiler's compiler tools like Flex and Bison. Using both tools, you can focus on the concept of compiler without the hassle of building a compiler from scratch. Still, you are required to be fluent in C programming in order to use both tools and the generated C code should be compiled using a pure ANSI C compiler like GCC (GNU Compiler Collection).
Download or read it online for free here:
by Steve Hoxey, at al. - Warthman Associates
This book describes the code patterns that perform well on PowerPC processors. The book will be particularly helpful to compiler developers and application-code specialists who are already familiar with optimizing compiler technology.
by Richard Bornat - Middlesex University
This book attempts to explain and demystify the principles of compiler writing so that you can go out and build a working compiler of your own. There is enough detail in this book for you to build a compiler for quite a complicated language.
by Seth D. Bergmann - Rowan University
This is an introductory level text for compiler design courses, that emphasizes problem solving skills. The concepts are clearly presented with sampler problems and diagrams to illustrate the concepts. The text also covers lex and yacc.
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.