Y
Hacker News
new
|
ask
|
show
|
jobs
by
sleavey
1910 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
.