A program specialiser for meta-level compositions of logic programs |
| |
Authors: | Antonio Brogi Simone Contiero |
| |
Affiliation: | (1) Dipartimento di Informatica, Università di Pisa, Corso Italia 40, 56125 Pisa, Italy |
| |
Abstract: | Metal-level compositions of object logic programs are naturally implemented by means of meta-programming techniques. Metainterpreters
defining program compositions however suffer from a computational overhead that is due partly to the interpretation layer
present in all meta-programs, and partly to the specific interpretation layer needed to deal with program compositions.
We show that meta-interpreters implementing compositions of object programs can be fruitfully specialised w.r.t. meta-level
queries of the form Demo (E, G), where E denotes a program expression and G denotes a (partially instantiated) object level
query. More precisely, we describe the design and implementation of declarative program specialiser that suitably transforms
such meta-interpreters so as to sensibly reduce — if not to completely remove — the overhead due to the handling of program
compositions. In many cases the specialiser succeeds in eliminating also the overhead due to meta-interpretation.
Antonio Brogi, Ph.D.: He is currently assistant professor in the Department of Computer Science at the University of Pisa, Italy. He received his
Laurea Degree in Computer Science (1987) and his Ph. D. in Computer Science (1993) from the University of Pisa. His research
interests include programming language design and semantics, logic programming, deductive databases, and software coordination.
Simone Contiero: He is currently a Ph. D. student at the Department of Computer Science, University of Pisa (Italy). He received his Laurea
Degree in Computer Science from the University of Pisa in 1994. His research interests are in high-level programming languages,
metaprogramming and logic-based coordination of software. |
| |
Keywords: | Program Transformation Composition Operations Meta-Logic |
本文献已被 SpringerLink 等数据库收录! |
|