Derivation of deterministic inverse programs based on LR parsing

Robert Glück, Masahiko Kawabe

Publikation: Bidrag til bog/antologi/rapportKonferencebidrag i proceedingsForskningpeer review

36 Citationer (Scopus)

Abstract

We present a method for automatic program inversion of functional programs based on methods of LR parsing. We formalize the transformation and illustrate it with the inversion of a program for run-length encoding. We solve one of the main problems of automatic program inversion—the elimination of nondeterminism—by viewing an inverse program as a context-free grammar and applying to it methods of LR parsing to turn it into a recursive, deterministic inverse program. This improves the efficiency of the inverse programs and greatly expands the application range of our earlier method for program inversion.
OriginalsprogEngelsk
TitelFunctional and Logic Programming : 7th International Symposium, FLOPS 2004, Nara, Japan, April 7-9, 2004, Proceedings
ForlagSpringer Verlag
Publikationsdato2004
Sider291-306
ISBN (Trykt)3-540-21402-X
DOI
StatusUdgivet - 2004
Udgivet eksterntJa
NavnLecture notes in computer science
Vol/bind2998

Citationsformater