We have recently deffned a framework for Narrowing-driven Partial Evaluation (NPE) of functional logic programs. This method is as powerful as partial deduction of logic programs and positive supercompilation of functional programs. Although it is possible to treat complex terms containing primitive functions (e.g. conjunctions or equations) in the NPE framework, its basic control mechanisms do not allow for effective polygenetic specialization of these complex expressions. We introduce a sophisticated unfolding rule endowed with a dynamic narrowing strategy which permits flexible scheduling of the elements (in conjunctions) which are reduced during specialization. We also present a novel abstraction operator which extends some partitioning techniques deffned in the framework of conjunctive partial deduction.We provide experimental results obtained from an implementation using the Indy system which demonstrate that the control reffnements produce better specializations. © 1998 Springer-Verlag Berlin Heidelberg.
Albert, A., Alpuente, M., Falaschi, M., Iranzo, P., Vidal, G. (1998). Improving Control in Functional Logic Program Specialization. In Proc. SAS'98 (pp.262-277). Springer [10.1007/3-540-49727-7_16].
Improving Control in Functional Logic Program Specialization
Falaschi M.;
1998-01-01
Abstract
We have recently deffned a framework for Narrowing-driven Partial Evaluation (NPE) of functional logic programs. This method is as powerful as partial deduction of logic programs and positive supercompilation of functional programs. Although it is possible to treat complex terms containing primitive functions (e.g. conjunctions or equations) in the NPE framework, its basic control mechanisms do not allow for effective polygenetic specialization of these complex expressions. We introduce a sophisticated unfolding rule endowed with a dynamic narrowing strategy which permits flexible scheduling of the elements (in conjunctions) which are reduced during specialization. We also present a novel abstraction operator which extends some partitioning techniques deffned in the framework of conjunctive partial deduction.We provide experimental results obtained from an implementation using the Indy system which demonstrate that the control reffnements produce better specializations. © 1998 Springer-Verlag Berlin Heidelberg.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/11365/36827
Attenzione
Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo