~/talk

Grammar Inference for Ad Hoc Parsers

links:none on file
slides:none on file

A system translates ad hoc string code (split/map/trim pipelines) into a small lambda IR, runs refinement-type inference to produce verification templates, and rewrites those constraints into a minimized grammar-like predicate; a prototype implements Panini intermediate representation and solves the examples shown, yielding concrete grammars that enable grammar-aware fuzzing and CI alerts. It currently handles simple programs using integer-range and string abstract domains, and ongoing work focuses on formalizing the solver, richer string domains, provenance, and end-to-end engineering.

AI-written summary · about

  1. 0:00Grammar inference intro
  2. 2:30Inferring grammars from parsers
  3. 5:20Refinement types and Panini IR
  4. 7:50Challenges with grammar variables
  5. 10:17Minimizing string predicates
  6. 11:21Implementation and future work
  7. 13:49Applications and evaluation
  8. 15:34Q&A: Automating grammar specs
  9. 16:38Q&A: User study on comprehension
  10. 18:03Q&A: Relation to regex
  11. 19:26Q&A: Inferring output grammars
  12. 21:34Q&A: Defining grammar comprehension
  13. 23:20Q&A: Platform grammar mind
  14. 25:27Q&A: String manipulation ubiquity
  15. 29:04Closing remarks
~/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.