mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 11:54:02 +00:00
Estimated hours taken: 4 extras/trailed_update/samples/interpreter.m: New file. An example of the use of tr_store.m. samples/interpreter.m: Add pointer to extras/trailed_update/samples/interpreter.m. extras/trailed_update/Mmakefile: extras/trailed_update/samples/interpreter.inp: extras/trailed_update/samples/interpreter.exp: extras/trailed_update/samples/vqueens.exp: New files. Some testing infrastructure.
11 lines
141 B
Plaintext
11 lines
141 B
Plaintext
% this file contains some test cases
|
|
a = a.
|
|
X = X.
|
|
a = b.
|
|
X = f(X).
|
|
X = Y.
|
|
true ; true.
|
|
:- Declaration.
|
|
Head :- Body.
|
|
DCG_Head --> DCG_Body.
|