Skip to content

Refactor: use visitors for symbol table construction - #6

Merged
writemorecode merged 5 commits into
mainfrom
refactor/symtab_visitor
Feb 8, 2026
Merged

Refactor: use visitors for symbol table construction#6
writemorecode merged 5 commits into
mainfrom
refactor/symtab_visitor

Conversation

@writemorecode

Copy link
Copy Markdown
Owner

Refactor to use the Visitor pattern for constructing the symbol table. Will make code more testable by allowing for storing error diagnostics in a single place. This would have been difficult previous to this refactor.

Should do the same thing for type checking and IR generation.

@writemorecode
writemorecode merged commit ced4917 into main Feb 8, 2026
1 check passed
@writemorecode
writemorecode deleted the refactor/symtab_visitor branch February 11, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant