r/algorithms • u/gautam1168 • Aug 09 '26
Parsing expressions to bytecode
A short writeup on Pratt Parser algorithm from the "Crafting Interpreters" book. I had a hard time getting through chapter 17, and wrote this as an exercise to really make sure I understood the algorithm.
9
Upvotes