Closed bkovitz closed 5 years ago
brag
is mostly just a front end to cfg-parser
. AFAICT the debug
option is not part of that parser.
“The cfg-parser
form does not support the precs
, suppress
, debug
, or yacc-output
options of parser
.”
Therefore this issue belongs in parser-tools
. If it’s fixed there, I can propagate it to br-parser-tools
.
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.