Execute a Markov algorithm: Difference between revisions
m
→{{header|Pascal}}: cosmetic
m (→{{header|Pascal}}: cosmetic) |
m (→{{header|Pascal}}: cosmetic) |
||
Line 3,629:
'the shop -> my brother' +LE+
'a never used -> .terminating rule';
Input:
(Scheme:
'# Slightly modified from the rules on Wikipedia' +LE+
Line 3,638:
'the shop -> my brother' +LE+
'a never used -> .terminating rule';
Input:
(Scheme:
'# BNF Syntax testing rules' +LE+
Line 3,651:
'the shop -> my brother' +LE+
'a never used -> .terminating rule';
Input:
(Scheme:
'### Unary Multiplication Engine, for testing Markov Algorithm implementations' +LE+
Line 3,681:
'1+_ -> 1' +LE+
'_+_ -> ';
Input:
(Scheme:
'# Turing machine: three-state busy beaver' +LE+
Line 3,701:
'0C1 -> H01' +LE+
'1C1 -> H11';
Input:
);
E_FMT = 'test #%d: expected "%s", but got "%s"';
|