Compiler
Construction
1
,Symbol Table
It is a data structure, containing information
about identifiers (variables) used in the
source program in the form of various
attributes.
There are two types of identifiers:
1. Variable names
2. Function names
2
, Variable Names
In the case of Variable, the fields in the
symbol table are:
Type of the variable
Size of the variable
Scope of the variable
Storage class of the variable
Offset address of the variable
3
Construction
1
,Symbol Table
It is a data structure, containing information
about identifiers (variables) used in the
source program in the form of various
attributes.
There are two types of identifiers:
1. Variable names
2. Function names
2
, Variable Names
In the case of Variable, the fields in the
symbol table are:
Type of the variable
Size of the variable
Scope of the variable
Storage class of the variable
Offset address of the variable
3