-
Notifications
You must be signed in to change notification settings - Fork 161
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
Support visitor pattern for AST #151
Comments
I pushed an initial implementation of this to the visitor branch. |
@rubysolo it looks already pretty nice. However, I can imagine a few improvements:
What do you think? |
Yes, these are good suggestions. Regarding PrintVisitor calling |
Hmm, here are my thoughts:
|
I think I like the first idea best -- when I have some time I'll work on this a bit more. |
It might be quiet useful to support a visitor pattern for traversing the AST.
The text was updated successfully, but these errors were encountered: