Title Details: | |
Semantics of Prolog Programs |
|
Authors: |
Sakellariou, Ilias Vasileiadis, Nikolaos Kefalas, Petros Stamatis, Dimosthenis |
Reviewer: |
Tsadiras, Athanasios |
Description: | |
Abstract: |
The chapter begins with an introduction to the unification process—the core mechanism for variable assignment and parameter passing—which is one of the most powerful features of the language. Through progressively more complex examples, the concept of the most general unifier is explained. Having established the unification process, the chapter then describes how the proof procedure, based on the resolution principle, is implemented by Prolog’s execution engine to answer queries. Finally, using execution examples, the Prolog debugging mechanism—the "box model"—is presented, along with how it can be used to identify errors in logic 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/782 |
Bibliographic Reference: | Sakellariou, I., Vasileiadis, N., Kefalas, P., & Stamatis, D. (2015). Semantics of Prolog Programs [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/782 |
Language: |
Greek |
Consists of: |
1. Εκτέλεση Σύνθετης Ερώτησης 2. Εκτέλεση Ερώτησης στην Prolog 3. Prolog Debugging 4. ΚώδικαςProlog Κεφαλαίου 5 |
Is Part of: |
Logic Programming Techniques |
Publication Origin: |
Kallipos, Open Academic Editions |