summaryrefslogtreecommitdiff
path: root/prolog/problems/denotational_semantics/prog_listswap_2/common.py
blob: e08337d0334ee0d8b3aa09055f0dad2b8d8c7f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
id = 175
number = 79
visible = False
facts = None

solution = '''\
program --> [begin], instructs175, [end].

instructs175 --> instr175.
instructs175 --> instr175, instructs175.

instr175 --> [left].
instr175 --> [right].
instr175 --> [swap].
'''