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

Allow for recovery in the face of ANTLR errors (when permissive parsing is enabled) #30

Open
braised-babbage opened this issue Aug 1, 2024 · 0 comments

Comments

@braised-babbage
Copy link
Collaborator

In #26 (comment) it was noted that the current approach to permissive parsing is limited by the fact that the OpenPulseNodeVisitor (and some routines it relies on, like the @span decorator) do not correctly handle ANTLR errors. It may be worth identifying what useful error recovery would look like, and how it could be implemented. This strikes me as most relevant for developers who are experimenting with grammar changes, although perhaps a case can be made for a broader base of users.

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