~/talk

Monadic Parsers at the Input Boundary

Talkat PureConf 2022 · on Thursday, 2022-02-24· [functional-programming]
links:none on file
slides:none on file

Recommends parsing every incoming byte stream with purescript-parsing rather than ad hoc splitting or regexes, demonstrating concrete parsers: an "a then b" parser returning a boolean, many and a custom twice combinator, integer extraction that converts to Int, a recursive balanced‑parentheses parser, and a full RFC 5322 email parser ported from Parsec/purebred‑email. Shows replace features in purescript-parsing-replace, compares to a claimed 99.99% regex, and warns JS runtimes make monadic parsers about 10× slower than native regex.

AI-written summary · about

  1. 0:00Introduction to parsing
  2. 5:18Working with parser combinators
  3. 11:50Parsing complex structures
  4. 12:57RFC 5322 implementation
  5. 13:25Parsers vs. regular expressions
  6. 22:46Parser theory
  7. 23:15Performance considerations
  8. 24:22Q&A: performance and evaluation
  9. 27:19Q&A: grammar complexity
  10. 31:08Grammar hierarchies
  11. 35:52Advanced patterns and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.