Go backward to
Context Free Grammars And How To Implement Them In Prolog
Go up to
Top
Go forward to
Extending DCGs: Agreement
Difference Lists and Definite Clause Grammars
Introduction
Difference Lists
Background
Using Variable Tails to Add Items to the End of a List
Concatenation
Using Tail Concatenation in Practice
Definite Clause Grammars
Prolog Samples
A DCG for a Fragment of English
A Prolog Listing of the DCG
A Trace of the DCG
Exercises
<a.von.klopp@bangor.ac.uk>