]> Git — Sourcephile - haskell/symantic-parser.git/blob - test/Golden/Machine/some-string.dump
test: save
[haskell/symantic-parser.git] / test / Golden / Machine / some-string.dump
1 push ((flip ($)) ((flip ($)) Pure) . ((.) . cons))
2 name_1:
3 | catchFail
4 | <try>
5 | | push ((flip ($)) ((flip ($)) ((flip ($)) ((flip ($)) Pure . (cons . const 'd')) . ((.) . (cons . const 'c'))) . ((.) . ((.) . (cons . const 'b')))) . ((.) . ((.) . ((.) . (cons . const 'a')))))
6 | | read
7 | | lift ($)
8 | | read
9 | | lift ($)
10 | | read
11 | | lift ($)
12 | | read
13 | | lift ($)
14 | | popFail
15 | | ret
16 | <handler>
17 | loadInput
18 | fail
19 call name_1
20 lift ($)
21 name_2:
22 | catchFail
23 | <try>
24 | | push ((.) . cons)
25 | | call name_1
26 | | lift ($)
27 | | call name_2
28 | | lift ($)
29 | | popFail
30 | | ret
31 | <handler>
32 | pushInput
33 | lift Pure
34 | choices [id]
35 | <branch>
36 | | push id
37 | | ret
38 | <default>
39 | fail
40 call name_2
41 lift ($)
42 ret