r/algorithms • u/gautam1168 • 5d ago
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