]> Git — Sourcephile - haskell/symantic-parser.git/blob - tests/Golden/Machine/G13.expected.txt
!fixup impl: move `liftTypedString` to `Language.Haskell.TH.Show`
[haskell/symantic-parser.git] / tests / Golden / Machine / G13.expected.txt
1 let name
2 minReads=0
3 mayRaise=[ExceptionFailure]
4 alwaysRaise=[]
5 freeRegs=[]
6 | pushValue (\u_0 -> GHC.Tuple.())
7 | minReads=0
8 | mayRaise=[ExceptionFailure]
9 | alwaysRaise=[]
10 | freeRegs=[]
11 | pushValue (\u_0 -> u_0)
12 | minReads=0
13 | mayRaise=[ExceptionFailure]
14 | alwaysRaise=[]
15 | freeRegs=[]
16 | newRegister reg
17 | minReads=0
18 | mayRaise=[ExceptionFailure]
19 | alwaysRaise=[]
20 | freeRegs=[]
21 | iter loop
22 | minReads=0
23 | mayRaise=[ExceptionFailure]
24 | alwaysRaise=[]
25 | freeRegs=[reg]
26 | | <ok>
27 | | | pushValue (\u_0 -> \u_1 -> u_1)
28 | | | minReads=1
29 | | | mayRaise=[ExceptionFailure]
30 | | | alwaysRaise=[]
31 | | | freeRegs=[reg]
32 | | | comment "satisfy (\\c_0 -> GHC.Classes.not (('<' GHC.Classes.== c_0) GHC.Classes.|| (('>' GHC.Classes.== c_0) GHC.Classes.|| (('+' GHC.Classes.== c_0) GHC.Classes.|| (('-' GHC.Classes.== c_0) GHC.Classes.|| ((',' GHC.Classes.== c_0) GHC.Classes.|| (('.' GHC.Classes.== c_0) GHC.Classes.|| (('[' GHC.Classes.== c_0) GHC.Classes.|| ((']' GHC.Classes.== c_0) GHC.Classes.|| GHC.Types.False)))))))))"
33 | | | minReads=1
34 | | | mayRaise=[ExceptionFailure]
35 | | | alwaysRaise=[]
36 | | | freeRegs=[reg]
37 | | | read (\c_0 -> GHC.Classes.not (('<' GHC.Classes.== c_0) GHC.Classes.|| (('>' GHC.Classes.== c_0) GHC.Classes.|| (('+' GHC.Classes.== c_0) GHC.Classes.|| (('-' GHC.Classes.== c_0) GHC.Classes.|| ((',' GHC.Classes.== c_0) GHC.Classes.|| (('.' GHC.Classes.== c_0) GHC.Classes.|| (('[' GHC.Classes.== c_0) GHC.Classes.|| ((']' GHC.Classes.== c_0) GHC.Classes.|| GHC.Types.False)))))))))
38 | | | minReads=1
39 | | | mayRaise=[ExceptionFailure]
40 | | | alwaysRaise=[]
41 | | | freeRegs=[reg]
42 | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
43 | | | minReads=0
44 | | | mayRaise=[]
45 | | | alwaysRaise=[]
46 | | | freeRegs=[reg]
47 | | | readRegister reg
48 | | | minReads=0
49 | | | mayRaise=[]
50 | | | alwaysRaise=[]
51 | | | freeRegs=[reg]
52 | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
53 | | | minReads=0
54 | | | mayRaise=[]
55 | | | alwaysRaise=[]
56 | | | freeRegs=[reg]
57 | | | writeRegister reg
58 | | | minReads=0
59 | | | mayRaise=[]
60 | | | alwaysRaise=[]
61 | | | freeRegs=[reg]
62 | | | jump loop
63 | | | minReads=0
64 | | | mayRaise=[]
65 | | | alwaysRaise=[]
66 | | | freeRegs=[]
67 | | <ko>
68 | | | comment "raiseAgainIfConsumed"
69 | | | minReads=0
70 | | | mayRaise=[ExceptionFailure]
71 | | | alwaysRaise=[]
72 | | | freeRegs=[reg]
73 | | | saveInput
74 | | | minReads=0
75 | | | mayRaise=[ExceptionFailure]
76 | | | alwaysRaise=[]
77 | | | freeRegs=[reg]
78 | | | lift2Value ((GHC.Classes.==) @GHC.Types.Int)
79 | | | minReads=0
80 | | | mayRaise=[ExceptionFailure]
81 | | | alwaysRaise=[]
82 | | | freeRegs=[reg]
83 | | | choicesBranch
84 | | | minReads=0
85 | | | mayRaise=[ExceptionFailure]
86 | | | alwaysRaise=[]
87 | | | freeRegs=[reg]
88 | | | | <branch (\u_0 -> u_0)>
89 | | | | | readRegister reg
90 | | | | | minReads=0
91 | | | | | mayRaise=[]
92 | | | | | alwaysRaise=[]
93 | | | | | freeRegs=[reg]
94 | | | | | pushValue GHC.Tuple.()
95 | | | | | minReads=0
96 | | | | | mayRaise=[]
97 | | | | | alwaysRaise=[]
98 | | | | | freeRegs=[]
99 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
100 | | | | | minReads=0
101 | | | | | mayRaise=[]
102 | | | | | alwaysRaise=[]
103 | | | | | freeRegs=[]
104 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
105 | | | | | minReads=0
106 | | | | | mayRaise=[]
107 | | | | | alwaysRaise=[]
108 | | | | | freeRegs=[]
109 | | | | | ret
110 | | | | | minReads=0
111 | | | | | mayRaise=[]
112 | | | | | alwaysRaise=[]
113 | | | | | freeRegs=[]
114 | | | | <default>
115 | | | | | fail []
116 | | | | | minReads=0
117 | | | | | mayRaise=[ExceptionFailure]
118 | | | | | alwaysRaise=[ExceptionFailure]
119 | | | | | freeRegs=[]
120 let name
121 minReads=0
122 mayRaise=[ExceptionFailure]
123 alwaysRaise=[]
124 freeRegs=[]
125 | pushValue (\u_0 -> u_0)
126 | minReads=0
127 | mayRaise=[ExceptionFailure]
128 | alwaysRaise=[]
129 | freeRegs=[]
130 | newRegister reg
131 | minReads=0
132 | mayRaise=[ExceptionFailure]
133 | alwaysRaise=[]
134 | freeRegs=[]
135 | iter loop
136 | minReads=0
137 | mayRaise=[ExceptionFailure]
138 | alwaysRaise=[]
139 | freeRegs=[reg]
140 | | <ok>
141 | | | pushValue (\u_0 -> \u_1 -> (GHC.Types.:) u_0)
142 | | | minReads=1
143 | | | mayRaise=[ExceptionFailure]
144 | | | alwaysRaise=[]
145 | | | freeRegs=[reg]
146 | | | join join
147 | | | minReads=0
148 | | | mayRaise=[ExceptionFailure]
149 | | | alwaysRaise=[]
150 | | | freeRegs=[reg]
151 | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
152 | | | | minReads=0
153 | | | | mayRaise=[ExceptionFailure]
154 | | | | alwaysRaise=[]
155 | | | | freeRegs=[reg]
156 | | | | call name
157 | | | | minReads=0
158 | | | | mayRaise=[ExceptionFailure]
159 | | | | alwaysRaise=[]
160 | | | | freeRegs=[reg]
161 | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
162 | | | | minReads=0
163 | | | | mayRaise=[]
164 | | | | alwaysRaise=[]
165 | | | | freeRegs=[reg]
166 | | | | pushValue (\u_0 -> \u_1 -> \u_2 -> u_1 (u_0 u_2))
167 | | | | minReads=0
168 | | | | mayRaise=[]
169 | | | | alwaysRaise=[]
170 | | | | freeRegs=[reg]
171 | | | | lift2Value (\u_0 -> \u_1 -> u_1 u_0)
172 | | | | minReads=0
173 | | | | mayRaise=[]
174 | | | | alwaysRaise=[]
175 | | | | freeRegs=[reg]
176 | | | | readRegister reg
177 | | | | minReads=0
178 | | | | mayRaise=[]
179 | | | | alwaysRaise=[]
180 | | | | freeRegs=[reg]
181 | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
182 | | | | minReads=0
183 | | | | mayRaise=[]
184 | | | | alwaysRaise=[]
185 | | | | freeRegs=[reg]
186 | | | | writeRegister reg
187 | | | | minReads=0
188 | | | | mayRaise=[]
189 | | | | alwaysRaise=[]
190 | | | | freeRegs=[reg]
191 | | | | jump loop
192 | | | | minReads=0
193 | | | | mayRaise=[]
194 | | | | alwaysRaise=[]
195 | | | | freeRegs=[]
196 | | | comment "look"
197 | | | minReads=1
198 | | | mayRaise=[ExceptionFailure]
199 | | | alwaysRaise=[]
200 | | | freeRegs=[reg]
201 | | | saveInput
202 | | | minReads=1
203 | | | mayRaise=[ExceptionFailure]
204 | | | alwaysRaise=[]
205 | | | freeRegs=[reg]
206 | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
207 | | | minReads=1
208 | | | mayRaise=[ExceptionFailure]
209 | | | alwaysRaise=[]
210 | | | freeRegs=[reg]
211 | | | read (\u_0 -> GHC.Types.True)
212 | | | minReads=1
213 | | | mayRaise=[ExceptionFailure]
214 | | | alwaysRaise=[]
215 | | | freeRegs=[reg]
216 | | | swapValue
217 | | | minReads=0
218 | | | mayRaise=[ExceptionFailure]
219 | | | alwaysRaise=[]
220 | | | freeRegs=[reg]
221 | | | loadInput
222 | | | minReads=0
223 | | | mayRaise=[ExceptionFailure]
224 | | | alwaysRaise=[]
225 | | | freeRegs=[reg]
226 | | | choicesBranch
227 | | | minReads=1
228 | | | mayRaise=[ExceptionFailure]
229 | | | alwaysRaise=[]
230 | | | freeRegs=[reg]
231 | | | | <branch (\x_0 -> (GHC.Classes.==) '<' x_0)>
232 | | | | | pushValue (\u_0 -> Parsers.Brainfuck.Types.Backward)
233 | | | | | minReads=1
234 | | | | | mayRaise=[ExceptionFailure]
235 | | | | | alwaysRaise=[]
236 | | | | | freeRegs=[reg]
237 | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
238 | | | | | minReads=1
239 | | | | | mayRaise=[ExceptionFailure]
240 | | | | | alwaysRaise=[]
241 | | | | | freeRegs=[reg]
242 | | | | | read (\u_0 -> GHC.Types.True)
243 | | | | | minReads=1
244 | | | | | mayRaise=[ExceptionFailure]
245 | | | | | alwaysRaise=[]
246 | | | | | freeRegs=[reg]
247 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
248 | | | | | minReads=0
249 | | | | | mayRaise=[ExceptionFailure]
250 | | | | | alwaysRaise=[]
251 | | | | | freeRegs=[reg]
252 | | | | | refJoin join
253 | | | | | minReads=0
254 | | | | | mayRaise=[ExceptionFailure]
255 | | | | | alwaysRaise=[]
256 | | | | | freeRegs=[reg]
257 | | | | <branch (\x_0 -> (GHC.Classes.==) '>' x_0)>
258 | | | | | pushValue (\u_0 -> Parsers.Brainfuck.Types.Forward)
259 | | | | | minReads=1
260 | | | | | mayRaise=[ExceptionFailure]
261 | | | | | alwaysRaise=[]
262 | | | | | freeRegs=[reg]
263 | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
264 | | | | | minReads=1
265 | | | | | mayRaise=[ExceptionFailure]
266 | | | | | alwaysRaise=[]
267 | | | | | freeRegs=[reg]
268 | | | | | read (\u_0 -> GHC.Types.True)
269 | | | | | minReads=1
270 | | | | | mayRaise=[ExceptionFailure]
271 | | | | | alwaysRaise=[]
272 | | | | | freeRegs=[reg]
273 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
274 | | | | | minReads=0
275 | | | | | mayRaise=[ExceptionFailure]
276 | | | | | alwaysRaise=[]
277 | | | | | freeRegs=[reg]
278 | | | | | refJoin join
279 | | | | | minReads=0
280 | | | | | mayRaise=[ExceptionFailure]
281 | | | | | alwaysRaise=[]
282 | | | | | freeRegs=[reg]
283 | | | | <branch (\x_0 -> (GHC.Classes.==) '+' x_0)>
284 | | | | | pushValue (\u_0 -> Parsers.Brainfuck.Types.Increment)
285 | | | | | minReads=1
286 | | | | | mayRaise=[ExceptionFailure]
287 | | | | | alwaysRaise=[]
288 | | | | | freeRegs=[reg]
289 | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
290 | | | | | minReads=1
291 | | | | | mayRaise=[ExceptionFailure]
292 | | | | | alwaysRaise=[]
293 | | | | | freeRegs=[reg]
294 | | | | | read (\u_0 -> GHC.Types.True)
295 | | | | | minReads=1
296 | | | | | mayRaise=[ExceptionFailure]
297 | | | | | alwaysRaise=[]
298 | | | | | freeRegs=[reg]
299 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
300 | | | | | minReads=0
301 | | | | | mayRaise=[ExceptionFailure]
302 | | | | | alwaysRaise=[]
303 | | | | | freeRegs=[reg]
304 | | | | | refJoin join
305 | | | | | minReads=0
306 | | | | | mayRaise=[ExceptionFailure]
307 | | | | | alwaysRaise=[]
308 | | | | | freeRegs=[reg]
309 | | | | <branch (\x_0 -> (GHC.Classes.==) '-' x_0)>
310 | | | | | pushValue (\u_0 -> Parsers.Brainfuck.Types.Decrement)
311 | | | | | minReads=1
312 | | | | | mayRaise=[ExceptionFailure]
313 | | | | | alwaysRaise=[]
314 | | | | | freeRegs=[reg]
315 | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
316 | | | | | minReads=1
317 | | | | | mayRaise=[ExceptionFailure]
318 | | | | | alwaysRaise=[]
319 | | | | | freeRegs=[reg]
320 | | | | | read (\u_0 -> GHC.Types.True)
321 | | | | | minReads=1
322 | | | | | mayRaise=[ExceptionFailure]
323 | | | | | alwaysRaise=[]
324 | | | | | freeRegs=[reg]
325 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
326 | | | | | minReads=0
327 | | | | | mayRaise=[ExceptionFailure]
328 | | | | | alwaysRaise=[]
329 | | | | | freeRegs=[reg]
330 | | | | | refJoin join
331 | | | | | minReads=0
332 | | | | | mayRaise=[ExceptionFailure]
333 | | | | | alwaysRaise=[]
334 | | | | | freeRegs=[reg]
335 | | | | <branch (\x_0 -> (GHC.Classes.==) ',' x_0)>
336 | | | | | pushValue (\u_0 -> Parsers.Brainfuck.Types.Input)
337 | | | | | minReads=1
338 | | | | | mayRaise=[ExceptionFailure]
339 | | | | | alwaysRaise=[]
340 | | | | | freeRegs=[reg]
341 | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
342 | | | | | minReads=1
343 | | | | | mayRaise=[ExceptionFailure]
344 | | | | | alwaysRaise=[]
345 | | | | | freeRegs=[reg]
346 | | | | | read (\u_0 -> GHC.Types.True)
347 | | | | | minReads=1
348 | | | | | mayRaise=[ExceptionFailure]
349 | | | | | alwaysRaise=[]
350 | | | | | freeRegs=[reg]
351 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
352 | | | | | minReads=0
353 | | | | | mayRaise=[ExceptionFailure]
354 | | | | | alwaysRaise=[]
355 | | | | | freeRegs=[reg]
356 | | | | | refJoin join
357 | | | | | minReads=0
358 | | | | | mayRaise=[ExceptionFailure]
359 | | | | | alwaysRaise=[]
360 | | | | | freeRegs=[reg]
361 | | | | <branch (\x_0 -> (GHC.Classes.==) '.' x_0)>
362 | | | | | pushValue (\u_0 -> Parsers.Brainfuck.Types.Output)
363 | | | | | minReads=1
364 | | | | | mayRaise=[ExceptionFailure]
365 | | | | | alwaysRaise=[]
366 | | | | | freeRegs=[reg]
367 | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
368 | | | | | minReads=1
369 | | | | | mayRaise=[ExceptionFailure]
370 | | | | | alwaysRaise=[]
371 | | | | | freeRegs=[reg]
372 | | | | | read (\u_0 -> GHC.Types.True)
373 | | | | | minReads=1
374 | | | | | mayRaise=[ExceptionFailure]
375 | | | | | alwaysRaise=[]
376 | | | | | freeRegs=[reg]
377 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
378 | | | | | minReads=0
379 | | | | | mayRaise=[ExceptionFailure]
380 | | | | | alwaysRaise=[]
381 | | | | | freeRegs=[reg]
382 | | | | | refJoin join
383 | | | | | minReads=0
384 | | | | | mayRaise=[ExceptionFailure]
385 | | | | | alwaysRaise=[]
386 | | | | | freeRegs=[reg]
387 | | | | <branch (\x_0 -> (GHC.Classes.==) '[' x_0)>
388 | | | | | pushValue (\u_0 -> \u_1 -> \u_2 -> \u_3 -> Parsers.Brainfuck.Types.Loop u_2)
389 | | | | | minReads=1
390 | | | | | mayRaise=[ExceptionFailure]
391 | | | | | alwaysRaise=[]
392 | | | | | freeRegs=[]
393 | | | | | comment "satisfy (GHC.Base.const GHC.Types.True)"
394 | | | | | minReads=1
395 | | | | | mayRaise=[ExceptionFailure]
396 | | | | | alwaysRaise=[]
397 | | | | | freeRegs=[]
398 | | | | | read (\u_0 -> GHC.Types.True)
399 | | | | | minReads=1
400 | | | | | mayRaise=[ExceptionFailure]
401 | | | | | alwaysRaise=[]
402 | | | | | freeRegs=[]
403 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
404 | | | | | minReads=0
405 | | | | | mayRaise=[ExceptionFailure]
406 | | | | | alwaysRaise=[]
407 | | | | | freeRegs=[]
408 | | | | | call name
409 | | | | | minReads=0
410 | | | | | mayRaise=[ExceptionFailure]
411 | | | | | alwaysRaise=[]
412 | | | | | freeRegs=[]
413 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
414 | | | | | minReads=0
415 | | | | | mayRaise=[]
416 | | | | | alwaysRaise=[]
417 | | | | | freeRegs=[]
418 | | | | | call name
419 | | | | | minReads=0
420 | | | | | mayRaise=[]
421 | | | | | alwaysRaise=[]
422 | | | | | freeRegs=[]
423 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
424 | | | | | minReads=1
425 | | | | | mayRaise=[ExceptionFailure]
426 | | | | | alwaysRaise=[]
427 | | | | | freeRegs=[reg]
428 | | | | | comment "satisfy ((GHC.Classes.==) ']')"
429 | | | | | minReads=1
430 | | | | | mayRaise=[ExceptionFailure]
431 | | | | | alwaysRaise=[]
432 | | | | | freeRegs=[reg]
433 | | | | | read ((GHC.Classes.==) ']')
434 | | | | | minReads=1
435 | | | | | mayRaise=[ExceptionFailure]
436 | | | | | alwaysRaise=[]
437 | | | | | freeRegs=[reg]
438 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
439 | | | | | minReads=0
440 | | | | | mayRaise=[ExceptionFailure]
441 | | | | | alwaysRaise=[]
442 | | | | | freeRegs=[reg]
443 | | | | | refJoin join
444 | | | | | minReads=0
445 | | | | | mayRaise=[ExceptionFailure]
446 | | | | | alwaysRaise=[]
447 | | | | | freeRegs=[reg]
448 | | | | <default>
449 | | | | | fail [FailureEmpty]
450 | | | | | minReads=0
451 | | | | | mayRaise=[ExceptionFailure]
452 | | | | | alwaysRaise=[ExceptionFailure]
453 | | | | | freeRegs=[]
454 | | <ko>
455 | | | comment "raiseAgainIfConsumed"
456 | | | minReads=0
457 | | | mayRaise=[ExceptionFailure]
458 | | | alwaysRaise=[]
459 | | | freeRegs=[reg]
460 | | | saveInput
461 | | | minReads=0
462 | | | mayRaise=[ExceptionFailure]
463 | | | alwaysRaise=[]
464 | | | freeRegs=[reg]
465 | | | lift2Value ((GHC.Classes.==) @GHC.Types.Int)
466 | | | minReads=0
467 | | | mayRaise=[ExceptionFailure]
468 | | | alwaysRaise=[]
469 | | | freeRegs=[reg]
470 | | | choicesBranch
471 | | | minReads=0
472 | | | mayRaise=[ExceptionFailure]
473 | | | alwaysRaise=[]
474 | | | freeRegs=[reg]
475 | | | | <branch (\u_0 -> u_0)>
476 | | | | | readRegister reg
477 | | | | | minReads=0
478 | | | | | mayRaise=[]
479 | | | | | alwaysRaise=[]
480 | | | | | freeRegs=[reg]
481 | | | | | pushValue GHC.Types.[]
482 | | | | | minReads=0
483 | | | | | mayRaise=[]
484 | | | | | alwaysRaise=[]
485 | | | | | freeRegs=[]
486 | | | | | lift2Value (\u_0 -> \u_1 -> u_0 u_1)
487 | | | | | minReads=0
488 | | | | | mayRaise=[]
489 | | | | | alwaysRaise=[]
490 | | | | | freeRegs=[]
491 | | | | | ret
492 | | | | | minReads=0
493 | | | | | mayRaise=[]
494 | | | | | alwaysRaise=[]
495 | | | | | freeRegs=[]
496 | | | | <default>
497 | | | | | fail []
498 | | | | | minReads=0
499 | | | | | mayRaise=[ExceptionFailure]
500 | | | | | alwaysRaise=[ExceptionFailure]
501 | | | | | freeRegs=[]
502 pushValue (\u_0 -> \u_1 -> GHC.Show.show u_1)
503 minReads=0
504 mayRaise=[ExceptionFailure]
505 alwaysRaise=[]
506 freeRegs=[]
507 call name
508 minReads=0
509 mayRaise=[ExceptionFailure]
510 alwaysRaise=[]
511 freeRegs=[]
512 lift2Value (\u_0 -> \u_1 -> u_0 u_1)
513 minReads=0
514 mayRaise=[ExceptionFailure]
515 alwaysRaise=[]
516 freeRegs=[]
517 call name
518 minReads=0
519 mayRaise=[ExceptionFailure]
520 alwaysRaise=[]
521 freeRegs=[]
522 lift2Value (\u_0 -> \u_1 -> u_0 u_1)
523 minReads=0
524 mayRaise=[]
525 alwaysRaise=[]
526 freeRegs=[]
527 ret
528 minReads=0
529 mayRaise=[]
530 alwaysRaise=[]
531 freeRegs=[]