Y
Hacker News
new
|
ask
|
show
|
jobs
by
Rusky
500 days ago
Exactly. This is essentially converting the parser to bottom-up just for these rules. It's how Pratt parsing/precedence climbing works.
I wrote this post on the connection:
https://www.abubalay.com/blog/2021/12/31/lr-control-flow