next up previous
Next: Code Examples Up: Definite Clause Grammars Previous: How do DCGs

Finding out for yourself

If you want to experiment with DCGs here are a few things you should know:

There are two ways to call a procedure which you have defined using DCGs:

If you want to see how the Prolog system will translate your DCGs into ordinary clauses there are two ways in which you can do this:



Dave Stuart Robertson
Tue Jul 7 10:44:26 BST 1998