next up previous
Next: About this document ...

CS 405/505 ASSIGNMENT #9

Due Thursday, April 6, 2006

  1. Design and implement symbol table management routines to store all of the identifiers used in a program. Specifically, you should have operations to 1) add an identifier to the symbol table, 2) look up an identifier in the symbol table to see if it is there or not, returning the denotable value if it is, and 3) print the symbol table. The symbol table will contain the names of identifiers, whether the identifier denotes a function or variable, as well as other attributes. These attributes are as follows:


    Details of the symbol table should be modelled after the environment domain in the denotational semantics of MicroFortran.

  2. Output the local symbol table for each function as well as that of the top-level function. You may output this after parsing each function or at the end of the program.




next up previous
Next: About this document ...
CS405 TA 2006-02-13