Compiler Design and Construction2081.15 marksLR parsing
What is a symbol table? Discuss the general structure of an LR parser.
What is a symbol table? Discuss the general structure of an LR parser. [5]
--- A symbol table is a data structure used by a compiler to store information about the identifiers (variables, functions, objects, etc.) encountered in the source program. The lexical analyzer helps to identify tokens and enters them into the symbol table. It stores attributes such as: - Name o...