4 ms·
> a successful parse consumes at least one rune This avoids infinite loops?
by pharmakom 4y ago
> a successful parse consumes at least one rune
This avoids infinite loops?
- Jtsummers 4y agoYes, there would be two outcomes for an attempted parsing. Either it succeeds and makes progress (and eventually terminates) or it fails and consumes nothing (and terminates because eventually you run out of parsers to try).