Pratt parsing is a black box
1 comments · compilers, plt
- Comments11
1 comments · compilers, plt
Story details from Lobsters ↗ · linked article on vinipsmaker.github.io.
Pratt parsing is a black box was first seen on Lobsters · Hottest on Nov 1, 2026. Since then it has appeared in 81 checks on 3 different days. Its best position was #1 of 25, reached on Nov 1, 20:51 UTC. It dropped off the list after Nov 3, 13:21 UTC. The same link also trended on Hacker News, which raises its cross-platform score.
Position on Lobsters · Hottest at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by Lobsters.
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Lobsters · Hottest | #1 | 3 | 81 | |
| YHacker News · Front page Pratt parsing is a black box | same link | |||
A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.
For Pratt parsing as a component of a self-extensible language like this, it's worth checking out what Lean does. Most dependently typed languages require explicit forward declarations and other things that already force them to run in a single pass at the top level. In Lean's case, the top-level granularity is one…
I'm glad to see more explorations of Pratt parsing :-) And thanks for referring to previous writing, including my own! In the opening code snippet, I think a VERY important point is that both `nud()` and `led()` will typically call back into `expression()` (after the Pratt logic dispatches to the right one). There's…
I used Pratt parsing in the compiler for a macro-heavy language that I've been developing for almost a year before finally sitting down on my chair to write my thoughts on Pratt parsing. The code is closed right now because I don't want LLMs training on my code before the public release for 0.1, but what I can say is…
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. It was last on the list on Nov 3, 13:21 UTC, after 3 days of trending.
#1 on Lobsters · Hottest, on Nov 1, 20:51 UTC. Trendoday checks this list every 30 minutes.
It was first seen on Nov 1, 2026 and has been on the list on 3 days (81 checks) since.