symbol table

Jan 21, 2013 at 10:48am
please tell how to create a symbol table for an assembly language and high level language in c++?
Jan 21, 2013 at 3:20pm
A symbol table is simply a collection of information about each of the symbols in each scope in the program. An entry in a symbol table typically contains:
- The name of the symbol
- The unrelocated address of the symbol
- The storage type of the symbol
- The size of the storage represented by the symbol
- etc.
If it's a member of a struct or class, it will contain a pointer to the parent symbol.
Topic archived. No new replies allowed.