]> Git — Sourcephile - haskell/symantic-parser.git/blob - tests/Golden/Machine/G5.expected.txt
wip
[haskell/symantic-parser.git] / tests / Golden / Machine / G5.expected.txt
1 let name
2 minReads=4
3 mayRaise=[ExceptionFailure]
4 alwaysRaise=[]
5 freeRegs=[]
6 | catch ExceptionFailure
7 | minReads=4
8 | mayRaise=[ExceptionFailure]
9 | alwaysRaise=[]
10 | freeRegs=[]
11 | | <catchScope>
12 | | | pushValue (\u_0 -> \u_1 -> \u_2 -> \u_3 -> (GHC.Types.:) 'a' ((GHC.Types.:) 'b' ((GHC.Types.:) 'c' ((GHC.Types.:) 'd' GHC.Types.[]))))
13 | | | minReads=4
14 | | | mayRaise=[ExceptionFailure]
15 | | | alwaysRaise=[]
16 | | | freeRegs=[]
17 | | | comment "satisfy ((GHC.Classes.==) 'a')"
18 | | | minReads=4
19 | | | mayRaise=[ExceptionFailure]
20 | | | alwaysRaise=[]
21 | | | freeRegs=[]
22 | | | read ((GHC.Classes.==) 'a')
23 | | | minReads=4
24 | | | mayRaise=[ExceptionFailure]
25 | | | alwaysRaise=[]
26 | | | freeRegs=[]
27 | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
28 | | | minReads=3
29 | | | mayRaise=[ExceptionFailure]
30 | | | alwaysRaise=[]
31 | | | freeRegs=[]
32 | | | comment "satisfy ((GHC.Classes.==) 'b')"
33 | | | minReads=3
34 | | | mayRaise=[ExceptionFailure]
35 | | | alwaysRaise=[]
36 | | | freeRegs=[]
37 | | | read ((GHC.Classes.==) 'b')
38 | | | minReads=3
39 | | | mayRaise=[ExceptionFailure]
40 | | | alwaysRaise=[]
41 | | | freeRegs=[]
42 | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
43 | | | minReads=2
44 | | | mayRaise=[ExceptionFailure]
45 | | | alwaysRaise=[]
46 | | | freeRegs=[]
47 | | | comment "satisfy ((GHC.Classes.==) 'c')"
48 | | | minReads=2
49 | | | mayRaise=[ExceptionFailure]
50 | | | alwaysRaise=[]
51 | | | freeRegs=[]
52 | | | read ((GHC.Classes.==) 'c')
53 | | | minReads=2
54 | | | mayRaise=[ExceptionFailure]
55 | | | alwaysRaise=[]
56 | | | freeRegs=[]
57 | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
58 | | | minReads=1
59 | | | mayRaise=[ExceptionFailure]
60 | | | alwaysRaise=[]
61 | | | freeRegs=[]
62 | | | comment "satisfy ((GHC.Classes.==) 'd')"
63 | | | minReads=1
64 | | | mayRaise=[ExceptionFailure]
65 | | | alwaysRaise=[]
66 | | | freeRegs=[]
67 | | | read ((GHC.Classes.==) 'd')
68 | | | minReads=1
69 | | | mayRaise=[ExceptionFailure]
70 | | | alwaysRaise=[]
71 | | | freeRegs=[]
72 | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
73 | | | minReads=0
74 | | | mayRaise=[]
75 | | | alwaysRaise=[]
76 | | | freeRegs=[]
77 | | | commit ExceptionFailure
78 | | | minReads=0
79 | | | mayRaise=[]
80 | | | alwaysRaise=[]
81 | | | freeRegs=[]
82 | | | ret
83 | | | minReads=0
84 | | | mayRaise=[]
85 | | | alwaysRaise=[]
86 | | | freeRegs=[]
87 | | <onException ExceptionFailure>
88 | | | loadInput
89 | | | minReads=0
90 | | | mayRaise=[ExceptionFailure]
91 | | | alwaysRaise=[ExceptionFailure]
92 | | | freeRegs=[]
93 | | | fail []
94 | | | minReads=0
95 | | | mayRaise=[ExceptionFailure]
96 | | | alwaysRaise=[ExceptionFailure]
97 | | | freeRegs=[]
98 pushValue (\u_0 -> \u_1 -> \u_2 -> GHC.Show.show ((GHC.Types.:) u_0 u_1))
99 minReads=4
100 mayRaise=[ExceptionFailure]
101 alwaysRaise=[]
102 freeRegs=[]
103 call name
104 minReads=4
105 mayRaise=[ExceptionFailure]
106 alwaysRaise=[]
107 freeRegs=[]
108 lift2Value (\u_0 -> \u_1 -> u_0 u_1)
109 minReads=0
110 mayRaise=[ExceptionFailure]
111 alwaysRaise=[]
112 freeRegs=[]
113 pushValue (\u_0 -> u_0)
114 minReads=0
115 mayRaise=[ExceptionFailure]
116 alwaysRaise=[]
117 freeRegs=[]
118 newRegister reg
119 minReads=0
120 mayRaise=[ExceptionFailure]
121 alwaysRaise=[]
122 freeRegs=[]
123 iter loop
124 minReads=0
125 mayRaise=[ExceptionFailure]
126 alwaysRaise=[]
127 freeRegs=[reg]
128 | <ok>
129 | | pushValue (GHC.Types.:)
130 | | minReads=4
131 | | mayRaise=[ExceptionFailure]
132 | | alwaysRaise=[]
133 | | freeRegs=[reg]
134 | | call name
135 | | minReads=4
136 | | mayRaise=[ExceptionFailure]
137 | | alwaysRaise=[]
138 | | freeRegs=[reg]
139 | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
140 | | minReads=0
141 | | mayRaise=[]
142 | | alwaysRaise=[]
143 | | freeRegs=[reg]
144 | | pushValue (\u_0 -> \u_1 -> \u_2 -> u_1 (u_0 u_2))
145 | | minReads=0
146 | | mayRaise=[]
147 | | alwaysRaise=[]
148 | | freeRegs=[reg]
149 | | lift2Value (\u_0 -> \u_1 -> u_1 u_0)
150 | | minReads=0
151 | | mayRaise=[]
152 | | alwaysRaise=[]
153 | | freeRegs=[reg]
154 | | readRegister reg
155 | | minReads=0
156 | | mayRaise=[]
157 | | alwaysRaise=[]
158 | | freeRegs=[reg]
159 | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
160 | | minReads=0
161 | | mayRaise=[]
162 | | alwaysRaise=[]
163 | | freeRegs=[reg]
164 | | writeRegister reg
165 | | minReads=0
166 | | mayRaise=[]
167 | | alwaysRaise=[]
168 | | freeRegs=[reg]
169 | | jump loop
170 | | minReads=0
171 | | mayRaise=[]
172 | | alwaysRaise=[]
173 | | freeRegs=[]
174 | <ko>
175 | | comment "raiseAgainIfConsumed"
176 | | minReads=0
177 | | mayRaise=[ExceptionFailure]
178 | | alwaysRaise=[]
179 | | freeRegs=[reg]
180 | | saveInput
181 | | minReads=0
182 | | mayRaise=[ExceptionFailure]
183 | | alwaysRaise=[]
184 | | freeRegs=[reg]
185 | | lift2Value ((GHC.Classes.==) @GHC.Types.Int)
186 | | minReads=0
187 | | mayRaise=[ExceptionFailure]
188 | | alwaysRaise=[]
189 | | freeRegs=[reg]
190 | | choicesBranch
191 | | minReads=0
192 | | mayRaise=[ExceptionFailure]
193 | | alwaysRaise=[]
194 | | freeRegs=[reg]
195 | | | <branch (\u_0 -> u_0)>
196 | | | | readRegister reg
197 | | | | minReads=0
198 | | | | mayRaise=[ExceptionFailure]
199 | | | | alwaysRaise=[]
200 | | | | freeRegs=[reg]
201 | | | | pushValue GHC.Types.[]
202 | | | | minReads=0
203 | | | | mayRaise=[ExceptionFailure]
204 | | | | alwaysRaise=[]
205 | | | | freeRegs=[]
206 | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
207 | | | | minReads=0
208 | | | | mayRaise=[ExceptionFailure]
209 | | | | alwaysRaise=[]
210 | | | | freeRegs=[]
211 | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
212 | | | | minReads=0
213 | | | | mayRaise=[ExceptionFailure]
214 | | | | alwaysRaise=[]
215 | | | | freeRegs=[]
216 | | | | join join
217 | | | | minReads=0
218 | | | | mayRaise=[]
219 | | | | alwaysRaise=[]
220 | | | | freeRegs=[]
221 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
222 | | | | | minReads=0
223 | | | | | mayRaise=[]
224 | | | | | alwaysRaise=[]
225 | | | | | freeRegs=[]
226 | | | | | ret
227 | | | | | minReads=0
228 | | | | | mayRaise=[]
229 | | | | | alwaysRaise=[]
230 | | | | | freeRegs=[]
231 | | | | catch ExceptionFailure
232 | | | | minReads=0
233 | | | | mayRaise=[ExceptionFailure]
234 | | | | alwaysRaise=[]
235 | | | | freeRegs=[]
236 | | | | | <catchScope>
237 | | | | | | comment "negLook"
238 | | | | | | minReads=0
239 | | | | | | mayRaise=[]
240 | | | | | | alwaysRaise=[]
241 | | | | | | freeRegs=[]
242 | | | | | | catch ExceptionFailure
243 | | | | | | minReads=0
244 | | | | | | mayRaise=[]
245 | | | | | | alwaysRaise=[]
246 | | | | | | freeRegs=[]
247 | | | | | | | <catchScope>
248 | | | | | | | | comment "negLook.ahead"
249 | | | | | | | | minReads=1
250 | | | | | | | | mayRaise=[ExceptionFailure]
251 | | | | | | | | alwaysRaise=[ExceptionFailure]
252 | | | | | | | | freeRegs=[]
253 | | | | | | | | saveInput
254 | | | | | | | | minReads=1
255 | | | | | | | | mayRaise=[ExceptionFailure]
256 | | | | | | | | alwaysRaise=[ExceptionFailure]
257 | | | | | | | | freeRegs=[]
258 | | | | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
259 | | | | | | | | minReads=1
260 | | | | | | | | mayRaise=[ExceptionFailure]
261 | | | | | | | | alwaysRaise=[ExceptionFailure]
262 | | | | | | | | freeRegs=[]
263 | | | | | | | | read (\u_0 -> GHC.Types.True)
264 | | | | | | | | minReads=1
265 | | | | | | | | mayRaise=[ExceptionFailure]
266 | | | | | | | | alwaysRaise=[ExceptionFailure]
267 | | | | | | | | freeRegs=[]
268 | | | | | | | | popValue
269 | | | | | | | | minReads=0
270 | | | | | | | | mayRaise=[ExceptionFailure]
271 | | | | | | | | alwaysRaise=[ExceptionFailure]
272 | | | | | | | | freeRegs=[]
273 | | | | | | | | commit ExceptionFailure
274 | | | | | | | | minReads=0
275 | | | | | | | | mayRaise=[ExceptionFailure]
276 | | | | | | | | alwaysRaise=[ExceptionFailure]
277 | | | | | | | | freeRegs=[]
278 | | | | | | | | loadInput
279 | | | | | | | | minReads=0
280 | | | | | | | | mayRaise=[ExceptionFailure]
281 | | | | | | | | alwaysRaise=[ExceptionFailure]
282 | | | | | | | | freeRegs=[]
283 | | | | | | | | fail []
284 | | | | | | | | minReads=0
285 | | | | | | | | mayRaise=[ExceptionFailure]
286 | | | | | | | | alwaysRaise=[ExceptionFailure]
287 | | | | | | | | freeRegs=[]
288 | | | | | | | <onException ExceptionFailure>
289 | | | | | | | | comment "negLook.reset"
290 | | | | | | | | minReads=0
291 | | | | | | | | mayRaise=[]
292 | | | | | | | | alwaysRaise=[]
293 | | | | | | | | freeRegs=[]
294 | | | | | | | | loadInput
295 | | | | | | | | minReads=0
296 | | | | | | | | mayRaise=[]
297 | | | | | | | | alwaysRaise=[]
298 | | | | | | | | freeRegs=[]
299 | | | | | | | | pushValue GHC.Tuple.()
300 | | | | | | | | minReads=0
301 | | | | | | | | mayRaise=[]
302 | | | | | | | | alwaysRaise=[]
303 | | | | | | | | freeRegs=[]
304 | | | | | | | | commit ExceptionFailure
305 | | | | | | | | minReads=0
306 | | | | | | | | mayRaise=[]
307 | | | | | | | | alwaysRaise=[]
308 | | | | | | | | freeRegs=[]
309 | | | | | | | | refJoin join
310 | | | | | | | | minReads=0
311 | | | | | | | | mayRaise=[]
312 | | | | | | | | alwaysRaise=[]
313 | | | | | | | | freeRegs=[]
314 | | | | | <onException ExceptionFailure>
315 | | | | | | comment "raiseAgainIfConsumed"
316 | | | | | | minReads=0
317 | | | | | | mayRaise=[ExceptionFailure]
318 | | | | | | alwaysRaise=[]
319 | | | | | | freeRegs=[]
320 | | | | | | saveInput
321 | | | | | | minReads=0
322 | | | | | | mayRaise=[ExceptionFailure]
323 | | | | | | alwaysRaise=[]
324 | | | | | | freeRegs=[]
325 | | | | | | lift2Value ((GHC.Classes.==) @GHC.Types.Int)
326 | | | | | | minReads=0
327 | | | | | | mayRaise=[ExceptionFailure]
328 | | | | | | alwaysRaise=[]
329 | | | | | | freeRegs=[]
330 | | | | | | choicesBranch
331 | | | | | | minReads=0
332 | | | | | | mayRaise=[ExceptionFailure]
333 | | | | | | alwaysRaise=[]
334 | | | | | | freeRegs=[]
335 | | | | | | | <branch (\u_0 -> u_0)>
336 | | | | | | | | comment "eof.fail"
337 | | | | | | | | minReads=0
338 | | | | | | | | mayRaise=[ExceptionFailure]
339 | | | | | | | | alwaysRaise=[ExceptionFailure]
340 | | | | | | | | freeRegs=[]
341 | | | | | | | | fail [FailureEnd]
342 | | | | | | | | minReads=0
343 | | | | | | | | mayRaise=[ExceptionFailure]
344 | | | | | | | | alwaysRaise=[ExceptionFailure]
345 | | | | | | | | freeRegs=[]
346 | | | | | | | <default>
347 | | | | | | | | fail []
348 | | | | | | | | minReads=0
349 | | | | | | | | mayRaise=[ExceptionFailure]
350 | | | | | | | | alwaysRaise=[ExceptionFailure]
351 | | | | | | | | freeRegs=[]
352 | | | <default>
353 | | | | fail []
354 | | | | minReads=0
355 | | | | mayRaise=[ExceptionFailure]
356 | | | | alwaysRaise=[ExceptionFailure]
357 | | | | freeRegs=[]