This section contains a step-by-step walkthrough from a DATR theory to
a trace file. All files discussecd here can be found in the directory
zdatr/ example/. The example DATR theory is engcomp.dtr and was
developed in a class held at the University of Bielefeld
by Dafydd Gibbon
zdatrtok -i engcomp.dtr
Because no token file name was given to zdatrtok, the token file output is written to the file with the automatically generated name engcomp.dtr.tok.
Neither the DATR theory nor the token file will be listed in this document: the theory file is too long (it should be viewed using an editor) and the token file is quiet cryptic and not of general interest.
zdatrinf -t engcomp.dtr.tok
zdatrinf -i example.dtr.tok -d example.dec -q example.qry -t example.out -v 1By invoking zdatrtok the two files zdatr.log (see 6.3 and zdatr.err have been created. zdatr.err should be empty for this example, because no error should have appeared