Need something to make debugging a grammar easier
#19
Closed
opened 5 years ago by bkovitz
·
3 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Regardless of whether the preceding issue is really a bug, it would help enormously to have something like
yydebug
in yacc or(debug filename)
inbr-parser-tools/yacc
. If I could see the possible parses in progress as the parser consumes tokens, that would be plenty. Even just being able to look at the generated parsing table might help.brag
is mostly just a front end tocfg-parser
. AFAICT thedebug
option is not part of that parser.“The
cfg-parser
form does not support theprecs
,suppress
,debug
, oryacc-output
options ofparser
.”Therefore this issue belongs in
parser-tools
. If it’s fixed there, I can propagate it tobr-parser-tools
.