Skip to content

Grammars for Free: Toward Grammar Inference for Ad Hoc Parsers

Photo of Trevor Lalish-Menagh
Hosted By
Trevor L. and Max P.
Grammars for Free: Toward Grammar Inference for Ad Hoc Parsers

Details

Details

• What we'll do: Trevor will be presenting on Grammars for Free: Toward Grammar Inference for Ad Hoc Parsers

Abstract

Ad hoc parsers are everywhere: they appear any time a string is split, looped over, interpreted, transformed, or otherwise processed. Every ad hoc parser gives rise to a language: the possibly infinite set of input strings that the program accepts without going wrong. Any language can be described by a formal grammar: a finite set of rules that can generate all strings of that language. But programmers do not write grammars for ad hoc parsers—even though they would be eminently useful. Grammars can serve as documentation, aid program comprehension, generate test inputs, and allow reasoning about language-theoretic security. We propose an automatic grammar inference system for ad hoc parsers that would enable all of these use cases, in addition to opening up new possibilities in mining software repositories and bi-directional parser synthesis.

• Important to know

As a chapter of Papers We Love we abide by and enforce the PWL Code of Conduct (https://github.com/papers-we-love/seattle/blob/master/code-of-conduct.md) at our events. Please give it a read, plan on acting like an adult, and involve one of the organizers if you need help.

Stop slacking and join us in the #seattle channel at https://papersweloveslack.herokuapp.com!

If you have a paper you'd like to present, or even just a mini, please hit up one of the organizers :) We're always looking for more presenters.

Photo of Papers We Love @ Seattle group
Papers We Love @ Seattle
See more events