← | ↑ | → |
Create a table whose keys are strings and whose values are trees. Keep it simple. You should be able to
You will use this table for identifiers that are defined in a def definition. For example, at definition
def main = A endyou store key "main", tree A into the table.
When you have the symbol table working, submit it using the following command.
~abrahamsonk/5220/bin/submit symboltable symboltable.c symboltable.h ast.h ast.c allocate.h stringtable.h stringtable.c
Include any other files that are needed to test the symbol table.