An Introduction to Programming in Prolog

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

This book is an introduction to Prolog (£rQgramming in ~ic). It presents the basic foundations of Prolog and basic and fundamental programming methods. This book is written for programmers familiar with other programming languages, as well as for novices in computer science, willing to have an original introduction to programming. The approach adopted in this book is thus based on methodological elements together with some pragmatic aspects. The book is composed of two parts. In the fIrst part the major aspects of programming in Prolog are presented step by step. Each new aspect is illustrated by short examples and exercises. The second part is composed of more developed examples, which are often games, that illustrate major aspects of artifIcial intelligence. More advanced books are given in the bibliography and will allow the reader to deepen his or her know ledge of Prolog. Prolog was first designed in France at OJ.A., Marseille, with a specific syntax. We have adopted here a more common notation, defIned at Edinburgh, which tends to be an implicit norm. At the end of each chapter of the fIrst part, there are exercises that the reader is invited to do and to test on his or her machine. Complete answers are given in Appendix A, at the end of the book.

Author(s): Patrick Saint-Dizier (auth.)
Edition: 1
Publisher: Springer-Verlag New York
Year: 1990

Language: English
Pages: 184
Tags: Artificial Intelligence (incl. Robotics); Programming Languages, Compilers, Interpreters; Programming Techniques

Front Matter....Pages i-xi
Representing Facts in Prolog....Pages 1-9
Querying the Fact Base....Pages 10-19
Expressing Rules....Pages 20-28
Syntax of Prolog. The Unification Mechanism....Pages 29-36
Arithmetic Operations....Pages 37-42
Procedures....Pages 43-48
Recursion....Pages 49-57
Structure and Management of Control....Pages 58-74
Lists....Pages 75-86
Predefined Predicates....Pages 87-95
Some Programming Advice....Pages 96-102
Formal Aspects of Programming in Logic....Pages 103-113
Playing with Words....Pages 114-124
Deductive Databases....Pages 125-139
An Expert System about Animals....Pages 140-147
Count It Out....Pages 148-153
The Automatic Analysis of Natural Language....Pages 154-168
Back Matter....Pages 169-184