Back to Search Start Over

Rules + strategies for transforming lazy functional logic programs

Authors :
Alpuente, María
Falaschi, Moreno
Moreno, Ginés
Vidal, Germán
Source :
Theoretical Computer Science. Jan2004, Vol. 311 Issue 1-3, p479. 47p.
Publication Year :
2004

Abstract

This work introduces a transformation methodology for functional logic programs based on needed narrowing, the optimal and complete operational principle for modern declarative languages which integrate the best features of functional and logic programming. We provide correctness results for the transformation system w.r.t. the set of computed values and answer substitutions and show that the prominent properties of needed narrowing—namely, the optimality w.r.t. the length of derivations and the number of computed solutions—carry over to the transformation process and the transformed programs. We illustrate the power of the system by taking on in our setting two well-known transformation strategies (composition and tupling). We also provide an implementation of the transformation system which, by means of some experimental results, highlights the potentiality of our approach. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
03043975
Volume :
311
Issue :
1-3
Database :
Academic Search Index
Journal :
Theoretical Computer Science
Publication Type :
Academic Journal
Accession number :
11884150
Full Text :
https://doi.org/10.1016/j.tcs.2003.10.033