JuCC icon indicating copy to clipboard operation
JuCC copied to clipboard

Improve Symbol Table

Open TheSYNcoder opened this issue 4 years ago • 1 comments

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.

TheSYNcoder avatar Apr 28 '21 07:04 TheSYNcoder

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

noob77777 avatar May 03 '21 11:05 noob77777