This is an old revision of the document!


CMPU-331 Compilers (Spring 2019)

Overview

UNDER DEVELOPMENT — UNDER DEVELOPMENT — UNDER DEVELOPMENT

  1. New, helper functions will be created which the semantic actions will use during code processing and generation.
  2. You must also make updates to some existing components.

Resources

Augmented Grammar

Semantic Actions Phase II

Sample Code

Sample .VAS files are available for you to test your code on, together with .TVI files for you to compare against.

Sample code for Phase III.

IMPORTANT NOTE

The address numbers in your code may differ from the ones in this sample code. This depends on the precise order in which they are generated. Of primary importance are the numbers for the alloc command, and that the address numbers refer to the correct symbols.

Requirements

Submission