KnowledgeWorks and Prolog User Guide
>
A Common Prolog
>
A.9 Defining Definite Clause Grammars
A.9.1 Examples
Here are some examples of using
defgrammar
.
A.9.1.1 Example 1: A simple definition.
A.9.1.2 Example 2: Using extra arguments.
KnowledgeWorks and Prolog User Guide (Unix version) - 22 Dec 2009