Compilers

  • Design and Construction of Compilers, Leonidas Fegaras.

    A compiler is a program that translates a source program written in some high-level programming language (such as Java) into machine code for some computer architecture (such as the Intel Pentium architecture). The generated machine code can be later executed many times against different data each time...
    Contents (89 pages)
    1 Introduction
    2 Lexical Analysis
    3 Parsing 1
    4 Abstract Syntax
    5 Semantic Actions
    6 Semantic Analysis
    7 Activation Records
    8 Intermediate Code
    9 Basic Blocks and Traces
    10 Instruction Selection
    11 Liveness Analysis
    12 Register Allocation
    13 Garbage Collection