# 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.

Page: https://nowfound.app/launch/how-to-write-a-recursive-descent-parser

- Launched: 2017-03-20
- Launch-day votes: 347, 148 comments; #41 of 3,075 launches that month (top 1%)
- Website: [craftinginterpreters.com](http://www.craftinginterpreters.com/parsing-expressions.html), online when checked 2026-12-01
- Category: [Life & fun](https://nowfound.app/c/life-and-consumer.md)
- Forecast: 94% chance its website is still online in November 2031 (99% in November 2027, 97% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2017: 80%. [Method](https://nowfound.app/forecast.md)
- Originality: 76/100 (original). More original than 76% of products launched in 2017. On its launch day the archive held no similar products; none have launched since.

## 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, 2026-09-18._

## Does a similar job

- [A Book on Java](https://nowfound.app/launch/i-wrote-a-book-on-java): I Wrote a Book on Java" is a book on data-oriented programming in Java. (2024-09-23, 586 votes, forecast: 86% online in 2031)
- [I'm 17 and wrote a guide on how to build your](https://nowfound.app/launch/i-m-17-and-wrote-a-guide-on-how-to-build-your-own-programmin): This is a beginner-friendly guide for building a programming language, written by a 17-year-old and designed to be completed in a weekend. (2024-05-16, 149 votes, forecast: 88% online in 2031, easel.hackclub.com)
- [RegexLearn](https://nowfound.app/launch/regexlearn): Learn RegEx step by step, from zero to advanced (2021-11-17, 328 votes, free, forecast: 85% online in 2031, regexlearn.com)
- [A book on Python regular expressions](https://nowfound.app/launch/i-wrote-a-book-on-python-regular-expressions): Python re(gex)?" is a free book covering Python's 're' and 'regex' modules with practical examples, cheatsheets, and exercises. (2019-08-08, 193 votes, forecast: 76% online in 2031)
- [Learn Regular Expressions with simple](https://nowfound.app/launch/learn-regular-expressions-with-simple-interactive-exercises): RegexOne is an interactive platform for learning regular expressions through hands-on exercises. (2020-06-23, 144 votes, forecast: 87% online in 2031, regexone.com)
- [Using Parsing Expression Grammars to rewrite](https://nowfound.app/launch/using-parsing-expression-grammars-to-rewrite-source-code): An example of PEG usage. (2016-09-14, 63 votes, free, forecast: 93% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/how-to-write-a-recursive-descent-parser.md

## For the maker of How to write a recursive descent parser

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/how-to-write-a-recursive-descent-parser
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/how-to-write-a-recursive-descent-parser"><img src="https://nowfound.app/badge/how-to-write-a-recursive-descent-parser.svg" alt="How to write a recursive descent parser on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=13914218)
