General
Material
Lecture 1
Lecture 2
Lecture 3
Lecture 4
Lecture 5

Write your own DCG parser

If you haven't done so already, do yesterday's "Write your own DCG" erxercise.

Then turn this DCG into a parser by adding an extra argument for constructing the parse tree, as we have done for the English grammar in the lecture.

Back to the practical session of day 5.