~/talk

Once Upon a Little Parser (in TypeScript)

TalkinSpanishat Nerdearla 2023 · 2023-09-26..09-30· [typescript, compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 1:25Workshop overview
  3. 2:28Parser basics
  4. 5:17Functional techniques
  5. 9:09Parser type
  6. 13:25First parser
  7. 15:53F parser
  8. 21:50Parser factory
  9. 26:39Boolean parsers
  10. 30:53Alt combinator
  11. 33:04Map combinator
  12. 39:26JSON parser
  13. 40:32Concat combinator
  14. 44:50Map2 utilities
  15. 48:45Generic combinators
  16. 53:51ConcatAll/AltAll
  17. 59:52String parser
  18. 1:00:14Stream parser
  19. 1:05:01Kit combinators
  20. 1:08:13Char parser
  21. 1:10:49Regex star/plus
  22. 1:13:59Recursive fixes
  23. 1:17:36Q&A
  24. 1:21:33Final improvements
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.