Block Structure and Symbol Table OrganizationTopThe Function and Structure of a CompilerIntermediate Representations

Intermediate Representations

Now that we have an understanding of the basic phases of a compiler, we will discuss the types of data that flows between these phases. I will not attempt to describe every scheme for representing the intermediate results of the compilation process. I just want to show you one way to give you a concrete picture of what goes on. The organization I will outline corresponds closely to what will be used in the course project.

  1. Source Code.

  2. Tokens

  3. The Symbol Table

  4. Syntax Trees

  5. Semantic Information

Computer Science 434
Department of Computer Science
Williams College

Block Structure and Symbol Table OrganizationTopThe Function and Structure of a CompilerIntermediate Representations