-
Notifications
You must be signed in to change notification settings - Fork 140
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
Add support for traversing AST using C #2543
Comments
Can you describe a little more about your use case/why you need this in C? All of our binding libraries have visitors. |
Yes, sure. I'm building a tool using plain C so I don't use any bindings for other languages. I understand that it might be out of scope and I've already written a traversal by myself but I think it would be great to have a build-in approach for such thinks because it's quite common task WDYT? |
Sure. I've opened a PR |
@kddnewton thanks a lot! |
Hi! Prism's C public API doesn't support any traversal features so it's quite tedious to find specific node after parsing(using
switch ... case
as in theprettyprint_node
function). It would be great to have such an opportunityThe text was updated successfully, but these errors were encountered: