How to write a recursive descent parser
This is a chapter from a programming book that teaches readers how to build a recursive descent parser.
How to write a recursive descent parser launched on March 20, 2017 with 347 votes, #41 of 3,075 launches that month and more than 99% of that year's launches. The site was still online in December 2026, 9 years on.
In plain words
This is a chapter from a programming book that teaches readers how to build a recursive descent parser. It is designed for developers who currently use regex and string manipulation to process text but want to learn proper parsing techniques. The chapter covers building parsers with robust error handling, clear internal structure, and the ability to handle complex syntax rules.
written by AI from its launch page and website · 18 September 2026
Originality
76/100
Original. More original than 76% of products launched in 2017.
- Similar products before it
- None
- in the archive on its launch day
- Similar products since
- None
- launched after it
crowded fieldone of a kind
The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →
Forecast
94%
chance that this product’s website is still online in November 2031. Typical launch of 2017 gets 80%.
- 1 year · Nov 2027
- 99%
- typical 96%
- 3 years · Nov 2029
- 97%
- typical 88%
- 5 years · Nov 2031
- 94%
- typical 80%
- How to write a recursive descent parser
- Typical launch of 2017
Launch signals stronger than 99% of the archiveweakest → strongest
Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →
From the sources
This chapter marks the first major milestone of the book. Many of us have cobbled together a mishmash of regular expressions and substring operations to extract some sense out of a pile of text. The code was probably riddled with bugs and a beast to maintain. Writing a real parser — one with decent error handling, a coherent internal structure, and the ability to robustly chew through a sophisticated syntax — is considered a rare, impressive skill. In this chapter, you will attain it. “Parse” comes to English from the Old French “pars” for “part of speech”. It means to take a text and map each word to the grammar of the language. We use it here in the same sense, except that our language is…from craftinginterpreters.com
Does a similar job
free ones →all alternatives →- AB
I'm 17 and wrote a guide on how to build your2024 · easel.hackclub.com · ▲149This is a beginner-friendly guide for building a programming language, written by a 17-year-old and designed to be completed in a weekend.

- ABA book on Python regular expressions2019 · ▲193
Python re(gex)?" is a free book covering Python's 're' and 'regex' modules with practical examples, cheatsheets, and exercises.
Learn Regular Expressions with simple2020 · regexone.com · ▲144RegexOne is an interactive platform for learning regular expressions through hands-on exercises.

More life & fun this month
the category →
Tiny SFO▲634A tiny, live SFO: real flights land, taxi to their gates and take off under the Bay
Life & fun · 7d ago · tinysfo.com
- Bbouncemarket▲432
a ball will fall. trade on where it lands.
Life & fun · 8d ago · bouncemarket.minhanhday.com

- Y

- ON
Twenty-three graphics card demos by 3dfx, NVIDIA and ATI from 1998 to 2006, running in the browser.
Life & fun · 10d ago · gpu-demo-gallery.pages.dev
Is How to write a recursive descent parser yours? Feature it on the home page: $19, or free with the badge →
Source: Show HN post ↗
Launched alongside, March 2017
the whole month →
Startup School▲1,010Learn how to start a company with help from the world's top startup accelerator - Y Combinator.
Life & fun · 2017 · startupschool.org
Neuralink▲890Play Neuralink's Webgrid game and test your clicking skills against clinical trial participants who have achieved over 10 BPS with brain control.
AI · 2017 · neuralink.com
Hardbound 3.0▲739Illustrated summaries of bestselling nonfiction books
Life & fun · 2017 · apps.apple.com
Canny▲704Canny's AI-powered customer feedback platform captures, analyzes, and prioritizes feedback to help you build what drives revenue.
Growth · 2017 · canny.io

