Once Upon a Little Parser (in TypeScript)
summary
Introduces parser combinators as a way to learn functional programming by building a small parser from scratch in TypeScript. Shows how to implement a parser without libraries, using TypeScript and functional techniques to compose parsing routines.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 1:25Workshop overview
- 2:28Parser basics
- 5:17Functional techniques
- 9:09Parser type
- 13:25First parser
- 15:53F parser
- 21:50Parser factory
- 26:39Boolean parsers
- 30:53Alt combinator
- 33:04Map combinator
- 39:26JSON parser
- 40:32Concat combinator
- 44:50Map2 utilities
- 48:45Generic combinators
- 53:51ConcatAll/AltAll
- 59:52String parser
- 1:00:14Stream parser
- 1:05:01Kit combinators
- 1:08:13Char parser
- 1:10:49Regex star/plus
- 1:13:59Recursive fixes
- 1:17:36Q&A
- 1:21:33Final improvements
