Morpheus: Automated Safety Verification of Data-dependent Parser Combinator Programs
Ashish Mishra, Suresh Jagannathan

TL;DR
Morpheus is a novel framework that enables automated safety verification of complex, data-dependent parser combinator programs by providing abstractions and a rich specification language, making verification more tractable.
Contribution
It introduces Morpheus, a parser combinator framework with abstractions for effects and safety specifications, improving automated verification of data-dependent parsers.
Findings
Successfully verified complex parsing applications
Handled non-trivial data-dependent relations
Enhanced verification tractability
Abstract
Parser combinators are a well-known mechanism used for the compositional construction of parsers, and have shown to be particularly useful in writing parsers for rich grammars with data-dependencies and global state. Verifying applications written using them, however, has proven to be challenging in large part because of the inherently effectful nature of the parsers being composed and the difficulty in reasoning about the arbitrarily rich data-dependent semantic actions that can be associated with parsing actions. In this paper, we address these challenges by defining a parser combinator framework called Morpheus equipped with abstractions for defining composable effects tailored for parsing and semantic actions and a rich specification language used to define safety properties over the constituent parsers comprising a program. Even though its abstractions yield many of the same…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Logic, programming, and type systems · Software Engineering Research
