Would it be possible to provide an isolated case so that we can debug this?
If that is not possible, did you try debugging with the PetitParser Debugger?
On Jan 30, 2016, at 11:52 PM, Nicolas Anquetil
self parse: 'true' rule: #condition.
self parse: 'true)' rule: #condition.
self parse: 'true' rule: #expression.
self parse: 'true)' rule: #expression.
First 3 tests pass, last one fails
But the grammar says:
Can anyone propose an explanation?
Yes I checked that I am testing the right grammar
Yes the 'true)' test is strange, but this is precisely what I am trying to debug
(why does it pass for #condition ?)
RMod team -- Inria Lille
Moose-dev mailing list
"Yesterday is a fact.
Tomorrow is a possibility.
Today is a challenge."