Bibliographic Details
| Title: |
A Method for Automatic Program Inversion Based on LR(0) Parsing. |
| Authors: |
Glück, Robert1 glueck@acm.org, Kawabe, Masahiko2 kawabe@suou.waseda.jp |
| Source: |
Fundamenta Informaticae. 2005, Vol. 66 Issue 4, p367-395. 29p. |
| Subjects: |
Automatic programming (Computer science), Computer programming, Program transformation, Functional programming languages, Functional programming (Computer science) |
| Abstract: |
We describe a method for automatic program inversion of first-order functional programs based on methods of LR(0) parsing. We formalize the transformation and illustrate it with several example programs. We approach one of the main problems of automatic program inversion - the elimination of nondeterminism - by viewing an inverse program as a context-free grammar. We apply LR-based parsing methods to turn a nondeterministic program into a deterministic program. This improves the efficiency of the inverse programs and greatly expands the application range of our earlier method for program inversion. [ABSTRACT FROM AUTHOR] |
|
Copyright of Fundamenta Informaticae is the property of Polskie Towarzystwo Matematyczne and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Database: |
Engineering Source |