Improvement of Symbol Table
Summary
The current implementation of the symbol tables deletes the lexemes on scope end and thus cannot be used for look-up after the lexer phase.
Solution
A better implementation would be an introduction of visibility flags - to be set to false on scope end rather than deleting.
Improvement of Symbol Table
Summary
The current implementation of the symbol tables deletes the lexemes on scope end and thus cannot be used for look-up after the lexer phase.
Solution
A better implementation would be an introduction of visibility flags - to be set to false on scope end rather than deleting.