Re: [fonc] Debugging PEGs and Packrats

2011-12-29 Thread John Leuner
I think the next step I would take (if that wasn't sufficient) is to create a test suite that tests each grammar rule independently, successively building up to the complex input that is failing. I'd been doing this for terminals, but it seems like non-terminals get harder to write as unit

Re: [fonc] Debugging PEGs and Packrats

2011-12-29 Thread Lukas Renggli
On 29 December 2011 09:04, John Leuner je...@subvert-the-dominant-paradigm.net wrote: I think the next step I would take (if that wasn't sufficient) is to create a test suite that tests each grammar rule independently, successively building up to the complex input that is failing. I'd been