grako icon indicating copy to clipboard operation
grako copied to clipboard

Parse failure with confusing debugging output

Open GregoryTravis opened this issue 8 years ago • 0 comments

input.txt

grammar.txt I am getting a parse failure on some test input and I don't understand why. The debugging output contains this:

↙binopapp↙exp↙definition↙decls↙let↙exp↙definition↙decls↙start
<1:23>b + b }

This succeeds a little bit later: ≡binopapp↙exp↙definition↙decls↙let↙exp↙definition↙decls↙start
<1:28> }

But then the same parse fails after that:

≢binopapp↙exp↙definition↙decls↙let↙exp↙definition↙decls↙start
<1:23>b + b }

Grammar and input file are attached.

GregoryTravis avatar Sep 23 '17 20:09 GregoryTravis