/    /  Compiler Design-Symbol Table

Symbol Table

 

        →A symbol table is a data structure created and maintained by the compiler in order to store information about variables, functions, classes, objects, etc

        →It contains information about variables, functions, objects, classes and interface names, etc.

→Information associated with each name

        →How to access this information related to the name.

        →Determine scope resolution of the variables, objects, classes, etc.

        →Adding new name and information in a table

        →Delete a name or group of names from a table

        →Type checking for semantic corrections

        →It is used in both analysis and synthesis phases

 

Reference Link

Symbol Table