News for hackers. Stuff that matters.
Re:Top Down Operator Precedence (1973) by abecedarius on Monday May 25, 2015 @12:35PM (#9600644)
The Pratt/TDOP scheme is a decentralized or OO way to organize the same idea. I coded them both, at https://github.com/darius/sketchbook/blob/master/parsing/pre... and https://github.com/darius/sketchbook/blob/master/parsing/pra...

(My Pratt is smaller than my precedence-climbing here because I ended up actually using the latter, so it got some extras added.)

There are no comments on this comment yet.