sliekens / Txt

A text parsing framework for .NET.
MIT License
2 stars 4 forks source link

Add 'abort' feature #12

Open sliekens opened 8 years ago

sliekens commented 8 years ago

Lexers do not currently support a way to notify the system that they encountered an error in the text. They can return a result that indicates whether text contains a match, a partial match or no match, but they can't return a result that indicates that parsing should be aborted because of a partial match or no match.