CSE401 Assignment 5

Assigned: Monday 10/23/00

Readings (in the Dragon Book)
Read before the lecture on the specified day

10/25/00 Wednesday Sections 7.1-7.3
10/30/00 Friday Section 7.4

 

NOTE WELL:
YOU CAN DO THE PROJECT PART IN PAIRS, BUT THE
ASSIGNMENTS FROM THE BOOK, ETC., MUST BE DONE ON YOUR OWN.

Assignment/Project

10/30/00 Monday

  1. The project part of this assignment is to design the list of additional checks (beyond those already in the basic PL/0 language and compiler) that are needed to ensure semantic correctness of the AST.  For example, we mentioned in class that you will need to check to ensure that break statements are found only inside loop statements.

    You will turn in a list of the intended checks.
  2. The part of the assignment that you must complete and turn in individually is: exercises 6.1, 6.3, 6.4, 6.8a, 6.10