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

recursive visiting the IR is powerful but currently hard to understand #484

Open
jvansomeren opened this issue May 5, 2023 · 0 comments

Comments

@jvansomeren
Copy link
Collaborator

Defining various forms of visiting the IR tree exist: from just bottom-up visiting to extract information, to pre- and post-walkers that, also taking context into account, transform an IR tree.
When I now read those visitors, there is lots of C++ machinery around to make them work
and I don't understand why it must be so much machinery.
From CoSy experience, I didn't expect that and those were really powerful walkers.
So propose to revisit their design and interfaces and investigate what makes them so complicated.
Is it the IR structure itself that is the problem? Is it C++? Are the visitors over-designed?

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

1 participant