CSE P 501 Project III
Static Semantics, Type Checking & Symbol Tables

Due: Monday, May 19, by 11:00 pm. Turn in your project using the assignment dropbox .

Overview

Add static semantics checking to your compiler. In particular, you should do the following:

Details and Suggestions

Testing

You should test your compiler on both correct MiniJava programs and on programs that contain various sorts of static semantics problems, including programs that are syntactically legal (i.e., accepted by the parser), but have static semantics errors.

Here are a few examples of tests that will be run against your typechecker:

What to Turn In