Bob Nystrom explains the Pratt Parser algorithm

from blog Jordan Eldredge's Blog, | ↗ original
↗ original
Sharing Bob Nystrom’s excellent blog post explaining the Pratt Parser algorithm which offers a very clean way to model operator precedence