Adventure in Prolog

From MaRDI portal





Prolog stands for PROgramming in LOGic. It was developed from a foundation of logical theorem proving and originally used for research in natural language processing. Although its popularity has sprung up mainly in the artificial intelligence (AI) community, where it has been used for applications such as expert systems, natural language, and intelligent databases, it is also useful for more conventional types of applications. It allows for more rapid development and prototyping than most languages because it is semantically close to the logical specification of a program. As such, it approaches the ideal of executable program specifications. Programming in Prolog is significantly different from conventional procedural programming and requires a readjustment in the way one thinks about programming. Logical relationships are asserted, and Prolog is used to determine whether or not certain statements are true, and if true, what variable bindings make them true. This leads to a very declarative style of programming. While Prolog is a fascinating language from a purely theoretical viewpoint, this book will stress Prolog as a practical programming language, well suited for full application development. Much of the book will be built around the writing of a short adventure game. The adventure game is a good example since it contains mundane programming constructs, symbolic reasoning, natural language, database, and logic. Through exercises you will also build a simple expert system, an intelligent genealogical database, and a mundane customer order entry application.











This page was built for publication: Adventure in Prolog

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3997228)