~/talk

Monoidal Parsing

Talkat Scala World 2017 · 2017-09-16..09-19· [functional-programming]
slides:none on file

Claim: small language tweaks let an editor parse chunkwise and update names and errors quickly. Built a Haskell prototype and VSCode language-server wiring; key edits are remove multi-line nested comments and require hanging layout/whitespace sequences. Core technique uses a relative monoid acting on monoids (deltas pushed through lists, maps, tries) and a semi-direct product to merge ranges. Result: incremental position/interval maps support robust rename and error relocation; expects polylog-ish incremental updates in many operations, with tradeoffs (naive maps become ~4x slower without group inverses).

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:30The language design challenge
  3. 5:32Parsing paradigms
  4. 8:20Parentheses and structure
  5. 12:12Simplifying language rules
  6. 15:00Improving layout and recovery
  7. 20:27Relative positioning and deltas
  8. 26:10Maps and performance
  9. 31:20Semi-direct products and scope
  10. 35:27Conclusion and Q&A
~/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.