Abstract
This chapter illustrates how Prolog can be used to develop applications of an ’Artificial Intelligence’ kind. It is shown how to implement (1) an artificial language to control the movements of an imaginary robot and (2) a shell program that can be used to construct a series of similar applications, in this case multiple-choice tests or quizzes.
-
Implement an artificial language of your own devising, using the techniques described elsewhere in this book. This will be illustrated by a simple language to control the movements of an imaginary robot
-
Implement a shell program, which can be used to construct a series of similar applications (the example used is a series of multiple-choice tests or quizzes). There are two phases to the implementation: the setup phase, during which the ’content’ of the application is read in from a data file and converted into facts placed in the Prolog database, and the execution phase where a dialogue with the user is automatically generated