Skip Navigation

The Computer Journal 1993 36(3):217-226; doi:10.1093/comjnl/36.3.217
© 1993 by British Computer Society
This Article
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Rossi, G.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

Programs as Data in an Extended Prolog

G. Rossi *

Dipartimento di Matematica e Informatica, Universita di Udine, Via Zanon, 6-33100 Udine, Italy

The ability to deal with programs as data is a valuable feature of a programming language which can be advantageously exploited in a number of different applications, particularly in the artificial intelligence field and in the construction of programming environment tools. In this paper we describe the facilities for dealing with programs as data supplied by an extended Prolog, called EnvProlog. Such facilities are considered from a meta-programming viewpoint and are based on the capability of the language to designate (object level) programs via structural descriptive names (i.e. program names and program structures). A number of new built-in meta-predicates are supplied dealing with programs and meta-level representations of programs. Examples are given showing some interesting applications of these new facilities, in particular for program structuring and program composition. Finally, the implementation of the programs as data facility within the EnvProlog interpreter is briefly discussed.


Received May 1991. revised September 1992.

* Current address: Dipartimento di Matematica, Universi di Bologna, P.zza Porta S. Donato 5, Bologna, Italy.

§ Dipartimento di Matematica e Informatica, Universita di Udine, Via Zanon, 6-33100 Udine, Italy


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.