[Next]
[Up]
[Previous]
[Contents]
Next: Definite clause grammar bodies
Up: Formulas
Previous: Atomic formulas
  Contents
The syntax of Prolog program clauses is summarized by the following grammar:
The first two forms are Horn clauses (expressed in implicational form).
That is, they are either a single predicate (a fact) or a predicate
qualified by a condition (a rule). The third form is
a definite clause grammar rule, which says that the nonterminal synbol
can be rewritten to the DCG body .
James Cheney
2003-10-23