Open kercos opened 9 months ago
@drmfinlay I was wondering if this issue has been considered...
Hello @kercos,
My apologies, I have been neglecting this library in recent years and had not investigated this issue until just now.
This error looks serious, unfortunately. From what I can tell, there is no look-ahead operation for giving precedence to (higher-level) required expansions that match or match partially preceding (lower-level) optionals.
I'll try to fix this, but it may take some time.
Try the following script:
The output will show the following:
Notice that the string
"lady"
is not matched by the grammar, even though ruletest1
expands to it.