DeclarationsWhen we encounter declarations, we need to lay out storage for the declared variables. For every local name in a procedure, we create a ST(Symbol Table) entry containing:
The production: A suitable transition scheme for declarations would be:
ENTER is used to make the entry into symbol table and ATTR is used to trace the data type.
Next TopicCase Statements
|