blob: c4bbf5b773d72ef508116c521359d2bfb2e0cd86 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
if \1
<letter \1> : "\1"
else if \2
<letter \2> : "\2"
else if \3
<letter \3> : "\3"
else
<letter \4> : "\4"
end if
<letter a> : "a"
# (if (@ 1 0-2) ‘\1’
# (.inner
# (map (@ 2 2-2)
# (.sequence
# (keys (@ 2 2-13) ‘<letter \1>’)
# )
# (.result
# (string (@ 2 16-20) ‘"\1"’)
# )
# )
# )
# (.otherwise
# (if (@ 3 3-7) ‘\2’
# (.inner
# (map (@ 4 4-4)
# (.sequence
# (keys (@ 4 4-15) ‘<letter \2>’)
# )
# (.result
# (string (@ 4 18-22) ‘"\2"’)
# )
# )
# )
# (.otherwise
# (if (@ 5 3-7) ‘\3’
# (.inner
# (map (@ 6 4-4)
# (.sequence
# (keys (@ 6 4-15) ‘<letter \3>’)
# )
# (.result
# (string (@ 6 18-22) ‘"\3"’)
# )
# )
# )
# (.otherwise
# (map (@ 8 4-4)
# (.sequence
# (keys (@ 8 4-15) ‘<letter \4>’)
# )
# (.result
# (string (@ 8 18-22) ‘"\4"’)
# )
# )
# )
# )
# )
# )
# )
# )
# (map (@ 10 0-0)
# (.sequence
# (keys (@ 10 0-10) ‘<letter a>’)
# )
# (.result
# (string (@ 10 13-16) ‘"a"’)
# )
# )
|