Prolog Syntax

  • M. S. Dawe
  • C. M. Dawe


The usual command line prompt for Prolog is something similar to: ? — This implies that Prolog is waiting to be asked a question about its database. The examples in this book will include this prompt for convenience, so that they relate more closely to what can be seen on the screen. If an example does not contain this prompt, it is usually because an assertion is being made, and not a query. In this case, use the command consult or a text editor, as explained in the following pages.


Logical Connective Text Editor Operator Precedence Prolog Program Recursive Rule 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London Limited 1994

Authors and Affiliations

  • M. S. Dawe
    • 1
  • C. M. Dawe
    • 2
  1. 1.Department of Computer ScienceUniversity of ManchesterManchesterUK
  2. 2.Birch Tree HouseKentUK

Personalised recommendations