pointlander / peg

Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.
BSD 3-Clause "New" or "Revised" License
1.02k stars 120 forks source link

Public parse Error type #91

Open tj opened 4 years ago

tj commented 4 years ago

It'd be nice to have a public variant of parseError{}, in my specific case I'd like to have more flexibility with the error message, so having access to some positional information would be great. Happy to send a PR.

pointlander commented 4 years ago

I will accept a PR for this!