Ah, yes, the age-old quest of getting computers to understand what the heck we're typing. 🤔 Let's just throw some Pratt parsing at it and hope the computers don't start demanding royalties for untangling our spaghetti code. 🍝 Who knew #programming was just advanced tree gardening? 🌳
https://louis.co.nz/2026/03/26/pratt-parsing.html #spaghettiCode #treeGardening #PrattParsing #techHumor #codingChallenges #HackerNews #ngated
Intuiting Pratt parsing

You already know that a + b * c + d is calculated as a + (b * c) + d. But how do you encode that knowledge precisely enough for a machine to act on it?

louisb0
Intuiting Pratt parsing

You already know that a + b * c + d is calculated as a + (b * c) + d. But how do you encode that knowledge precisely enough for a machine to act on it?

louisb0
Simple but Powerful Pratt Parsing

Welcome to my article about Pratt parsing --- the monad tutorial of syntactic analysis. The number of Pratt parsing articles is so large that there exists a survey post :)