An Intermediate Form for JACCL Programs

This document describes the intermediate representation that your compilers will use for JACCL programs. The scheme we will use is based on the idea of syntax trees. Therefore, much of this document will be concerned with the structure of trees for JACCL programs. Syntax trees typically include some pointers into the compiler's symbol table. Accordingly, this document also includes a partial specification of a symbol table organization for a JACCL compiler. In fact, since the syntax trees depend upon the symbol table, we will begin with a summary of the organization of the symbol table.

  • Symbol Table Organization Overview
  • Syntax Tree Organization
  • Symbol Table Details
  • Footnotes

  • Computer Science 434
    Department of Computer Science
    Williams College