Thursday, June 14, 2012

Symbol Table Management


             An essential function of compiler is to record the identifier used in the source program
and collect information about various attributes of each identifier.
             A symbol table is a data structure containing a record for each identifier, with field for
the attribute of identifier. The data structure allows us to find the record for each identifier. 
            Quickly and to store or retrieve data form that’s record quickly. When an identifier in source program detected the lexical analyzers, the identifiers
entered into symbol table.
                             EXAMPLE:- var position, initial, rate, real........

0 comments:

Post a Comment