Hey there,

Disclaimer: I'm new to Parslet, and PEGs in general.

When working on creating a parser with Parslet, sometimes I'm bitten by the
fact that one of my rules is being more 'greedy' than it should be.  I
mean, it's working as-written, but I should have been more specific when
describing the rule.

So I'm wondering, is there a way I can ask Parslet to show me the last
matched rule when it encounters parsing errors?  That way, I'd know right
away that it matched a needlessly greedy rule that I wasn't expecting.

-g

Reply via email to