~/talk

Resumable Parser Combinators

slides:none on file

A resumable parser combinator library is implemented for Scala string interpolation that suspends at interpolated non-String values and later resumes parsing, using a cats-parse–style combinator AST turned into an interpreter written in continuation passing style. A Resumable ADT stores the suspended parser, an intermediate value combined via a Semigroup, and continuations. A working markdown interpolator prototype embeds computed document fragments and interactive images. The code runs but a Scala 3 exhaustivity-checking compiler bug prevents a polished release.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:03What is notation
  3. 3:51Embedded DSLs with Scala
  4. 7:42Problem with parsing interpolation
  5. 9:07Designing resumable parsers
  6. 12:56Basic parser combinators
  7. 13:17Markdown parsing example
  8. 16:30Control API for suspension
  9. 17:35Result types in parsing
  10. 19:03Implementation techniques
  11. 20:50Continuation passing style
  12. 24:44Resumable type explained
  13. 27:30CPS in parser interpreter
  14. 30:23Does it work demonstration
  15. 31:24Markdown string interpolator
  16. 33:32Reusable lessons from project
  17. 33:54Scala 3 experience
  18. 35:38Programming strategies
  19. 36:42Interpreter pattern benefits
  20. 38:06Rarefy vs Church encoding
  21. 39:11CPS for stack safety
  22. 40:14Explicit semantics in code
  23. 41:58Q&A session
~/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.