A new generic scheme for functional logic programming with constraints |
| |
Authors: | Francisco J. López Fraguas Mario Rodríguez Artalejo Rafael del Vado Vírseda |
| |
Affiliation: | (1) Departamento de Sistemas Informáticos y Programación, Facultad de Informática de la Universidad Complutense de Madrid, C/ Prof. José García Santesmases, s/n., 28040 Madrid, Spain |
| |
Abstract: | In this paper we propose a new generic scheme CFLP풟, intended as a logical and semantic framework for lazy Constraint Functional Logic Programming over a parametrically given constraint domain 풟. As in the case of the well known CLP풟 scheme for Constraint Logic Programming, 풟 is assumed to provide domain specific data values and constraints. CFLP풟 programs are presented as sets of constrained rewrite rules that define the behavior of possibly higher order and/or non-deterministic lazy functions over 풟. As a main novelty w.r.t. previous related work, we present a Constraint Rewriting Logic CRWL풟 which provides a declarative semantics for CFLP풟 programs. This logic relies on a new formalization of constraint domains and program interpretations, which allows a flexible combination of domain specific data values and user defined data constructors, as well as a functional view of constraints. This research has been partially supported by the Spanish National Projects MELODIAS (TIC2002-01167), MERIT-FORMS (TIN2005-09207-C03-03) and PROMESAS-CAM (S-0505/TIC/0407). |
| |
Keywords: | Functional programming Logic programming Constraints |
本文献已被 SpringerLink 等数据库收录! |
|