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

[Go] Add Iterative tree walker in go #3740

Merged
merged 2 commits into from
Sep 16, 2022

Conversation

rishabh-arya95
Copy link
Contributor

Adding the iterative tree walker implementation for GO, inspired by the java iterative walker
#1231

Signed-off-by: Rishabh Arya <rishabh.aryain@gmail.com>
Signed-off-by: Rishabh Arya <rishabh.aryain@gmail.com>
@parrt
Copy link
Member

parrt commented Aug 26, 2022

Now that I have merged the update to the Go Target made by @jimidle maybe you guys can take another look to ensure it is compatible.

@jimidle
Copy link
Collaborator

jimidle commented Sep 1, 2022

I will take a look at this after 4.11.0 is released. Right now, I do not know if anyone has attempted this, but it is probably best done with generics and current tree stuff does not use generics... yet.

@jimidle
Copy link
Collaborator

jimidle commented Sep 1, 2022

@parrt Would you please assign this to me, or label it with Go.

@jimidle
Copy link
Collaborator

jimidle commented Sep 12, 2022

This code now needs to be moved in to the /v4 version of the go runtime. I have not tried this and there are no tests, but as it is a new file, it seems safe enough. We can merge this one and I can copy it to the v4 version.

@parrt
Copy link
Member

parrt commented Sep 15, 2022

@jimidle so I should merge this one and then you will copy it to v4?

@jimidle
Copy link
Collaborator

jimidle commented Sep 16, 2022 via email

@parrt parrt added this to the 4.11.2 milestone Sep 16, 2022
@parrt parrt merged commit 26b06f9 into antlr:dev Sep 16, 2022
@parrt
Copy link
Member

parrt commented Sep 16, 2022

done @jimidle !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants