Site icon i2tutorials

Compiler Design-Symbol Table Representation (3)

Symbol Table Representation (3)

 

In variable-length representation we are using an infinite tape X reference table are variables names are stored in tape separated with the dollar ($) with their index value. 

 

Operations of Symbol table

 

lookup(a)

               3. DELETE: To delete any variable 

delete(a)

               4. MODIFY: To modify any information about variable modify (a, float, 10.50)

5. SCOPE MANAGEMENT: Local scope and global scope are managed by scope management.

Reference Link

Symbol Table Representation (3)

Exit mobile version