Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Symbol Table #18

Open
TheSYNcoder opened this issue Apr 28, 2021 · 1 comment
Open

Improve Symbol Table #18

TheSYNcoder opened this issue Apr 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@TheSYNcoder
Copy link
Owner

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.

@noob77777 noob77777 added the enhancement New feature or request label Apr 28, 2021
@noob77777
Copy link
Collaborator

Rename symbol table tests from test1, test2 to SymbolTable1, SymbolTable2 ...

@noob77777 noob77777 added bug Something isn't working and removed bug Something isn't working labels May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants