~/talk

Modular grammar and parser for Haskell with extensions

links:none on file
slides:none on file

A modular parser and pretty-printer at github.com/blamario/language-haskell implements Haskell 2010 plus almost all extensions by composing finally-tagless mixins per extension into a grammar built with parser combinators (no separate lexer), supports left recursion via a fixed-grammar technique, and resolves operator precedences and layout with a custom approach. The project uses monet-subasses and grammatical-parsers, round-trips ~3,000 GHC test files in about 13 minutes, preserves comments and whitespace, and trades efficiency for composability.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Project origins and goals
  3. 4:01Dependencies and type-level
  4. 7:39Grammar composition
  5. 12:02Abstract syntax tree structure and wrappers
  6. 14:53Data flow and compiler
  7. 16:44Testing and benchmarks
  8. 18:33Future directions
  9. 21:50Live demo
  10. 24:02Q&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.