A computational interpretation of context-free expressions

3Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

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.

Cite

CITATION STYLE

APA

Sulzmann, M., & Thiemann, P. (2017). A computational interpretation of context-free expressions. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 10695 LNCS, pp. 387–405). Springer Verlag. https://doi.org/10.1007/978-3-319-71237-6_19

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free