Pratt parsing is one of the most frequently used techniques for hand-written parsing. In traditional parsing, we usually represent expressions by specifying precedence and associativity of operators. e.g.
1 | type Expr |
While in pratt parsing, we don’t need such abstraction.