Sketch an attribute grammar, over an idealized abstract grammar, for doing the static semantic analysis done in your cadaver. What is needed here is the high-level design, not a specific grammar and rules. If you need to refer back to things you said in your solution to assignment 3, restate them briefly so that this document is self-contained.
More precisely:
Note: this question is based on a suggestion from John Boyland
Note from Allen: in previous assignments, many of you have gone to great lengths to avoid insulting my intelligence by providing unnecessary background on the source language of your compilers. Although I appreciate the implied faith in my abilities, actually it would be very helpful if you would include with your description enough information about the source language that someone - and I'm not naming names - completely unfamiliar with the language would be able to read your homework.