Skip to content

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

Description

@braised-babbage

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions