Whiteknight / ParserObjects

C# library for parser combinators
https://whiteknight.github.io/ParserObjects
Apache License 2.0
6 stars 0 forks source link

Consider merging Examine() into Context() #209

Open Whiteknight opened 9 months ago

Whiteknight commented 9 months ago

Both of these parsers do the same basic thing (execute a user callback before and after the parse) but the Context() parser is much more robust about error handling and fallbacks. We should be able to implement Examine() in terms of the ContextParser class, with no loss of generality and with far fewer chances for unintended errors.