]> Git — Sourcephile - haskell/symantic-parser.git/blob - test/Golden/Machine/some-string.dump
test: add string
[haskell/symantic-parser.git] / test / Golden / Machine / some-string.dump
1 push ((flip ($)) ((flip ($)) Haskell) . ((.) . cons))
2 name_2:
3 | catchFail
4 | <try>
5 | | push ((flip ($)) ((flip ($)) ((flip ($)) ((flip ($)) Haskell . (cons . const Haskell)) . ((.) . (cons . const Haskell))) . ((.) . ((.) . (cons . const Haskell)))) . ((.) . ((.) . ((.) . (cons . const Haskell)))))
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_2
20 lift ($)
21 name_1:
22 | catchFail
23 | <try>
24 | | push ((.) . cons)
25 | | call name_2
26 | | lift ($)
27 | | call name_1
28 | | lift ($)
29 | | popFail
30 | | ret
31 | <handler>
32 | pushInput
33 | lift InstrPureSameOffset
34 | choices [id]
35 | <branch>
36 | | push id
37 | | ret
38 | <default>
39 | fail
40 call name_1
41 lift ($)
42 ret