compiler construction using flex and bison
The guide by Anthony A. Aaby deals in
detail with compilation using Flex and Bison. Starting from some basic ideas
about the parser and scanner, it moves to an implementation of a simple
compiler. In its subtopics, it contains design of the parser, implementation of
the scanner, symbol table, and code generation. This document also handles
optimization techniques, virtual machines, and peephole optimization. It
provides practical advice on how to use Yacc or Bison, including debugging tips
and the different stages in developing a parser. As such, this is an
indispensable resource to someone looking to understand the hands-on aspects of
compiler construction using these very widely used tools.
Author(s): Anthony A. Aaby
102 Pages