A Computational Interpretation of Context-Free Expressions

August 24, 2017 ยท The Ethereal ยท ๐Ÿ› Asian Symposium on Programming Languages and Systems

๐Ÿ”ฎ THE ETHEREAL: The Ethereal
Pure theory โ€” exists on a plane beyond code

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Martin Sulzmann, Peter Thiemann arXiv ID 1708.07366 Category cs.FL: Formal Languages Cross-listed cs.LO, cs.PL Citations 3 Venue Asian Symposium on Programming Languages and Systems Last Checked 2 months ago
Abstract
We phrase parsing with context-free expressions as a type inhabitation problem where values are parse trees and types are context-free expressions. We first show how containment among context-free and regular expressions can be reduced to a reachability problem by using a canonical representation of states. The proofs-as-programs principle yields a computational interpretation of the reachability problem in terms of a coercion that transforms the parse tree for a context-free expression into a parse tree for a regular expression. It also yields a partial coercion from regular parse trees to context-free ones. The partial coercion from the trivial language of all words to a context-free expression corresponds to a predictive parser for the expression.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Formal Languages