Compiler Construction using Flex and Bison
by Anthony A. Aaby
Publisher: Walla Walla College 2004
Number of pages: 102
Description:
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:
Download link
(380KB, PDF)
Similar books
![Book cover: Write You a Haskell: Building a modern functional compiler from first principles](images/10349.jpg)
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.
(7999 views)
![Book cover: Parsing Techniques: A Practical Guide](images/305.jpg)
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.
(17780 views)
![Book cover: An Introduction to Compilers](images/1136.jpg)
by Dirk Vermeir - Vrije Universiteit Brussel
Contents: Introduction; Lexical analysis; Parsing; Checking static semantics; Intermediate code generation; Optimization of intermediate code; Code generation; Introduction to x86 Assembler Programming under Linux; Mc: the Micro-x86 Compiler; etc.
(12594 views)
![Book cover: Compiler Design in C](images/10378.jpg)
by Allen I. Holub - Prentice-Hall
The approach is similar to that taken by Tanenbaum for operating systems in the C-language that implements all algorithms. The book presents the subject of Compiler Design in a way that's understandable to a programmer, rather than a mathematician.
(9747 views)