~/talk

A Derivative-based Parser Generator for Visibly Pushdown Grammars

Talkat OOPSLA 2021 · 2021-10-17..10-22· [compilers-and-language-design]
links:none on file
links:none on file
name:Gang Tan
links:none on file
slides:none on file

A derivative-based parser generator converts visibly pushdown grammars to a deterministic PDA and produces a shared parse forest in linear time, with a verified core derivative-based conversion to a deterministic PDA and formally verified in Coq. A tagged-CFG validator and translator emit VPGs so semantic actions in the VPG yield original CFG trees. Evaluation reuses ANTLR lexers and reports parse forest in linear time and performance gains: 4x faster on JSON, 5x on XML, 4 orders of magnitude on HTML.

AI-written summary · about

  1. 0:00Intro
  2. 0:13Visibly Pushdown Grammars
  3. 1:49An example VPG for XML
  4. 2:41A comparison of VPGs and CFGS
  5. 3:25Motivation
  6. 3:46Contributions
  7. 4:29The parser generator for VPGs
  8. 5:16The derivative-based recognition
  9. 7:26The derivative-based parser
  10. 9:24A surface grammar for VPG
  11. 10:32Applicability
  12. 11:23Performance comparison with ANTLR Experimental setup
  13. 12:04Performance comparison with JSON and XML hand- written parsers
  14. 13:10Conclusions
~/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.