Open hurricup opened 8 years ago
seems 'followed by' tokens calculated incorrectly. Or in strange way.
"seems 'followed by' tokens calculated incorrectly. Or in strange way."
How so? Do you have any examples of what you are expecting and what you are getting?
This comment suggests that you can already write recoverWhile="#auto"
. However, I haven't tested it, and maybe it is outdated.
Grammar-Kit context help shows section "Followed by" with list of tokens and rules that can be after particular rule according to the grammar. You could use these tokens for auto-generating base recovery rule with possible custom tokens (rule), like:
or make a macro for it, like:
and expand this macro on compilation phase.
Currently we can use context help to generate recovery sets, but each time grammar changes - all rules should be updated.