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

TP4 - Visitor pattern #6

Merged
merged 8 commits into from
May 10, 2023
Merged

TP4 - Visitor pattern #6

merged 8 commits into from
May 10, 2023

Conversation

LBF38
Copy link
Owner

@LBF38 LBF38 commented Mar 14, 2023

Implementing the visitor pattern with the small compiler I already implemented (lexer and parser)

This is a simple example of using the visitor pattern
we can choose between using the accept method or the visit method in the visitor class
updating TP4 with latest TP3 changes to implement the latest Visitor
pattern on the lexer and parser.
not tested yet. Issue with Python module and cannot access files in
TP2 folder
update TP4 and cleaned abstract syntax
Changed the project structure to have the compiler in its own folder.
Fixed all imports issues in the other files.
added ModuleNotFoundError solution/note
@LBF38 LBF38 self-assigned this May 10, 2023
@LBF38 LBF38 added documentation Improvements or additions to documentation enhancement New feature or request labels May 10, 2023
@LBF38 LBF38 merged commit 0493282 into master May 10, 2023
@LBF38 LBF38 deleted the TP4 branch May 10, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant