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

Re-Introduce Visitor Keyword #1459

Open
ChrisIsKing opened this issue Nov 22, 2024 · 0 comments
Open

Re-Introduce Visitor Keyword #1459

ChrisIsKing opened this issue Nov 22, 2024 · 0 comments
Assignees

Comments

@ChrisIsKing
Copy link
Collaborator

In Jac 1 when declaring a node and making reference to the walker which is currently visiting you would utilize the visitor keyword. In jaclang we've since changed this to be here. That is fine, but less intuitive when thinking about your program in a data spacial manner. We're suggesting to re-introduce the vistor keyword for simplicity.

A walker visits a node, as such when referring to that walker from the perspective of a node, visitor is more intuitive.

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

No branches or pull requests

2 participants