summaryrefslogtreecommitdiff
path: root/prolog/problems/denotational_semantics/prog_listswap_2/common.py
blob: 1f8b655ae98219b882fbed2d5f1f894ac25e11f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# coding=utf-8

id = 175
number = 79
visible = True
facts = None

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

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

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