~/talk

XSLT Earley: First Steps to a Declarative Parser Generator

Talkat XML Prague 2020 · 2020-02-13..02-15· [compilers-and-language-design]
links:none on file
slides:none on file

Proof-of-concept XSLT Earley implements the Earley parsing algorithm in XSLT 3, consuming grammars expressed as Invisible XML and emitting XML parse trees; it handles any context‑free grammar, supports ambiguous parses (optionally returning multiple parse trees), and sidesteps Rex’s LL(1) lookahead limits. Implementation works but is not yet fully optimized (uses map/merge hacks, parameters to avoid infinite recursion). Source, examples and paper live on GitHub and the conference proceedings.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:27What is a parser and grammar
  3. 7:12Why use XSLT for parsing
  4. 11:55Limitations of existing tools
  5. 15:34Introducing the Earley algorithm
  6. 17:04XSLT parser design and grammar input
  7. 18:56Handling ambiguous grammars
  8. 21:44Language detection with multiple grammars
  9. 22:49Implementation details and XSLT challenges
  10. 23:57Q&A session
~/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.