Y
Hacker News
new
|
ask
|
show
|
jobs
by
sleavey
2078 days ago
This is what's called left-recursion, and there's indeed a way to deal with it in PEG parsers:
https://github.com/PhilippeSigaud/Pegged/wiki/Left-Recursion
.