How do I write a parser that doesn't fail? #777
Unanswered
madchicken
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can someone point me in the direction of writing a parser where I can collect all good pairs and not fail even if the input is not valid for the grammar? I would like to have an output like
pair1, pair2, pair3, error
. I was taking a look to the ParserState, but I cannot really understand how to use it in my case, where I have a pretty complex grammar. Thanks in advice.Beta Was this translation helpful? Give feedback.
All reactions