Adobe PDF (360.39 kB)
Title Details:
Meta-Logical Programming - Higher-order categories
Authors: Sakellariou, Ilias
Vasileiadis, Nikolaos
Kefalas, Petros
Stamatis, Dimosthenis
Reviewer: Tsadiras, Athanasios
Description:
Abstract:
The meta-logical features of the language significantly enhance the capability to develop practical programs. This category includes solution-collection predicates (setof, findall, bagof), which are presented through some extremely elegant and concise examples. The chapter also introduces an extension of Prolog that allows encoding logics beyond first-order predicate logic: the variable call, which, exploiting the syntactic isomorphism between predicates and complex terms, permits the dynamic creation and invocation of queries during execution. The transformation of the program during execution is the next topic addressed, offering a simple way to modify the executable code itself. Finally, the chapter presents the concept of operators in Prolog and the methods for defining new operators, aimed at developing more flexible programs.
Type: Chapter
Creation Date: 2015
Item Details:
License: http://creativecommons.org/licenses/by-nc-sa/3.0/gr
Handle http://hdl.handle.net/11419/787
Bibliographic Reference: Sakellariou, I., Vasileiadis, N., Kefalas, P., & Stamatis, D. (2015). Meta-Logical Programming - Higher-order categories [Chapter]. In Sakellariou, I., Vasileiadis, N., Kefalas, P., & Stamatis, D. 2015. Logic Programming Techniques [Undergraduate textbook]. Kallipos, Open Academic Editions. https://hdl.handle.net/11419/787
Language: Greek
Consists of: 1. Κώδικας Prolog Κεφαλαίου 10
Is Part of: Logic Programming Techniques
Publication Origin: Kallipos, Open Academic Editions