1 \(input_0 :: inp_6989586621679325983) ->
9 let next_6 buf_7 pos_8 =
10 let !( Data.Text.Unsafe.Iter
13 ) = Symantic.Parser.Machine.Input.Text.Buffer.iter buf_7 pos_8
18 more_11 buf_12 pos_13 = pos_13 GHC.Classes.< Symantic.Parser.Machine.Input.Text.Buffer.length buf_12
19 append_14 = Symantic.Parser.Machine.Input.Text.Buffer.pappend
21 Symantic.Parser.Machine.Input.Text.Buffer.buffer input_0,
27 finalRet_15 = \_farInp_16 _farExp_17 v_18 _inp_19 _buf_20 _end_21 -> Symantic.Parser.Machine.Generate.returnST GHC.Base.$ Symantic.Parser.Machine.Generate.ResultDone v_18
28 finalRaise_22 :: Symantic.Parser.Machine.Generate.ForallOnException inp_6989586621679325983 =
29 Symantic.Parser.Machine.Generate.ForallOnException GHC.Base.$
30 ( \(!exn_23) _failInp_24 (!farInp_25) (!farExp_26) buf_27 end_28 ->
31 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
32 Symantic.Parser.Machine.Generate.ResultError
33 Symantic.Parser.Machine.Generate.ParsingError
34 { Symantic.Parser.Machine.Generate.parsingErrorOffset = Symantic.Parser.Machine.Input.position farInp_25,
35 Symantic.Parser.Machine.Generate.parsingErrorException = exn_23,
36 Symantic.Parser.Machine.Generate.parsingErrorUnexpected =
37 if readMore_3 buf_27 farInp_25
43 #) = readNext_4 buf_27 farInp_25
46 else GHC.Maybe.Nothing,
47 Symantic.Parser.Machine.Generate.parsingErrorExpecting =
51 Data.Set.Internal.foldr
55 ) -> case Symantic.Parser.Grammar.Combinators.unSomeFailure f_32 of
56 GHC.Maybe.Just (Symantic.Parser.Grammar.Combinators.FailureHorizon h_35 :: Symantic.Parser.Grammar.Combinators.Failure (Symantic.Parser.Grammar.Combinators.CombSatisfiable (Symantic.Parser.Machine.Input.InputToken inp_6989586621679325983)))
57 | GHC.Maybe.Just old_36 <- minH_33 ->
58 ( GHC.Maybe.Just (GHC.Classes.min old_36 h_35),
61 | GHC.Base.otherwise ->
62 ( GHC.Maybe.Just h_35,
67 f_32 GHC.Types.: acc_34
74 in Data.Set.Internal.fromList GHC.Base.$
76 GHC.Maybe.Just h_37 -> Symantic.Parser.Grammar.Combinators.SomeFailure (Symantic.Parser.Grammar.Combinators.FailureHorizon @(Symantic.Parser.Machine.Input.InputToken inp_6989586621679325983) h_37) GHC.Types.: res_31
77 GHC.Maybe.Nothing -> res_31
81 in let inputToken = Data.Proxy.Proxy :: Data.Proxy.Proxy (Symantic.Parser.Machine.Input.InputToken inp_6989586621679325983)
82 in let partialCont_38 buf_39 =
83 let readFail_40 = Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22
84 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=1"
85 in if readMore_3 buf_39 initPos_2
87 let name_41 = \(!callerOnReturn_42) (!callerInput_43) (!callerBuffer_44) (!callerEnd_45) (!callerOnExceptionStackByLabel_46) ->
88 let _ = "catch ExceptionFailure checkedHorizon=0"
89 in let onException_47 =
91 in \(!_exn_48) (!failInp_49) (!farInp_50) (!farExp_51) buf_52 end_53 ->
92 let _ = "comment: raiseAgainIfConsumed"
93 in let _ = "saveInput checkedHorizon=0"
94 in let _ = "lift2Value checkedHorizon=0"
95 in if (GHC.Classes.==) @GHC.Types.Int callerInput_43 failInp_49
97 let _ = "choicesBranch checkedHorizon=0"
98 in let _ = "catch ExceptionFailure checkedHorizon=0"
99 in let onException_54 =
100 let _ = "onException"
101 in \(!_exn_55) (!failInp_56) (!farInp_57) (!farExp_58) buf_59 end_60 ->
102 let _ = "comment: raiseAgainIfConsumed"
103 in let _ = "saveInput checkedHorizon=0"
104 in let _ = "lift2Value checkedHorizon=0"
105 in if (GHC.Classes.==) @GHC.Types.Int failInp_49 failInp_56
107 let _ = "choicesBranch checkedHorizon=0"
108 in let _ = "pushValue"
111 in \farInp_62 farExp_63 v_64 (!inp_65) buf_66 end_67 ->
112 let _ = "lift2Value checkedHorizon=0"
113 in let join_68 = \farInp_69 farExp_70 v_71 (!inp_72) buf_73 end_74 ->
114 let _ = "lift2Value checkedHorizon=0"
119 ( let _ = "resume.genCode"
125 in let _ = "catch ExceptionFailure checkedHorizon=0"
126 in let onException_75 =
127 let _ = "onException"
128 in \(!_exn_76) (!failInp_77) (!farInp_78) (!farExp_79) buf_80 end_81 ->
129 let _ = "comment: raiseAgainIfConsumed"
130 in let _ = "saveInput checkedHorizon=0"
131 in let _ = "lift2Value checkedHorizon=0"
132 in if (GHC.Classes.==) @GHC.Types.Int inp_65 failInp_77
134 let _ = "choicesBranch checkedHorizon=0"
137 in \farInp_83 farExp_84 v_85 (!inp_86) buf_87 end_88 ->
142 ( let _ = "resume.genCode"
152 Data.Map.Internal.Tip
154 let _ = "choicesBranch.else"
155 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_46 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_77 farInp_78 farExp_79 buf_80 end_81
156 in let _ = "pushValue"
157 in let join_89 = \farInp_90 farExp_91 v_92 (!inp_93) buf_94 end_95 ->
158 let _ = "lift2Value checkedHorizon=0"
164 ( let _ = "resume.genCode"
170 in let _ = "catch ExceptionFailure checkedHorizon=0"
171 in let onException_96 =
172 let _ = "onException"
173 in \(!_exn_97) (!failInp_98) (!farInp_99) (!farExp_100) buf_101 end_102 ->
174 let _ = "comment: raiseAgainIfConsumed"
175 in let _ = "saveInput checkedHorizon=0"
176 in let _ = "lift2Value checkedHorizon=0"
177 in if (GHC.Classes.==) @GHC.Types.Int inp_65 failInp_98
179 let _ = "choicesBranch checkedHorizon=0"
182 in \farInp_104 farExp_105 v_106 (!inp_107) buf_108 end_109 ->
187 ( let _ = "resume.genCode"
197 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_75 Data.Map.Internal.Tip Data.Map.Internal.Tip)
199 let _ = "choicesBranch.else"
200 in onException_75 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_98 farInp_99 farExp_100 buf_101 end_102
201 in let _ = "pushValue"
204 in \farInp_111 farExp_112 v_113 (!inp_114) buf_115 end_116 ->
205 let _ = "lift2Value checkedHorizon=0"
206 in let join_117 = \farInp_118 farExp_119 v_120 (!inp_121) buf_122 end_123 ->
207 let _ = "lift2Value checkedHorizon=0"
210 in \farInp_125 farExp_126 v_127 (!inp_128) buf_129 end_130 ->
211 let _ = "lift2Value checkedHorizon=0"
217 ( let _ = "resume.genCode"
227 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_96 Data.Map.Internal.Tip Data.Map.Internal.Tip)
228 in let _ = "catch ExceptionFailure checkedHorizon=0"
229 in let onException_131 =
230 let _ = "onException"
231 in \(!_exn_132) (!failInp_133) (!farInp_134) (!farExp_135) buf_136 end_137 ->
232 let _ = "comment: raiseAgainIfConsumed"
233 in let _ = "saveInput checkedHorizon=0"
234 in let _ = "lift2Value checkedHorizon=0"
235 in if (GHC.Classes.==) @GHC.Types.Int inp_114 failInp_133
237 let _ = "choicesBranch checkedHorizon=0"
240 in \farInp_138 farExp_139 v_140 (!inp_141) buf_142 end_143 ->
245 ( let _ = "resume.genCode"
255 Data.Map.Internal.Tip
257 let _ = "choicesBranch.else"
258 in onException_96 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_133 farInp_134 farExp_135 buf_136 end_137
259 in let _ = "pushValue"
262 in \farInp_145 farExp_146 v_147 (!inp_148) buf_149 end_150 ->
263 let _ = "lift2Value checkedHorizon=0"
264 in let _ = "pushValue"
266 let dupv_151 = \u_152 -> u_152
267 reg_153 <- GHC.STRef.newSTRef dupv_151
269 in let onException_154 loopInput_155 =
270 let _ = "onException"
271 in \(!_exn_156) (!failInp_157) (!farInp_158) (!farExp_159) buf_160 end_161 ->
272 let _ = "comment: raiseAgainIfConsumed"
273 in let _ = "saveInput checkedHorizon=0"
274 in let _ = "lift2Value checkedHorizon=0"
275 in if (GHC.Classes.==) @GHC.Types.Int loopInput_155 failInp_157
277 let _ = "choicesBranch checkedHorizon=0"
279 sr_162 <- GHC.STRef.readSTRef reg_153
282 in \farInp_164 farExp_165 v_166 (!inp_167) buf_168 end_169 ->
283 let _ = "lift2Value checkedHorizon=0"
284 in let _ = "lift2Value checkedHorizon=0"
287 in \farInp_170 farExp_171 v_172 (!inp_173) buf_174 end_175 ->
288 let _ = "lift2Value checkedHorizon=0"
294 ( let _ = "resume.genCode"
304 Data.Map.Internal.Tip
309 Data.Map.Internal.Tip
311 let _ = "choicesBranch.else"
312 in onException_131 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_157 farInp_158 farExp_159 buf_160 end_161
313 loop_176 = \_callerOnReturn_177 callerInput_178 callerBuffer_179 callerEnded_180 callerOnExceptionStackByLabel_181 ->
317 in \farInp_183 farExp_184 v_185 (!inp_186) buf_187 end_188 ->
318 let _ = "lift2Value checkedHorizon=0"
321 in \farInp_190 farExp_191 v_192 (!inp_193) buf_194 end_195 ->
322 let _ = "lift2Value checkedHorizon=0"
325 in \farInp_196 farExp_197 v_198 (!inp_199) buf_200 end_201 ->
326 let _ = "lift2Value checkedHorizon=0"
328 sr_202 <- GHC.STRef.readSTRef reg_153
329 let _ = "lift2Value checkedHorizon=0"
331 let dupv_203 = v_185 v_198 sr_202
332 GHC.STRef.writeSTRef reg_153 dupv_203
334 in loop_176 (GHC.Err.error "invalid onReturn") inp_199 buf_200 end_201 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_154 callerInput_178) Data.Map.Internal.Tip Data.Map.Internal.Tip)
339 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_154 callerInput_178) Data.Map.Internal.Tip Data.Map.Internal.Tip)
344 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_154 callerInput_178) Data.Map.Internal.Tip Data.Map.Internal.Tip)
349 Data.Map.Internal.Tip
351 in loop_176 callerOnReturn_42 inp_148 buf_149 end_150 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_131 Data.Map.Internal.Tip Data.Map.Internal.Tip)
356 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_131 Data.Map.Internal.Tip Data.Map.Internal.Tip)
361 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_96 Data.Map.Internal.Tip Data.Map.Internal.Tip)
366 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_46) Data.Map.Internal.Tip Data.Map.Internal.Tip)
368 let _ = "choicesBranch.else"
369 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_46 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_56 farInp_57 farExp_58 buf_59 end_60
370 in let _ = "pushValue"
371 in let _ = "comment: satisfy ((GHC.Classes.==) '\\'')"
372 in let partialCont_204 buf_205 =
373 let readFail_206 = onException_54
374 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=4"
375 in if readMore_3 buf_205 ((GHC.Num.+) @GHC.Types.Int 3 failInp_49)
381 #) = readNext_4 buf_205 failInp_49
382 in if (GHC.Classes.==) '\'' c_207
384 let _ = "lift2Value checkedHorizon=4"
385 in let join_209 = \farInp_210 farExp_211 v_212 (!inp_213) buf_214 end_215 ->
386 let _ = "lift2Value checkedHorizon=0"
387 in let _ = "comment: satisfy ((GHC.Classes.==) '\\'')"
388 in let partialCont_216 buf_217 =
389 let readFail_218 = readFail_206
390 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
391 in if readMore_3 buf_217 ((GHC.Num.+) @GHC.Types.Int 1 inp_213)
397 #) = readNext_4 buf_217 inp_213
398 in if (GHC.Classes.==) '\'' c_219
400 let _ = "lift2Value checkedHorizon=2"
403 in \farInp_222 farExp_223 v_224 (!inp_225) buf_226 end_227 ->
404 let _ = "lift2Value checkedHorizon=0"
410 ( let _ = "resume.genCode"
420 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_218 Data.Map.Internal.Tip Data.Map.Internal.Tip)
422 let _ = "checkToken.fail"
424 Data.Set.Internal.Bin
426 ( Symantic.Parser.Grammar.Combinators.SomeFailure
428 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '\''
431 Data.Set.Internal.Tip
432 Data.Set.Internal.Tip
436 #) = case GHC.Classes.compare @GHC.Types.Int farInp_210 inp_213 of
445 failExp_228 GHC.Base.<> farExp_211
452 in readFail_218 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_213 farInp_229 farExp_230 buf_217 end_215
454 let _ = "checkHorizon.newCheck.fail"
455 in let noMoreInput_231 =
457 Data.Set.Internal.Bin
459 ( Symantic.Parser.Grammar.Combinators.SomeFailure
461 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
464 Data.Set.Internal.Tip
465 Data.Set.Internal.Tip
469 #) = case GHC.Classes.compare @GHC.Types.Int farInp_210 inp_213 of
478 failExp_232 GHC.Base.<> farExp_211
485 in readFail_218 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_213 farInp_233 farExp_234 buf_217 GHC.Types.True
489 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
490 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
492 if Symantic.Parser.Machine.Input.nullInput newInput_235
494 else partialCont_216 (append_5 buf_217 newInput_235)
497 in partialCont_216 buf_214
498 in let _ = "catch ExceptionFailure checkedHorizon=4"
499 in let onException_236 =
500 let _ = "onException"
501 in \(!_exn_237) (!failInp_238) (!farInp_239) (!farExp_240) buf_241 end_242 ->
502 let _ = "comment: raiseAgainIfConsumed"
503 in let _ = "saveInput checkedHorizon=0"
504 in let _ = "lift2Value checkedHorizon=0"
505 in if (GHC.Classes.==) @GHC.Types.Int cs_208 failInp_238
507 let _ = "choicesBranch checkedHorizon=0"
508 in let _ = "pushValue"
509 in let _ = "comment: satisfy ((GHC.Classes.==) '\\\\')"
510 in let partialCont_243 buf_244 =
511 let readFail_245 = readFail_206
512 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=4"
513 in if readMore_3 buf_244 ((GHC.Num.+) @GHC.Types.Int 3 failInp_238)
519 #) = readNext_4 buf_244 failInp_238
520 in if (GHC.Classes.==) '\\' c_246
522 let _ = "lift2Value checkedHorizon=4"
523 in let _ = "comment: satisfy (\\t_0 -> ('0' GHC.Classes.== t_0) GHC.Classes.|| (('t' GHC.Classes.== t_0) GHC.Classes.|| (('n' GHC.Classes.== t_0) GHC.Classes.|| (('v' GHC.Classes.== t_0) GHC.Classes.|| (('f' GHC.Classes.== t_0) GHC.Classes.|| (('r' GHC.Classes.== t_0) GHC.Classes.|| GHC.Types.False))))))"
524 in let _ = "checkHorizon.oldCheck: checkedHorizon=4"
525 in let _ = "checkToken"
529 #) = readNext_4 buf_244 cs_247
530 in if (\t_250 -> ('0' GHC.Classes.== t_250) GHC.Classes.|| (('t' GHC.Classes.== t_250) GHC.Classes.|| (('n' GHC.Classes.== t_250) GHC.Classes.|| (('v' GHC.Classes.== t_250) GHC.Classes.|| (('f' GHC.Classes.== t_250) GHC.Classes.|| (('r' GHC.Classes.== t_250) GHC.Classes.|| GHC.Types.False)))))) c_248
532 let _ = "lift2Value checkedHorizon=3"
535 in \farInp_251 farExp_252 v_253 (!inp_254) buf_255 end_256 ->
536 let _ = "lift2Value checkedHorizon=0"
541 ( let _ = "resume.genCode"
551 Data.Map.Internal.Tip
553 let _ = "checkToken.fail"
555 Data.Set.Internal.Bin
557 ( Symantic.Parser.Grammar.Combinators.SomeFailure
559 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'n'
562 ( Data.Set.Internal.Bin
564 ( Symantic.Parser.Grammar.Combinators.SomeFailure
566 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '0'
569 Data.Set.Internal.Tip
570 ( Data.Set.Internal.Bin
572 ( Symantic.Parser.Grammar.Combinators.SomeFailure
574 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'f'
577 Data.Set.Internal.Tip
578 Data.Set.Internal.Tip
581 ( Data.Set.Internal.Bin
583 ( Symantic.Parser.Grammar.Combinators.SomeFailure
585 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 't'
588 ( Data.Set.Internal.Bin
590 ( Symantic.Parser.Grammar.Combinators.SomeFailure
592 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'r'
595 Data.Set.Internal.Tip
596 Data.Set.Internal.Tip
598 ( Data.Set.Internal.Bin
600 ( Symantic.Parser.Grammar.Combinators.SomeFailure
602 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'v'
605 Data.Set.Internal.Tip
606 Data.Set.Internal.Tip
612 #) = case GHC.Classes.compare @GHC.Types.Int farInp_239 cs_247 of
621 failExp_257 GHC.Base.<> farExp_240
628 in readFail_245 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_247 farInp_258 farExp_259 buf_244 end_242
630 let _ = "checkToken.fail"
632 Data.Set.Internal.Bin
634 ( Symantic.Parser.Grammar.Combinators.SomeFailure
636 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '\\'
639 Data.Set.Internal.Tip
640 Data.Set.Internal.Tip
644 #) = case GHC.Classes.compare @GHC.Types.Int farInp_239 failInp_238 of
653 failExp_260 GHC.Base.<> farExp_240
660 in readFail_245 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_238 farInp_261 farExp_262 buf_244 end_242
662 let _ = "checkHorizon.newCheck.fail"
663 in let noMoreInput_263 =
665 Data.Set.Internal.Bin
667 ( Symantic.Parser.Grammar.Combinators.SomeFailure
669 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 4
672 Data.Set.Internal.Tip
673 Data.Set.Internal.Tip
677 #) = case GHC.Classes.compare @GHC.Types.Int farInp_239 failInp_238 of
686 failExp_264 GHC.Base.<> farExp_240
693 in readFail_245 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_238 farInp_265 farExp_266 buf_244 GHC.Types.True
697 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
698 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
700 if Symantic.Parser.Machine.Input.nullInput newInput_267
702 else partialCont_243 (append_5 buf_244 newInput_267)
705 in partialCont_243 buf_241
707 let _ = "choicesBranch.else"
708 in readFail_206 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_238 farInp_239 farExp_240 buf_241 end_242
709 in let _ = "pushValue"
710 in let _ = "comment: satisfy Parsers.Nandlang.nandStringLetter"
711 in let _ = "checkHorizon.oldCheck: checkedHorizon=4"
712 in let _ = "checkToken"
716 #) = readNext_4 buf_205 cs_208
717 in if Parsers.Nandlang.nandStringLetter c_268
719 let _ = "lift2Value checkedHorizon=3"
722 in \farInp_270 farExp_271 v_272 (!inp_273) buf_274 end_275 ->
723 let _ = "lift2Value checkedHorizon=0"
729 ( let _ = "resume.genCode"
739 Data.Map.Internal.Tip
741 let _ = "checkToken.fail"
742 in onException_236 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_208 farInp_50 farExp_51 buf_205 end_53
744 let _ = "checkToken.fail"
746 Data.Set.Internal.Bin
748 ( Symantic.Parser.Grammar.Combinators.SomeFailure
750 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '\''
753 Data.Set.Internal.Tip
754 Data.Set.Internal.Tip
758 #) = case GHC.Classes.compare @GHC.Types.Int farInp_50 failInp_49 of
767 failExp_276 GHC.Base.<> farExp_51
774 in readFail_206 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_49 farInp_277 farExp_278 buf_205 end_53
776 let _ = "checkHorizon.newCheck.fail"
777 in let noMoreInput_279 =
779 Data.Set.Internal.Bin
781 ( Symantic.Parser.Grammar.Combinators.SomeFailure
783 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 4
786 Data.Set.Internal.Tip
787 Data.Set.Internal.Tip
791 #) = case GHC.Classes.compare @GHC.Types.Int farInp_50 failInp_49 of
800 failExp_280 GHC.Base.<> farExp_51
807 in readFail_206 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_49 farInp_281 farExp_282 buf_205 GHC.Types.True
811 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
812 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
814 if Symantic.Parser.Machine.Input.nullInput newInput_283
816 else partialCont_204 (append_5 buf_205 newInput_283)
819 in partialCont_204 buf_52
821 let _ = "choicesBranch.else"
822 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_46 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_49 farInp_50 farExp_51 buf_52 end_53
823 in let _ = "pushValue"
824 in let join_284 = \farInp_285 farExp_286 v_287 (!inp_288) buf_289 end_290 ->
825 let _ = "lift2Value checkedHorizon=0"
828 in \farInp_291 farExp_292 v_293 (!inp_294) buf_295 end_296 ->
829 let _ = "lift2Value checkedHorizon=0"
835 ( let _ = "resume.genCode"
845 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_47 Data.Map.Internal.Tip Data.Map.Internal.Tip)
846 in let _ = "catch ExceptionFailure checkedHorizon=0"
847 in let onException_297 =
848 let _ = "onException"
849 in \(!_exn_298) (!failInp_299) (!farInp_300) (!farExp_301) buf_302 end_303 ->
850 let _ = "comment: raiseAgainIfConsumed"
851 in let _ = "saveInput checkedHorizon=0"
852 in let _ = "lift2Value checkedHorizon=0"
853 in if (GHC.Classes.==) @GHC.Types.Int callerInput_43 failInp_299
855 let _ = "choicesBranch checkedHorizon=0"
856 in let _ = "pushValue"
857 in let _ = "comment: satisfy ((GHC.Classes.==) '1')"
858 in let partialCont_304 buf_305 =
859 let readFail_306 = onException_47
860 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
861 in if readMore_3 buf_305 ((GHC.Num.+) @GHC.Types.Int 1 failInp_299)
867 #) = readNext_4 buf_305 failInp_299
868 in if (GHC.Classes.==) '1' c_307
870 let _ = "lift2Value checkedHorizon=2"
875 ( let _ = "resume.genCode"
882 let _ = "checkToken.fail"
884 Data.Set.Internal.Bin
886 ( Symantic.Parser.Grammar.Combinators.SomeFailure
888 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '1'
891 Data.Set.Internal.Tip
892 Data.Set.Internal.Tip
896 #) = case GHC.Classes.compare @GHC.Types.Int farInp_300 failInp_299 of
905 failExp_309 GHC.Base.<> farExp_301
912 in readFail_306 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_299 farInp_310 farExp_311 buf_305 end_303
914 let _ = "checkHorizon.newCheck.fail"
915 in let noMoreInput_312 =
917 Data.Set.Internal.Bin
919 ( Symantic.Parser.Grammar.Combinators.SomeFailure
921 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
924 Data.Set.Internal.Tip
925 Data.Set.Internal.Tip
929 #) = case GHC.Classes.compare @GHC.Types.Int farInp_300 failInp_299 of
938 failExp_313 GHC.Base.<> farExp_301
945 in readFail_306 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_299 farInp_314 farExp_315 buf_305 GHC.Types.True
949 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
950 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
952 if Symantic.Parser.Machine.Input.nullInput newInput_316
954 else partialCont_304 (append_5 buf_305 newInput_316)
957 in partialCont_304 buf_302
959 let _ = "choicesBranch.else"
960 in onException_47 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_299 farInp_300 farExp_301 buf_302 end_303
961 in let _ = "pushValue"
962 in let _ = "comment: satisfy ((GHC.Classes.==) '0')"
963 in let partialCont_317 buf_318 =
964 let readFail_319 = onException_297
965 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
966 in if readMore_3 buf_318 ((GHC.Num.+) @GHC.Types.Int 1 callerInput_43)
972 #) = readNext_4 buf_318 callerInput_43
973 in if (GHC.Classes.==) '0' c_320
975 let _ = "lift2Value checkedHorizon=2"
980 Data.Set.Internal.empty
981 ( let _ = "resume.genCode"
988 let _ = "checkToken.fail"
990 Data.Set.Internal.Bin
992 ( Symantic.Parser.Grammar.Combinators.SomeFailure
994 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '0'
997 Data.Set.Internal.Tip
998 Data.Set.Internal.Tip
1002 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_43 of
1011 failExp_322 GHC.Base.<> Data.Set.Internal.empty
1016 Data.Set.Internal.empty
1018 in readFail_319 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_43 farInp_323 farExp_324 buf_318 callerEnd_45
1020 let _ = "checkHorizon.newCheck.fail"
1021 in let noMoreInput_325 =
1023 Data.Set.Internal.Bin
1025 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1026 ( case inputToken of
1027 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
1030 Data.Set.Internal.Tip
1031 Data.Set.Internal.Tip
1035 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_43 of
1044 failExp_326 GHC.Base.<> Data.Set.Internal.empty
1049 Data.Set.Internal.empty
1051 in readFail_319 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_43 farInp_327 farExp_328 buf_318 GHC.Types.True
1053 then noMoreInput_325
1055 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
1056 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
1058 if Symantic.Parser.Machine.Input.nullInput newInput_329
1059 then noMoreInput_325
1060 else partialCont_317 (append_5 buf_318 newInput_329)
1063 in partialCont_317 callerBuffer_44
1064 name_330 = \(!callerOnReturn_331) (!callerInput_332) (!callerBuffer_333) (!callerEnd_334) (!callerOnExceptionStackByLabel_335) ->
1065 let _ = "catch ExceptionFailure checkedHorizon=0"
1066 in let onException_336 =
1067 let _ = "onException"
1068 in \(!_exn_337) (!failInp_338) (!farInp_339) (!farExp_340) buf_341 end_342 ->
1069 let _ = "comment: raiseAgainIfConsumed"
1070 in let _ = "saveInput checkedHorizon=0"
1071 in let _ = "lift2Value checkedHorizon=0"
1072 in if (GHC.Classes.==) @GHC.Types.Int callerInput_332 failInp_338
1074 let _ = "choicesBranch checkedHorizon=0"
1076 in name_82 callerOnReturn_331 failInp_338 buf_341 end_342 Data.Map.Internal.Tip
1078 let _ = "choicesBranch.else"
1079 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_335 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_338 farInp_339 farExp_340 buf_341 end_342
1080 in let _ = "pushValue"
1082 ( let _ = "onReturn"
1083 in \farInp_344 farExp_345 v_346 (!inp_347) buf_348 end_349 ->
1084 let _ = "lift2Value checkedHorizon=0"
1085 in let _ = "pushValue"
1087 let dupv_350 = \u_351 -> u_351
1088 reg_352 <- GHC.STRef.newSTRef dupv_350
1090 in let onException_353 loopInput_354 =
1091 let _ = "onException"
1092 in \(!_exn_355) (!failInp_356) (!farInp_357) (!farExp_358) buf_359 end_360 ->
1093 let _ = "comment: raiseAgainIfConsumed"
1094 in let _ = "saveInput checkedHorizon=0"
1095 in let _ = "lift2Value checkedHorizon=0"
1096 in if (GHC.Classes.==) @GHC.Types.Int loopInput_354 failInp_356
1098 let _ = "choicesBranch checkedHorizon=0"
1100 sr_361 <- GHC.STRef.readSTRef reg_352
1102 ( let _ = "onReturn"
1103 in \farInp_362 farExp_363 v_364 (!inp_365) buf_366 end_367 ->
1104 let _ = "lift2Value checkedHorizon=0"
1105 in let _ = "lift2Value checkedHorizon=0"
1107 ( let _ = "onReturn"
1108 in \farInp_368 farExp_369 v_370 (!inp_371) buf_372 end_373 ->
1109 let _ = "lift2Value checkedHorizon=0"
1112 in callerOnReturn_331
1115 ( let _ = "resume.genCode"
1125 Data.Map.Internal.Tip
1130 Data.Map.Internal.Tip
1132 let _ = "choicesBranch.else"
1133 in onException_336 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_356 farInp_357 farExp_358 buf_359 end_360
1134 loop_374 = \_callerOnReturn_375 callerInput_376 callerBuffer_377 callerEnded_378 callerOnExceptionStackByLabel_379 ->
1137 ( let _ = "onReturn"
1138 in \farInp_380 farExp_381 v_382 (!inp_383) buf_384 end_385 ->
1139 let _ = "lift2Value checkedHorizon=0"
1141 ( let _ = "onReturn"
1142 in \farInp_386 farExp_387 v_388 (!inp_389) buf_390 end_391 ->
1143 let _ = "lift2Value checkedHorizon=0"
1145 ( let _ = "onReturn"
1146 in \farInp_392 farExp_393 v_394 (!inp_395) buf_396 end_397 ->
1147 let _ = "lift2Value checkedHorizon=0"
1149 sr_398 <- GHC.STRef.readSTRef reg_352
1150 let _ = "lift2Value checkedHorizon=0"
1152 let dupv_399 = v_382 v_394 sr_398
1153 GHC.STRef.writeSTRef reg_352 dupv_399
1155 in loop_374 (GHC.Err.error "invalid onReturn") inp_395 buf_396 end_397 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_353 callerInput_376) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1160 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_353 callerInput_376) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1165 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_353 callerInput_376) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1170 Data.Map.Internal.Tip
1172 in loop_374 callerOnReturn_331 inp_347 buf_348 end_349 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_336 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1177 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_336 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1178 name_400 = \(!callerOnReturn_401) (!callerInput_402) (!callerBuffer_403) (!callerEnd_404) (!callerOnExceptionStackByLabel_405) ->
1179 let _ = "comment: satisfy (\\t_0 -> ('0' GHC.Classes.== t_0) GHC.Classes.|| (('1' GHC.Classes.== t_0) GHC.Classes.|| (('2' GHC.Classes.== t_0) GHC.Classes.|| (('3' GHC.Classes.== t_0) GHC.Classes.|| (('4' GHC.Classes.== t_0) GHC.Classes.|| (('5' GHC.Classes.== t_0) GHC.Classes.|| (('6' GHC.Classes.== t_0) GHC.Classes.|| (('7' GHC.Classes.== t_0) GHC.Classes.|| (('8' GHC.Classes.== t_0) GHC.Classes.|| (('9' GHC.Classes.== t_0) GHC.Classes.|| GHC.Types.False))))))))))"
1180 in let partialCont_406 buf_407 =
1181 let readFail_408 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_405
1182 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=1"
1183 in if readMore_3 buf_407 callerInput_402
1185 let _ = "checkToken"
1189 #) = readNext_4 buf_407 callerInput_402
1190 in if (\t_411 -> ('0' GHC.Classes.== t_411) GHC.Classes.|| (('1' GHC.Classes.== t_411) GHC.Classes.|| (('2' GHC.Classes.== t_411) GHC.Classes.|| (('3' GHC.Classes.== t_411) GHC.Classes.|| (('4' GHC.Classes.== t_411) GHC.Classes.|| (('5' GHC.Classes.== t_411) GHC.Classes.|| (('6' GHC.Classes.== t_411) GHC.Classes.|| (('7' GHC.Classes.== t_411) GHC.Classes.|| (('8' GHC.Classes.== t_411) GHC.Classes.|| (('9' GHC.Classes.== t_411) GHC.Classes.|| GHC.Types.False)))))))))) c_409
1193 in callerOnReturn_401
1195 Data.Set.Internal.empty
1196 ( let _ = "resume.genCode"
1203 let _ = "checkToken.fail"
1204 in let failExp_412 =
1205 Data.Set.Internal.Bin
1207 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1208 ( case inputToken of
1209 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '3'
1212 ( Data.Set.Internal.Bin
1214 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1215 ( case inputToken of
1216 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '1'
1219 ( Data.Set.Internal.Bin
1221 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1222 ( case inputToken of
1223 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '0'
1226 Data.Set.Internal.Tip
1227 Data.Set.Internal.Tip
1229 ( Data.Set.Internal.Bin
1231 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1232 ( case inputToken of
1233 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '2'
1236 Data.Set.Internal.Tip
1237 Data.Set.Internal.Tip
1240 ( Data.Set.Internal.Bin
1242 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1243 ( case inputToken of
1244 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '7'
1247 ( Data.Set.Internal.Bin
1249 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1250 ( case inputToken of
1251 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '5'
1254 ( Data.Set.Internal.Bin
1256 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1257 ( case inputToken of
1258 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '4'
1261 Data.Set.Internal.Tip
1262 Data.Set.Internal.Tip
1264 ( Data.Set.Internal.Bin
1266 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1267 ( case inputToken of
1268 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '6'
1271 Data.Set.Internal.Tip
1272 Data.Set.Internal.Tip
1275 ( Data.Set.Internal.Bin
1277 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1278 ( case inputToken of
1279 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '8'
1282 Data.Set.Internal.Tip
1283 ( Data.Set.Internal.Bin
1285 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1286 ( case inputToken of
1287 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '9'
1290 Data.Set.Internal.Tip
1291 Data.Set.Internal.Tip
1298 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_402 of
1307 failExp_412 GHC.Base.<> Data.Set.Internal.empty
1312 Data.Set.Internal.empty
1314 in readFail_408 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_402 farInp_413 farExp_414 buf_407 callerEnd_404
1316 let _ = "checkHorizon.newCheck.fail"
1317 in let noMoreInput_415 =
1319 Data.Set.Internal.Bin
1321 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1322 ( case inputToken of
1323 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 1
1326 Data.Set.Internal.Tip
1327 Data.Set.Internal.Tip
1331 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_402 of
1340 failExp_416 GHC.Base.<> Data.Set.Internal.empty
1345 Data.Set.Internal.empty
1347 in readFail_408 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_402 farInp_417 farExp_418 buf_407 GHC.Types.True
1349 then noMoreInput_415
1351 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
1352 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
1354 if Symantic.Parser.Machine.Input.nullInput newInput_419
1355 then noMoreInput_415
1356 else partialCont_406 (append_5 buf_407 newInput_419)
1359 in partialCont_406 callerBuffer_403
1360 name_343 = \(!callerOnReturn_420) (!callerInput_421) (!callerBuffer_422) (!callerEnd_423) (!callerOnExceptionStackByLabel_424) ->
1363 ( let _ = "onReturn"
1364 in \farInp_425 farExp_426 v_427 (!inp_428) buf_429 end_430 ->
1365 let _ = "lift2Value checkedHorizon=0"
1366 in let join_431 = \farInp_432 farExp_433 v_434 (!inp_435) buf_436 end_437 ->
1367 let _ = "lift2Value checkedHorizon=0"
1369 in callerOnReturn_420
1372 ( let _ = "resume.genCode"
1378 in let _ = "catch ExceptionFailure checkedHorizon=0"
1379 in let onException_438 =
1380 let _ = "onException"
1381 in \(!_exn_439) (!failInp_440) (!farInp_441) (!farExp_442) buf_443 end_444 ->
1382 let _ = "comment: raiseAgainIfConsumed"
1383 in let _ = "saveInput checkedHorizon=0"
1384 in let _ = "lift2Value checkedHorizon=0"
1385 in if (GHC.Classes.==) @GHC.Types.Int inp_428 failInp_440
1387 let _ = "choicesBranch checkedHorizon=0"
1389 ( let _ = "onReturn"
1390 in \farInp_445 farExp_446 v_447 (!inp_448) buf_449 end_450 ->
1395 ( let _ = "resume.genCode"
1405 Data.Map.Internal.Tip
1407 let _ = "choicesBranch.else"
1408 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_424 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_440 farInp_441 farExp_442 buf_443 end_444
1409 in let _ = "pushValue"
1411 ( let _ = "onReturn"
1412 in \farInp_451 farExp_452 v_453 (!inp_454) buf_455 end_456 ->
1413 let _ = "lift2Value checkedHorizon=0"
1419 ( let _ = "resume.genCode"
1429 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_438 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1434 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_424) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1435 name_144 = \(!callerOnReturn_457) (!callerInput_458) (!callerBuffer_459) (!callerEnd_460) (!callerOnExceptionStackByLabel_461) ->
1438 ( let _ = "onReturn"
1439 in \farInp_462 farExp_463 v_464 (!inp_465) buf_466 end_467 ->
1440 let _ = "lift2Value checkedHorizon=0"
1441 in let _ = "pushValue"
1443 let dupv_468 = \u_469 -> u_469
1444 reg_470 <- GHC.STRef.newSTRef dupv_468
1446 in let onException_471 loopInput_472 =
1447 let _ = "onException"
1448 in \(!_exn_473) (!failInp_474) (!farInp_475) (!farExp_476) buf_477 end_478 ->
1449 let _ = "comment: raiseAgainIfConsumed"
1450 in let _ = "saveInput checkedHorizon=0"
1451 in let _ = "lift2Value checkedHorizon=0"
1452 in if (GHC.Classes.==) @GHC.Types.Int loopInput_472 failInp_474
1454 let _ = "choicesBranch checkedHorizon=0"
1456 sr_479 <- GHC.STRef.readSTRef reg_470
1458 ( let _ = "onReturn"
1459 in \farInp_480 farExp_481 v_482 (!inp_483) buf_484 end_485 ->
1460 let _ = "lift2Value checkedHorizon=0"
1461 in let _ = "lift2Value checkedHorizon=0"
1463 ( let _ = "onReturn"
1464 in \farInp_486 farExp_487 v_488 (!inp_489) buf_490 end_491 ->
1465 let _ = "lift2Value checkedHorizon=0"
1467 in callerOnReturn_457
1470 ( let _ = "resume.genCode"
1480 Data.Map.Internal.Tip
1485 Data.Map.Internal.Tip
1487 let _ = "choicesBranch.else"
1488 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_461 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_474 farInp_475 farExp_476 buf_477 end_478
1489 loop_492 = \_callerOnReturn_493 callerInput_494 callerBuffer_495 callerEnded_496 callerOnExceptionStackByLabel_497 ->
1491 in let _ = "comment: satisfy ((GHC.Classes.==) '!')"
1492 in let partialCont_498 buf_499 =
1493 let readFail_500 = onException_471 callerInput_494
1494 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=4"
1495 in if readMore_3 buf_499 ((GHC.Num.+) @GHC.Types.Int 3 callerInput_494)
1497 let _ = "checkToken"
1501 #) = readNext_4 buf_499 callerInput_494
1502 in if (GHC.Classes.==) '!' c_501
1504 let _ = "lift2Value checkedHorizon=4"
1506 ( let _ = "onReturn"
1507 in \farInp_503 farExp_504 v_505 (!inp_506) buf_507 end_508 ->
1508 let _ = "lift2Value checkedHorizon=0"
1510 ( let _ = "onReturn"
1511 in \farInp_509 farExp_510 v_511 (!inp_512) buf_513 end_514 ->
1512 let _ = "lift2Value checkedHorizon=0"
1514 sr_515 <- GHC.STRef.readSTRef reg_470
1515 let _ = "lift2Value checkedHorizon=0"
1517 let dupv_516 = sr_515
1518 GHC.STRef.writeSTRef reg_470 dupv_516
1520 in loop_492 (GHC.Err.error "invalid onReturn") inp_512 buf_513 end_514 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_500 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1525 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_500 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1530 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_500 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1532 let _ = "checkToken.fail"
1533 in let failExp_517 =
1534 Data.Set.Internal.Bin
1536 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1537 ( case inputToken of
1538 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '!'
1541 Data.Set.Internal.Tip
1542 Data.Set.Internal.Tip
1546 #) = case GHC.Classes.compare @GHC.Types.Int farInp_462 callerInput_494 of
1555 failExp_517 GHC.Base.<> farExp_463
1562 in readFail_500 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_494 farInp_518 farExp_519 buf_499 callerEnded_496
1564 let _ = "checkHorizon.newCheck.fail"
1565 in let noMoreInput_520 =
1567 Data.Set.Internal.Bin
1569 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1570 ( case inputToken of
1571 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 4
1574 Data.Set.Internal.Tip
1575 Data.Set.Internal.Tip
1579 #) = case GHC.Classes.compare @GHC.Types.Int farInp_462 callerInput_494 of
1588 failExp_521 GHC.Base.<> farExp_463
1595 in readFail_500 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_494 farInp_522 farExp_523 buf_499 GHC.Types.True
1596 in if callerEnded_496
1597 then noMoreInput_520
1599 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
1600 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
1602 if Symantic.Parser.Machine.Input.nullInput newInput_524
1603 then noMoreInput_520
1604 else partialCont_498 (append_5 buf_499 newInput_524)
1607 in partialCont_498 callerBuffer_495
1609 in loop_492 callerOnReturn_457 inp_465 buf_466 end_467 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_461) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1614 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_461) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1615 name_221 = \(!callerOnReturn_525) (!callerInput_526) (!callerBuffer_527) (!callerEnd_528) (!callerOnExceptionStackByLabel_529) ->
1618 ( let _ = "onReturn"
1619 in \farInp_531 farExp_532 v_533 (!inp_534) buf_535 end_536 ->
1620 let _ = "lift2Value checkedHorizon=0"
1621 in let _ = "pushValue"
1623 let dupv_537 = \u_538 -> u_538
1624 reg_539 <- GHC.STRef.newSTRef dupv_537
1626 in let onException_540 loopInput_541 =
1627 let _ = "onException"
1628 in \(!_exn_542) (!failInp_543) (!farInp_544) (!farExp_545) buf_546 end_547 ->
1629 let _ = "comment: raiseAgainIfConsumed"
1630 in let _ = "saveInput checkedHorizon=0"
1631 in let _ = "lift2Value checkedHorizon=0"
1632 in if (GHC.Classes.==) @GHC.Types.Int loopInput_541 failInp_543
1634 let _ = "choicesBranch checkedHorizon=0"
1636 sr_548 <- GHC.STRef.readSTRef reg_539
1638 in let _ = "lift2Value checkedHorizon=0"
1639 in let _ = "lift2Value checkedHorizon=0"
1641 in callerOnReturn_525
1644 ( let _ = "resume.genCode"
1651 let _ = "choicesBranch.else"
1652 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_529 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_543 farInp_544 farExp_545 buf_546 end_547
1653 loop_549 = \_callerOnReturn_550 callerInput_551 callerBuffer_552 callerEnded_553 callerOnExceptionStackByLabel_554 ->
1656 ( let _ = "onReturn"
1657 in \farInp_555 farExp_556 v_557 (!inp_558) buf_559 end_560 ->
1658 let _ = "lift2Value checkedHorizon=0"
1660 sr_561 <- GHC.STRef.readSTRef reg_539
1661 let _ = "lift2Value checkedHorizon=0"
1663 let dupv_562 = sr_561
1664 GHC.STRef.writeSTRef reg_539 dupv_562
1666 in loop_549 (GHC.Err.error "invalid onReturn") inp_558 buf_559 end_560 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_540 callerInput_551) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1671 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_540 callerInput_551) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1673 in loop_549 callerOnReturn_525 inp_534 buf_535 end_536 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_529) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1678 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_529) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1679 name_61 = \(!callerOnReturn_563) (!callerInput_564) (!callerBuffer_565) (!callerEnd_566) (!callerOnExceptionStackByLabel_567) ->
1681 in let _ = "catch ExceptionFailure checkedHorizon=0"
1682 in let onException_568 =
1683 let _ = "onException"
1684 in \(!_exn_569) (!failInp_570) (!farInp_571) (!farExp_572) buf_573 end_574 ->
1685 let _ = "loadInput checkedHorizon=0"
1686 in let _ = "checkHorizon.noCheck"
1687 in Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_567 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_564 farInp_571 farExp_572 buf_573 end_574
1688 in let _ = "pushValue"
1689 in let _ = "comment: satisfy Parsers.Nandlang.nandIdentStart"
1690 in let partialCont_575 buf_576 =
1691 let readFail_577 = onException_568
1692 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
1693 in if readMore_3 buf_576 ((GHC.Num.+) @GHC.Types.Int 1 callerInput_564)
1695 let _ = "checkToken"
1699 #) = readNext_4 buf_576 callerInput_564
1700 in if Parsers.Nandlang.nandIdentStart c_578
1702 let _ = "lift2Value checkedHorizon=2"
1703 in let _ = "pushValue"
1705 let dupv_580 = \u_581 -> u_581
1706 reg_582 <- GHC.STRef.newSTRef dupv_580
1708 in let onException_583 loopInput_584 =
1709 let _ = "onException"
1710 in \(!_exn_585) (!failInp_586) (!farInp_587) (!farExp_588) buf_589 end_590 ->
1711 let _ = "comment: raiseAgainIfConsumed"
1712 in let _ = "saveInput checkedHorizon=0"
1713 in let _ = "lift2Value checkedHorizon=0"
1714 in if (GHC.Classes.==) @GHC.Types.Int loopInput_584 failInp_586
1716 let _ = "choicesBranch checkedHorizon=0"
1718 sr_591 <- GHC.STRef.readSTRef reg_582
1720 ( let _ = "onReturn"
1721 in \farInp_592 farExp_593 v_594 (!inp_595) buf_596 end_597 ->
1722 let _ = "lift2Value checkedHorizon=0"
1723 in let _ = "lift2Value checkedHorizon=0"
1725 in let _ = "lift2Value checkedHorizon=0"
1727 ( let _ = "onReturn"
1728 in \farInp_598 farExp_599 v_600 (!inp_601) buf_602 end_603 ->
1729 let _ = "lift2Value checkedHorizon=0"
1731 in callerOnReturn_563
1734 ( let _ = "resume.genCode"
1744 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_567) Data.Map.Internal.Tip Data.Map.Internal.Tip)
1749 Data.Map.Internal.Tip
1751 let _ = "choicesBranch.else"
1752 in readFail_577 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_586 farInp_587 farExp_588 buf_589 end_590
1753 loop_604 = \_callerOnReturn_605 callerInput_606 callerBuffer_607 callerEnded_608 callerOnExceptionStackByLabel_609 ->
1755 in let _ = "comment: satisfy Parsers.Nandlang.nandIdentLetter"
1756 in let partialCont_610 buf_611 =
1757 let readFail_612 = onException_583 callerInput_606
1758 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=1"
1759 in if readMore_3 buf_611 callerInput_606
1761 let _ = "checkToken"
1765 #) = readNext_4 buf_611 callerInput_606
1766 in if Parsers.Nandlang.nandIdentLetter c_613
1768 let _ = "lift2Value checkedHorizon=1"
1770 sr_615 <- GHC.STRef.readSTRef reg_582
1771 let _ = "lift2Value checkedHorizon=1"
1773 let dupv_616 = sr_615
1774 GHC.STRef.writeSTRef reg_582 dupv_616
1776 in loop_604 (GHC.Err.error "invalid onReturn") cs_614 buf_611 callerEnded_608 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_612 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1778 let _ = "checkToken.fail"
1779 in readFail_612 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_606 initPos_2 Data.Set.Internal.empty buf_611 callerEnded_608
1781 let _ = "checkHorizon.newCheck.fail"
1782 in let noMoreInput_617 =
1784 Data.Set.Internal.Bin
1786 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1787 ( case inputToken of
1788 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 1
1791 Data.Set.Internal.Tip
1792 Data.Set.Internal.Tip
1796 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_606 of
1805 failExp_618 GHC.Base.<> Data.Set.Internal.empty
1810 Data.Set.Internal.empty
1812 in readFail_612 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_606 farInp_619 farExp_620 buf_611 GHC.Types.True
1813 in if callerEnded_608
1814 then noMoreInput_617
1816 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
1817 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
1819 if Symantic.Parser.Machine.Input.nullInput newInput_621
1820 then noMoreInput_617
1821 else partialCont_610 (append_5 buf_611 newInput_621)
1824 in partialCont_610 callerBuffer_607
1826 in loop_604 callerOnReturn_563 cs_579 buf_576 callerEnd_566 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_577 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1828 let _ = "checkToken.fail"
1829 in readFail_577 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_564 initPos_2 Data.Set.Internal.empty buf_576 callerEnd_566
1831 let _ = "checkHorizon.newCheck.fail"
1832 in let noMoreInput_622 =
1834 Data.Set.Internal.Bin
1836 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1837 ( case inputToken of
1838 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
1841 Data.Set.Internal.Tip
1842 Data.Set.Internal.Tip
1846 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_564 of
1855 failExp_623 GHC.Base.<> Data.Set.Internal.empty
1860 Data.Set.Internal.empty
1862 in readFail_577 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_564 farInp_624 farExp_625 buf_576 GHC.Types.True
1864 then noMoreInput_622
1866 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
1867 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
1869 if Symantic.Parser.Machine.Input.nullInput newInput_626
1870 then noMoreInput_622
1871 else partialCont_575 (append_5 buf_576 newInput_626)
1874 in partialCont_575 callerBuffer_565
1875 name_110 = \(!callerOnReturn_627) (!callerInput_628) (!callerBuffer_629) (!callerEnd_630) (!callerOnExceptionStackByLabel_631) ->
1877 in let _ = "comment: satisfy ((GHC.Classes.==) '(')"
1878 in let partialCont_632 buf_633 =
1879 let readFail_634 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_631
1880 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
1881 in if readMore_3 buf_633 ((GHC.Num.+) @GHC.Types.Int 1 callerInput_628)
1883 let _ = "checkToken"
1887 #) = readNext_4 buf_633 callerInput_628
1888 in if (GHC.Classes.==) '(' c_635
1890 let _ = "lift2Value checkedHorizon=2"
1892 ( let _ = "onReturn"
1893 in \farInp_637 farExp_638 v_639 (!inp_640) buf_641 end_642 ->
1894 let _ = "lift2Value checkedHorizon=0"
1896 in callerOnReturn_627
1899 ( let _ = "resume.genCode"
1909 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_634 Data.Map.Internal.Tip Data.Map.Internal.Tip)
1911 let _ = "checkToken.fail"
1912 in let failExp_643 =
1913 Data.Set.Internal.Bin
1915 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1916 ( case inputToken of
1917 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '('
1920 Data.Set.Internal.Tip
1921 Data.Set.Internal.Tip
1925 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_628 of
1934 failExp_643 GHC.Base.<> Data.Set.Internal.empty
1939 Data.Set.Internal.empty
1941 in readFail_634 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_628 farInp_644 farExp_645 buf_633 callerEnd_630
1943 let _ = "checkHorizon.newCheck.fail"
1944 in let noMoreInput_646 =
1946 Data.Set.Internal.Bin
1948 ( Symantic.Parser.Grammar.Combinators.SomeFailure
1949 ( case inputToken of
1950 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
1953 Data.Set.Internal.Tip
1954 Data.Set.Internal.Tip
1958 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_628 of
1967 failExp_647 GHC.Base.<> Data.Set.Internal.empty
1972 Data.Set.Internal.empty
1974 in readFail_634 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_628 farInp_648 farExp_649 buf_633 GHC.Types.True
1976 then noMoreInput_646
1978 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
1979 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
1981 if Symantic.Parser.Machine.Input.nullInput newInput_650
1982 then noMoreInput_646
1983 else partialCont_632 (append_5 buf_633 newInput_650)
1986 in partialCont_632 callerBuffer_629
1987 name_124 = \(!callerOnReturn_651) (!callerInput_652) (!callerBuffer_653) (!callerEnd_654) (!callerOnExceptionStackByLabel_655) ->
1989 in let _ = "comment: satisfy ((GHC.Classes.==) ')')"
1990 in let partialCont_656 buf_657 =
1991 let readFail_658 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_655
1992 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
1993 in if readMore_3 buf_657 ((GHC.Num.+) @GHC.Types.Int 1 callerInput_652)
1995 let _ = "checkToken"
1999 #) = readNext_4 buf_657 callerInput_652
2000 in if (GHC.Classes.==) ')' c_659
2002 let _ = "lift2Value checkedHorizon=2"
2004 ( let _ = "onReturn"
2005 in \farInp_661 farExp_662 v_663 (!inp_664) buf_665 end_666 ->
2006 let _ = "lift2Value checkedHorizon=0"
2008 in callerOnReturn_651
2011 ( let _ = "resume.genCode"
2021 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_658 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2023 let _ = "checkToken.fail"
2024 in let failExp_667 =
2025 Data.Set.Internal.Bin
2027 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2028 ( case inputToken of
2029 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken ')'
2032 Data.Set.Internal.Tip
2033 Data.Set.Internal.Tip
2037 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_652 of
2046 failExp_667 GHC.Base.<> Data.Set.Internal.empty
2051 Data.Set.Internal.empty
2053 in readFail_658 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_652 farInp_668 farExp_669 buf_657 callerEnd_654
2055 let _ = "checkHorizon.newCheck.fail"
2056 in let noMoreInput_670 =
2058 Data.Set.Internal.Bin
2060 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2061 ( case inputToken of
2062 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
2065 Data.Set.Internal.Tip
2066 Data.Set.Internal.Tip
2070 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_652 of
2079 failExp_671 GHC.Base.<> Data.Set.Internal.empty
2084 Data.Set.Internal.empty
2086 in readFail_658 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_652 farInp_672 farExp_673 buf_657 GHC.Types.True
2088 then noMoreInput_670
2090 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
2091 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
2093 if Symantic.Parser.Machine.Input.nullInput newInput_674
2094 then noMoreInput_670
2095 else partialCont_656 (append_5 buf_657 newInput_674)
2098 in partialCont_656 callerBuffer_653
2099 name_189 = \(!callerOnReturn_675) (!callerInput_676) (!callerBuffer_677) (!callerEnd_678) (!callerOnExceptionStackByLabel_679) ->
2101 in let _ = "comment: satisfy ((GHC.Classes.==) ',')"
2102 in let partialCont_680 buf_681 =
2103 let readFail_682 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_679
2104 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
2105 in if readMore_3 buf_681 ((GHC.Num.+) @GHC.Types.Int 1 callerInput_676)
2107 let _ = "checkToken"
2111 #) = readNext_4 buf_681 callerInput_676
2112 in if (GHC.Classes.==) ',' c_683
2114 let _ = "lift2Value checkedHorizon=2"
2116 ( let _ = "onReturn"
2117 in \farInp_685 farExp_686 v_687 (!inp_688) buf_689 end_690 ->
2118 let _ = "lift2Value checkedHorizon=0"
2120 in callerOnReturn_675
2123 ( let _ = "resume.genCode"
2133 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_682 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2135 let _ = "checkToken.fail"
2136 in let failExp_691 =
2137 Data.Set.Internal.Bin
2139 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2140 ( case inputToken of
2141 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken ','
2144 Data.Set.Internal.Tip
2145 Data.Set.Internal.Tip
2149 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_676 of
2158 failExp_691 GHC.Base.<> Data.Set.Internal.empty
2163 Data.Set.Internal.empty
2165 in readFail_682 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_676 farInp_692 farExp_693 buf_681 callerEnd_678
2167 let _ = "checkHorizon.newCheck.fail"
2168 in let noMoreInput_694 =
2170 Data.Set.Internal.Bin
2172 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2173 ( case inputToken of
2174 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
2177 Data.Set.Internal.Tip
2178 Data.Set.Internal.Tip
2182 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_676 of
2191 failExp_695 GHC.Base.<> Data.Set.Internal.empty
2196 Data.Set.Internal.empty
2198 in readFail_682 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_676 farInp_696 farExp_697 buf_681 GHC.Types.True
2200 then noMoreInput_694
2202 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
2203 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
2205 if Symantic.Parser.Machine.Input.nullInput newInput_698
2206 then noMoreInput_694
2207 else partialCont_680 (append_5 buf_681 newInput_698)
2210 in partialCont_680 callerBuffer_677
2211 name_699 = \(!callerOnReturn_700) (!callerInput_701) (!callerBuffer_702) (!callerEnd_703) (!callerOnExceptionStackByLabel_704) ->
2213 in let _ = "comment: satisfy ((GHC.Classes.==) ';')"
2214 in let partialCont_705 buf_706 =
2215 let readFail_707 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_704
2216 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
2217 in if readMore_3 buf_706 ((GHC.Num.+) @GHC.Types.Int 1 callerInput_701)
2219 let _ = "checkToken"
2223 #) = readNext_4 buf_706 callerInput_701
2224 in if (GHC.Classes.==) ';' c_708
2226 let _ = "lift2Value checkedHorizon=2"
2228 ( let _ = "onReturn"
2229 in \farInp_710 farExp_711 v_712 (!inp_713) buf_714 end_715 ->
2230 let _ = "lift2Value checkedHorizon=0"
2232 in callerOnReturn_700
2235 ( let _ = "resume.genCode"
2245 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_707 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2247 let _ = "checkToken.fail"
2248 in let failExp_716 =
2249 Data.Set.Internal.Bin
2251 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2252 ( case inputToken of
2253 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken ';'
2256 Data.Set.Internal.Tip
2257 Data.Set.Internal.Tip
2261 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_701 of
2270 failExp_716 GHC.Base.<> Data.Set.Internal.empty
2275 Data.Set.Internal.empty
2277 in readFail_707 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_701 farInp_717 farExp_718 buf_706 callerEnd_703
2279 let _ = "checkHorizon.newCheck.fail"
2280 in let noMoreInput_719 =
2282 Data.Set.Internal.Bin
2284 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2285 ( case inputToken of
2286 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
2289 Data.Set.Internal.Tip
2290 Data.Set.Internal.Tip
2294 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_701 of
2303 failExp_720 GHC.Base.<> Data.Set.Internal.empty
2308 Data.Set.Internal.empty
2310 in readFail_707 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_701 farInp_721 farExp_722 buf_706 GHC.Types.True
2312 then noMoreInput_719
2314 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
2315 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
2317 if Symantic.Parser.Machine.Input.nullInput newInput_723
2318 then noMoreInput_719
2319 else partialCont_705 (append_5 buf_706 newInput_723)
2322 in partialCont_705 callerBuffer_702
2323 name_103 = \(!callerOnReturn_724) (!callerInput_725) (!callerBuffer_726) (!callerEnd_727) (!callerOnExceptionStackByLabel_728) ->
2325 in let _ = "comment: satisfy ((GHC.Classes.==) '[')"
2326 in let partialCont_729 buf_730 =
2327 let readFail_731 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_728
2328 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=5"
2329 in if readMore_3 buf_730 ((GHC.Num.+) @GHC.Types.Int 4 callerInput_725)
2331 let _ = "checkToken"
2335 #) = readNext_4 buf_730 callerInput_725
2336 in if (GHC.Classes.==) '[' c_732
2338 let _ = "lift2Value checkedHorizon=5"
2340 ( let _ = "onReturn"
2341 in \farInp_734 farExp_735 v_736 (!inp_737) buf_738 end_739 ->
2342 let _ = "lift2Value checkedHorizon=0"
2344 ( let _ = "onReturn"
2345 in \farInp_740 farExp_741 v_742 (!inp_743) buf_744 end_745 ->
2346 let _ = "lift2Value checkedHorizon=0"
2347 in let _ = "pushValue"
2349 let dupv_746 = \u_747 -> u_747
2350 reg_748 <- GHC.STRef.newSTRef dupv_746
2352 in let onException_749 loopInput_750 =
2353 let _ = "onException"
2354 in \(!_exn_751) (!failInp_752) (!farInp_753) (!farExp_754) buf_755 end_756 ->
2355 let _ = "comment: raiseAgainIfConsumed"
2356 in let _ = "saveInput checkedHorizon=0"
2357 in let _ = "lift2Value checkedHorizon=0"
2358 in if (GHC.Classes.==) @GHC.Types.Int loopInput_750 failInp_752
2360 let _ = "choicesBranch checkedHorizon=0"
2362 sr_757 <- GHC.STRef.readSTRef reg_748
2364 in let _ = "lift2Value checkedHorizon=0"
2365 in let _ = "lift2Value checkedHorizon=0"
2366 in let _ = "comment: satisfy ((GHC.Classes.==) ']')"
2367 in let partialCont_758 buf_759 =
2368 let readFail_760 = readFail_731
2369 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
2370 in if readMore_3 buf_759 ((GHC.Num.+) @GHC.Types.Int 1 failInp_752)
2372 let _ = "checkToken"
2376 #) = readNext_4 buf_759 failInp_752
2377 in if (GHC.Classes.==) ']' c_761
2379 let _ = "lift2Value checkedHorizon=2"
2381 ( let _ = "onReturn"
2382 in \farInp_763 farExp_764 v_765 (!inp_766) buf_767 end_768 ->
2383 let _ = "lift2Value checkedHorizon=0"
2385 in callerOnReturn_724
2388 ( let _ = "resume.genCode"
2398 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_760 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2400 let _ = "checkToken.fail"
2401 in let failExp_769 =
2402 Data.Set.Internal.Bin
2404 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2405 ( case inputToken of
2406 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken ']'
2409 Data.Set.Internal.Tip
2410 Data.Set.Internal.Tip
2414 #) = case GHC.Classes.compare @GHC.Types.Int farInp_753 failInp_752 of
2423 failExp_769 GHC.Base.<> farExp_754
2430 in readFail_760 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_752 farInp_770 farExp_771 buf_759 end_756
2432 let _ = "checkHorizon.newCheck.fail"
2433 in let noMoreInput_772 =
2435 Data.Set.Internal.Bin
2437 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2438 ( case inputToken of
2439 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
2442 Data.Set.Internal.Tip
2443 Data.Set.Internal.Tip
2447 #) = case GHC.Classes.compare @GHC.Types.Int farInp_753 failInp_752 of
2456 failExp_773 GHC.Base.<> farExp_754
2463 in readFail_760 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_752 farInp_774 farExp_775 buf_759 GHC.Types.True
2465 then noMoreInput_772
2467 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
2468 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
2470 if Symantic.Parser.Machine.Input.nullInput newInput_776
2471 then noMoreInput_772
2472 else partialCont_758 (append_5 buf_759 newInput_776)
2475 in partialCont_758 buf_755
2477 let _ = "choicesBranch.else"
2478 in readFail_731 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_752 farInp_753 farExp_754 buf_755 end_756
2479 loop_777 = \_callerOnReturn_778 callerInput_779 callerBuffer_780 callerEnded_781 callerOnExceptionStackByLabel_782 ->
2482 ( let _ = "onReturn"
2483 in \farInp_783 farExp_784 v_785 (!inp_786) buf_787 end_788 ->
2484 let _ = "lift2Value checkedHorizon=0"
2486 sr_789 <- GHC.STRef.readSTRef reg_748
2487 let _ = "lift2Value checkedHorizon=0"
2489 let dupv_790 = sr_789
2490 GHC.STRef.writeSTRef reg_748 dupv_790
2492 in loop_777 (GHC.Err.error "invalid onReturn") inp_786 buf_787 end_788 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_749 callerInput_779) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2497 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_749 callerInput_779) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2499 in loop_777 callerOnReturn_724 inp_743 buf_744 end_745 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_731 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2504 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_731 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2509 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_731 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2511 let _ = "checkToken.fail"
2512 in let failExp_791 =
2513 Data.Set.Internal.Bin
2515 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2516 ( case inputToken of
2517 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '['
2520 Data.Set.Internal.Tip
2521 Data.Set.Internal.Tip
2525 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_725 of
2534 failExp_791 GHC.Base.<> Data.Set.Internal.empty
2539 Data.Set.Internal.empty
2541 in readFail_731 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_725 farInp_792 farExp_793 buf_730 callerEnd_727
2543 let _ = "checkHorizon.newCheck.fail"
2544 in let noMoreInput_794 =
2546 Data.Set.Internal.Bin
2548 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2549 ( case inputToken of
2550 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 5
2553 Data.Set.Internal.Tip
2554 Data.Set.Internal.Tip
2558 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_725 of
2567 failExp_795 GHC.Base.<> Data.Set.Internal.empty
2572 Data.Set.Internal.empty
2574 in readFail_731 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_725 farInp_796 farExp_797 buf_730 GHC.Types.True
2576 then noMoreInput_794
2578 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
2579 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
2581 if Symantic.Parser.Machine.Input.nullInput newInput_798
2582 then noMoreInput_794
2583 else partialCont_729 (append_5 buf_730 newInput_798)
2586 in partialCont_729 callerBuffer_726
2587 name_799 = \(!callerOnReturn_800) (!callerInput_801) (!callerBuffer_802) (!callerEnd_803) (!callerOnExceptionStackByLabel_804) ->
2589 in let _ = "comment: satisfy ((GHC.Classes.==) '{')"
2590 in let partialCont_805 buf_806 =
2591 let readFail_807 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_804
2592 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=4"
2593 in if readMore_3 buf_806 ((GHC.Num.+) @GHC.Types.Int 3 callerInput_801)
2595 let _ = "checkToken"
2599 #) = readNext_4 buf_806 callerInput_801
2600 in if (GHC.Classes.==) '{' c_808
2602 let _ = "lift2Value checkedHorizon=4"
2604 ( let _ = "onReturn"
2605 in \farInp_810 farExp_811 v_812 (!inp_813) buf_814 end_815 ->
2606 let _ = "lift2Value checkedHorizon=0"
2607 in let _ = "pushValue"
2609 let dupv_816 = \u_817 -> u_817
2610 reg_818 <- GHC.STRef.newSTRef dupv_816
2612 in let onException_819 loopInput_820 =
2613 let _ = "onException"
2614 in \(!_exn_821) (!failInp_822) (!farInp_823) (!farExp_824) buf_825 end_826 ->
2615 let _ = "comment: raiseAgainIfConsumed"
2616 in let _ = "saveInput checkedHorizon=0"
2617 in let _ = "lift2Value checkedHorizon=0"
2618 in if (GHC.Classes.==) @GHC.Types.Int loopInput_820 failInp_822
2620 let _ = "choicesBranch checkedHorizon=0"
2622 sr_827 <- GHC.STRef.readSTRef reg_818
2624 ( let _ = "onReturn"
2625 in \farInp_828 farExp_829 v_830 (!inp_831) buf_832 end_833 ->
2626 let _ = "lift2Value checkedHorizon=0"
2627 in let _ = "lift2Value checkedHorizon=0"
2629 ( let _ = "onReturn"
2630 in \farInp_834 farExp_835 v_836 (!inp_837) buf_838 end_839 ->
2631 let _ = "lift2Value checkedHorizon=0"
2632 in let _ = "comment: satisfy ((GHC.Classes.==) '}')"
2633 in let partialCont_840 buf_841 =
2634 let readFail_842 = readFail_807
2635 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
2636 in if readMore_3 buf_841 ((GHC.Num.+) @GHC.Types.Int 1 inp_837)
2638 let _ = "checkToken"
2642 #) = readNext_4 buf_841 inp_837
2643 in if (GHC.Classes.==) '}' c_843
2645 let _ = "lift2Value checkedHorizon=2"
2647 ( let _ = "onReturn"
2648 in \farInp_845 farExp_846 v_847 (!inp_848) buf_849 end_850 ->
2649 let _ = "lift2Value checkedHorizon=0"
2651 in callerOnReturn_800
2654 ( let _ = "resume.genCode"
2664 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_842 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2666 let _ = "checkToken.fail"
2667 in let failExp_851 =
2668 Data.Set.Internal.Bin
2670 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2671 ( case inputToken of
2672 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '}'
2675 Data.Set.Internal.Tip
2676 Data.Set.Internal.Tip
2680 #) = case GHC.Classes.compare @GHC.Types.Int farInp_834 inp_837 of
2689 failExp_851 GHC.Base.<> farExp_835
2696 in readFail_842 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_837 farInp_852 farExp_853 buf_841 end_839
2698 let _ = "checkHorizon.newCheck.fail"
2699 in let noMoreInput_854 =
2701 Data.Set.Internal.Bin
2703 ( Symantic.Parser.Grammar.Combinators.SomeFailure
2704 ( case inputToken of
2705 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
2708 Data.Set.Internal.Tip
2709 Data.Set.Internal.Tip
2713 #) = case GHC.Classes.compare @GHC.Types.Int farInp_834 inp_837 of
2722 failExp_855 GHC.Base.<> farExp_835
2729 in readFail_842 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_837 farInp_856 farExp_857 buf_841 GHC.Types.True
2731 then noMoreInput_854
2733 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
2734 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
2736 if Symantic.Parser.Machine.Input.nullInput newInput_858
2737 then noMoreInput_854
2738 else partialCont_840 (append_5 buf_841 newInput_858)
2741 in partialCont_840 buf_838
2746 Data.Map.Internal.Tip
2751 Data.Map.Internal.Tip
2753 let _ = "choicesBranch.else"
2754 in readFail_807 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_822 farInp_823 farExp_824 buf_825 end_826
2755 loop_859 = \_callerOnReturn_860 callerInput_861 callerBuffer_862 callerEnded_863 callerOnExceptionStackByLabel_864 ->
2757 in let join_865 = \farInp_866 farExp_867 v_868 (!inp_869) buf_870 end_871 ->
2758 let _ = "lift2Value checkedHorizon=0"
2760 sr_872 <- GHC.STRef.readSTRef reg_818
2761 let _ = "lift2Value checkedHorizon=0"
2763 let dupv_873 = sr_872
2764 GHC.STRef.writeSTRef reg_818 dupv_873
2766 in loop_859 (GHC.Err.error "invalid onReturn") inp_869 buf_870 end_871 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_819 callerInput_861) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2767 in let _ = "catch ExceptionFailure checkedHorizon=0"
2768 in let onException_874 =
2769 let _ = "onException"
2770 in \(!_exn_875) (!failInp_876) (!farInp_877) (!farExp_878) buf_879 end_880 ->
2771 let _ = "comment: raiseAgainIfConsumed"
2772 in let _ = "saveInput checkedHorizon=0"
2773 in let _ = "lift2Value checkedHorizon=0"
2774 in if (GHC.Classes.==) @GHC.Types.Int callerInput_861 failInp_876
2776 let _ = "choicesBranch checkedHorizon=0"
2777 in let _ = "catch ExceptionFailure checkedHorizon=0"
2778 in let onException_881 =
2779 let _ = "onException"
2780 in \(!_exn_882) (!failInp_883) (!farInp_884) (!farExp_885) buf_886 end_887 ->
2781 let _ = "comment: raiseAgainIfConsumed"
2782 in let _ = "saveInput checkedHorizon=0"
2783 in let _ = "lift2Value checkedHorizon=0"
2784 in if (GHC.Classes.==) @GHC.Types.Int failInp_876 failInp_883
2786 let _ = "choicesBranch checkedHorizon=0"
2787 in let _ = "catch ExceptionFailure checkedHorizon=0"
2788 in let onException_888 =
2789 let _ = "onException"
2790 in \(!_exn_889) (!failInp_890) (!farInp_891) (!farExp_892) buf_893 end_894 ->
2791 let _ = "comment: raiseAgainIfConsumed"
2792 in let _ = "saveInput checkedHorizon=0"
2793 in let _ = "lift2Value checkedHorizon=0"
2794 in if (GHC.Classes.==) @GHC.Types.Int failInp_883 failInp_890
2796 let _ = "choicesBranch checkedHorizon=0"
2797 in let _ = "pushValue"
2799 ( let _ = "onReturn"
2800 in \farInp_895 farExp_896 v_897 (!inp_898) buf_899 end_900 ->
2801 let _ = "lift2Value checkedHorizon=0"
2803 ( let _ = "onReturn"
2804 in \farInp_901 farExp_902 v_903 (!inp_904) buf_905 end_906 ->
2805 let _ = "lift2Value checkedHorizon=0"
2810 ( let _ = "resume.genCode"
2820 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_819 callerInput_861) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2825 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_819 callerInput_861) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2827 let _ = "choicesBranch.else"
2828 in onException_819 callerInput_861 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_890 farInp_891 farExp_892 buf_893 end_894
2829 in let _ = "catch ExceptionFailure checkedHorizon=0"
2830 in let onException_907 =
2831 let _ = "onException"
2832 in \(!_exn_908) (!failInp_909) (!farInp_910) (!farExp_911) buf_912 end_913 ->
2833 let _ = "loadInput checkedHorizon=0"
2834 in let _ = "checkHorizon.noCheck"
2835 in onException_888 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_883 farInp_910 farExp_911 buf_912 end_913
2836 in let _ = "pushValue"
2837 in let join_914 = \farInp_915 farExp_916 v_917 (!inp_918) buf_919 end_920 ->
2838 let _ = "lift2Value checkedHorizon=0"
2840 ( let _ = "onReturn"
2841 in \farInp_921 farExp_922 v_923 (!inp_924) buf_925 end_926 ->
2842 let _ = "lift2Value checkedHorizon=0"
2843 in let _ = "pushValue"
2845 let dupv_927 = \u_928 -> u_928
2846 reg_929 <- GHC.STRef.newSTRef dupv_927
2848 in let onException_930 loopInput_931 =
2849 let _ = "onException"
2850 in \(!_exn_932) (!failInp_933) (!farInp_934) (!farExp_935) buf_936 end_937 ->
2851 let _ = "comment: raiseAgainIfConsumed"
2852 in let _ = "saveInput checkedHorizon=0"
2853 in let _ = "lift2Value checkedHorizon=0"
2854 in if (GHC.Classes.==) @GHC.Types.Int loopInput_931 failInp_933
2856 let _ = "choicesBranch checkedHorizon=0"
2858 sr_938 <- GHC.STRef.readSTRef reg_929
2860 ( let _ = "onReturn"
2861 in \farInp_939 farExp_940 v_941 (!inp_942) buf_943 end_944 ->
2862 let _ = "lift2Value checkedHorizon=0"
2863 in let _ = "lift2Value checkedHorizon=0"
2865 ( let _ = "onReturn"
2866 in \farInp_945 farExp_946 v_947 (!inp_948) buf_949 end_950 ->
2867 let _ = "lift2Value checkedHorizon=0"
2868 in let _ = "comment: satisfy ((GHC.Classes.==) '=')"
2869 in let partialCont_951 buf_952 =
2870 let readFail_953 = onException_907
2871 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=6"
2872 in if readMore_3 buf_952 ((GHC.Num.+) @GHC.Types.Int 5 inp_948)
2874 let _ = "checkToken"
2878 #) = readNext_4 buf_952 inp_948
2879 in if (GHC.Classes.==) '=' c_954
2881 let _ = "lift2Value checkedHorizon=6"
2883 ( let _ = "onReturn"
2884 in \farInp_956 farExp_957 v_958 (!inp_959) buf_960 end_961 ->
2885 let _ = "lift2Value checkedHorizon=0"
2887 ( let _ = "onReturn"
2888 in \farInp_962 farExp_963 v_964 (!inp_965) buf_966 end_967 ->
2889 let _ = "lift2Value checkedHorizon=0"
2890 in let _ = "pushValue"
2892 let dupv_968 = \u_969 -> u_969
2893 reg_970 <- GHC.STRef.newSTRef dupv_968
2895 in let onException_971 loopInput_972 =
2896 let _ = "onException"
2897 in \(!_exn_973) (!failInp_974) (!farInp_975) (!farExp_976) buf_977 end_978 ->
2898 let _ = "comment: raiseAgainIfConsumed"
2899 in let _ = "saveInput checkedHorizon=0"
2900 in let _ = "lift2Value checkedHorizon=0"
2901 in if (GHC.Classes.==) @GHC.Types.Int loopInput_972 failInp_974
2903 let _ = "choicesBranch checkedHorizon=0"
2905 sr_979 <- GHC.STRef.readSTRef reg_970
2907 ( let _ = "onReturn"
2908 in \farInp_980 farExp_981 v_982 (!inp_983) buf_984 end_985 ->
2909 let _ = "lift2Value checkedHorizon=0"
2910 in let _ = "lift2Value checkedHorizon=0"
2912 ( let _ = "onReturn"
2913 in \farInp_986 farExp_987 v_988 (!inp_989) buf_990 end_991 ->
2914 let _ = "lift2Value checkedHorizon=0"
2916 ( let _ = "onReturn"
2917 in \farInp_992 farExp_993 v_994 (!inp_995) buf_996 end_997 ->
2918 let _ = "lift2Value checkedHorizon=0"
2925 ( let _ = "resume.genCode"
2935 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_953 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2940 Data.Map.Internal.Tip
2945 Data.Map.Internal.Tip
2947 let _ = "choicesBranch.else"
2948 in readFail_953 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_974 farInp_975 farExp_976 buf_977 end_978
2949 loop_998 = \_callerOnReturn_999 callerInput_1000 callerBuffer_1001 callerEnded_1002 callerOnExceptionStackByLabel_1003 ->
2952 ( let _ = "onReturn"
2953 in \farInp_1004 farExp_1005 v_1006 (!inp_1007) buf_1008 end_1009 ->
2954 let _ = "lift2Value checkedHorizon=0"
2956 ( let _ = "onReturn"
2957 in \farInp_1010 farExp_1011 v_1012 (!inp_1013) buf_1014 end_1015 ->
2958 let _ = "lift2Value checkedHorizon=0"
2960 ( let _ = "onReturn"
2961 in \farInp_1016 farExp_1017 v_1018 (!inp_1019) buf_1020 end_1021 ->
2962 let _ = "lift2Value checkedHorizon=0"
2964 sr_1022 <- GHC.STRef.readSTRef reg_970
2965 let _ = "lift2Value checkedHorizon=0"
2967 let dupv_1023 = v_1006 v_1018 sr_1022
2968 GHC.STRef.writeSTRef reg_970 dupv_1023
2970 in loop_998 (GHC.Err.error "invalid onReturn") inp_1019 buf_1020 end_1021 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_971 callerInput_1000) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2975 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_971 callerInput_1000) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2980 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_971 callerInput_1000) Data.Map.Internal.Tip Data.Map.Internal.Tip)
2985 Data.Map.Internal.Tip
2987 in loop_998 (GHC.Err.error "invalid onReturn") inp_965 buf_966 end_967 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_953 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2992 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_953 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2997 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_953 Data.Map.Internal.Tip Data.Map.Internal.Tip)
2999 let _ = "checkToken.fail"
3000 in let failExp_1024 =
3001 Data.Set.Internal.Bin
3003 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3004 ( case inputToken of
3005 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '='
3008 Data.Set.Internal.Tip
3009 Data.Set.Internal.Tip
3013 #) = case GHC.Classes.compare @GHC.Types.Int farInp_945 inp_948 of
3022 failExp_1024 GHC.Base.<> farExp_946
3029 in readFail_953 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_948 farInp_1025 farExp_1026 buf_952 end_950
3031 let _ = "checkHorizon.newCheck.fail"
3032 in let noMoreInput_1027 =
3034 Data.Set.Internal.Bin
3036 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3037 ( case inputToken of
3038 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 6
3041 Data.Set.Internal.Tip
3042 Data.Set.Internal.Tip
3046 #) = case GHC.Classes.compare @GHC.Types.Int farInp_945 inp_948 of
3055 failExp_1028 GHC.Base.<> farExp_946
3062 in readFail_953 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_948 farInp_1029 farExp_1030 buf_952 GHC.Types.True
3064 then noMoreInput_1027
3066 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
3067 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
3069 if Symantic.Parser.Machine.Input.nullInput newInput_1031
3070 then noMoreInput_1027
3071 else partialCont_951 (append_5 buf_952 newInput_1031)
3074 in partialCont_951 buf_949
3079 Data.Map.Internal.Tip
3084 Data.Map.Internal.Tip
3086 let _ = "choicesBranch.else"
3087 in onException_907 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_933 farInp_934 farExp_935 buf_936 end_937
3088 loop_1032 = \_callerOnReturn_1033 callerInput_1034 callerBuffer_1035 callerEnded_1036 callerOnExceptionStackByLabel_1037 ->
3091 ( let _ = "onReturn"
3092 in \farInp_1038 farExp_1039 v_1040 (!inp_1041) buf_1042 end_1043 ->
3093 let _ = "lift2Value checkedHorizon=0"
3095 ( let _ = "onReturn"
3096 in \farInp_1044 farExp_1045 v_1046 (!inp_1047) buf_1048 end_1049 ->
3097 let _ = "lift2Value checkedHorizon=0"
3099 ( let _ = "onReturn"
3100 in \farInp_1050 farExp_1051 v_1052 (!inp_1053) buf_1054 end_1055 ->
3101 let _ = "lift2Value checkedHorizon=0"
3103 sr_1056 <- GHC.STRef.readSTRef reg_929
3104 let _ = "lift2Value checkedHorizon=0"
3106 let dupv_1057 = v_1040 v_1052 sr_1056
3107 GHC.STRef.writeSTRef reg_929 dupv_1057
3109 in loop_1032 (GHC.Err.error "invalid onReturn") inp_1053 buf_1054 end_1055 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_930 callerInput_1034) Data.Map.Internal.Tip Data.Map.Internal.Tip)
3114 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_930 callerInput_1034) Data.Map.Internal.Tip Data.Map.Internal.Tip)
3119 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_930 callerInput_1034) Data.Map.Internal.Tip Data.Map.Internal.Tip)
3124 Data.Map.Internal.Tip
3126 in loop_1032 (GHC.Err.error "invalid onReturn") inp_924 buf_925 end_926 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_907 Data.Map.Internal.Tip Data.Map.Internal.Tip)
3131 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_907 Data.Map.Internal.Tip Data.Map.Internal.Tip)
3132 in let _ = "catch ExceptionFailure checkedHorizon=0"
3133 in let onException_1058 =
3134 let _ = "onException"
3135 in \(!_exn_1059) (!failInp_1060) (!farInp_1061) (!farExp_1062) buf_1063 end_1064 ->
3136 let _ = "comment: raiseAgainIfConsumed"
3137 in let _ = "saveInput checkedHorizon=0"
3138 in let _ = "lift2Value checkedHorizon=0"
3139 in if (GHC.Classes.==) @GHC.Types.Int failInp_883 failInp_1060
3141 let _ = "choicesBranch checkedHorizon=0"
3143 ( let _ = "onReturn"
3144 in \farInp_1065 farExp_1066 v_1067 (!inp_1068) buf_1069 end_1070 ->
3149 ( let _ = "resume.genCode"
3159 Data.Map.Internal.Tip
3161 let _ = "choicesBranch.else"
3162 in onException_907 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_1060 farInp_1061 farExp_1062 buf_1063 end_1064
3163 in let _ = "pushValue"
3164 in let _ = "catch ExceptionFailure checkedHorizon=0"
3165 in let onException_1071 =
3166 let _ = "onException"
3167 in \(!_exn_1072) (!failInp_1073) (!farInp_1074) (!farExp_1075) buf_1076 end_1077 ->
3168 let _ = "loadInput checkedHorizon=0"
3169 in let _ = "checkHorizon.noCheck"
3170 in onException_1058 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_883 farInp_1074 farExp_1075 buf_1076 end_1077
3171 in let _ = "pushValue"
3172 in let _ = "comment: satisfy ((GHC.Classes.==) 'v')"
3173 in let partialCont_1078 buf_1079 =
3174 let readFail_1080 = onException_1071
3175 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=11"
3176 in if readMore_3 buf_1079 ((GHC.Num.+) @GHC.Types.Int 10 failInp_883)
3178 let _ = "checkToken"
3182 #) = readNext_4 buf_1079 failInp_883
3183 in if (GHC.Classes.==) 'v' c_1081
3185 let _ = "lift2Value checkedHorizon=11"
3186 in let _ = "comment: satisfy ((GHC.Classes.==) 'a')"
3187 in let _ = "checkHorizon.oldCheck: checkedHorizon=11"
3188 in let _ = "checkToken"
3192 #) = readNext_4 buf_1079 cs_1082
3193 in if (GHC.Classes.==) 'a' c_1083
3195 let _ = "lift2Value checkedHorizon=10"
3196 in let _ = "comment: satisfy ((GHC.Classes.==) 'r')"
3197 in let _ = "checkHorizon.oldCheck: checkedHorizon=10"
3198 in let _ = "checkToken"
3202 #) = readNext_4 buf_1079 cs_1084
3203 in if (GHC.Classes.==) 'r' c_1085
3205 let _ = "lift2Value checkedHorizon=9"
3207 in let _ = "lift2Value checkedHorizon=9"
3213 ( let _ = "resume.genCode"
3220 let _ = "checkToken.fail"
3221 in let failExp_1087 =
3222 Data.Set.Internal.Bin
3224 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3225 ( case inputToken of
3226 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'r'
3229 Data.Set.Internal.Tip
3230 Data.Set.Internal.Tip
3234 #) = case GHC.Classes.compare @GHC.Types.Int farInp_884 cs_1084 of
3243 failExp_1087 GHC.Base.<> farExp_885
3250 in readFail_1080 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1084 farInp_1088 farExp_1089 buf_1079 end_887
3252 let _ = "checkToken.fail"
3253 in let failExp_1090 =
3254 Data.Set.Internal.Bin
3256 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3257 ( case inputToken of
3258 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'a'
3261 Data.Set.Internal.Tip
3262 Data.Set.Internal.Tip
3266 #) = case GHC.Classes.compare @GHC.Types.Int farInp_884 cs_1082 of
3275 failExp_1090 GHC.Base.<> farExp_885
3282 in readFail_1080 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1082 farInp_1091 farExp_1092 buf_1079 end_887
3284 let _ = "checkToken.fail"
3285 in let failExp_1093 =
3286 Data.Set.Internal.Bin
3288 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3289 ( case inputToken of
3290 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'v'
3293 Data.Set.Internal.Tip
3294 Data.Set.Internal.Tip
3298 #) = case GHC.Classes.compare @GHC.Types.Int farInp_884 failInp_883 of
3307 failExp_1093 GHC.Base.<> farExp_885
3314 in readFail_1080 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_883 farInp_1094 farExp_1095 buf_1079 end_887
3316 let _ = "checkHorizon.newCheck.fail"
3317 in let noMoreInput_1096 =
3319 Data.Set.Internal.Bin
3321 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3322 ( case inputToken of
3323 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 11
3326 Data.Set.Internal.Tip
3327 Data.Set.Internal.Tip
3331 #) = case GHC.Classes.compare @GHC.Types.Int farInp_884 failInp_883 of
3340 failExp_1097 GHC.Base.<> farExp_885
3347 in readFail_1080 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_883 farInp_1098 farExp_1099 buf_1079 GHC.Types.True
3349 then noMoreInput_1096
3351 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
3352 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
3354 if Symantic.Parser.Machine.Input.nullInput newInput_1100
3355 then noMoreInput_1096
3356 else partialCont_1078 (append_5 buf_1079 newInput_1100)
3359 in partialCont_1078 buf_886
3361 let _ = "choicesBranch.else"
3362 in onException_819 callerInput_861 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_883 farInp_884 farExp_885 buf_886 end_887
3363 in let _ = "pushValue"
3364 in let _ = "catch ExceptionFailure checkedHorizon=0"
3365 in let onException_1101 =
3366 let _ = "onException"
3367 in \(!_exn_1102) (!failInp_1103) (!farInp_1104) (!farExp_1105) buf_1106 end_1107 ->
3368 let _ = "loadInput checkedHorizon=0"
3369 in let _ = "checkHorizon.noCheck"
3370 in onException_881 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_876 farInp_1104 farExp_1105 buf_1106 end_1107
3371 in let _ = "pushValue"
3372 in let _ = "comment: satisfy ((GHC.Classes.==) 'w')"
3373 in let partialCont_1108 buf_1109 =
3374 let readFail_1110 = onException_1101
3375 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=7"
3376 in if readMore_3 buf_1109 ((GHC.Num.+) @GHC.Types.Int 6 failInp_876)
3378 let _ = "checkToken"
3382 #) = readNext_4 buf_1109 failInp_876
3383 in if (GHC.Classes.==) 'w' c_1111
3385 let _ = "lift2Value checkedHorizon=7"
3386 in let _ = "comment: satisfy ((GHC.Classes.==) 'h')"
3387 in let _ = "checkHorizon.oldCheck: checkedHorizon=7"
3388 in let _ = "checkToken"
3392 #) = readNext_4 buf_1109 cs_1112
3393 in if (GHC.Classes.==) 'h' c_1113
3395 let _ = "lift2Value checkedHorizon=6"
3396 in let _ = "comment: satisfy ((GHC.Classes.==) 'i')"
3397 in let _ = "checkHorizon.oldCheck: checkedHorizon=6"
3398 in let _ = "checkToken"
3402 #) = readNext_4 buf_1109 cs_1114
3403 in if (GHC.Classes.==) 'i' c_1115
3405 let _ = "lift2Value checkedHorizon=5"
3406 in let _ = "comment: satisfy ((GHC.Classes.==) 'l')"
3407 in let _ = "checkHorizon.oldCheck: checkedHorizon=5"
3408 in let _ = "checkToken"
3412 #) = readNext_4 buf_1109 cs_1116
3413 in if (GHC.Classes.==) 'l' c_1117
3415 let _ = "lift2Value checkedHorizon=4"
3416 in let _ = "comment: satisfy ((GHC.Classes.==) 'e')"
3417 in let _ = "checkHorizon.oldCheck: checkedHorizon=4"
3418 in let _ = "checkToken"
3422 #) = readNext_4 buf_1109 cs_1118
3423 in if (GHC.Classes.==) 'e' c_1119
3425 let _ = "lift2Value checkedHorizon=3"
3427 in let _ = "lift2Value checkedHorizon=3"
3429 ( let _ = "onReturn"
3430 in \farInp_1121 farExp_1122 v_1123 (!inp_1124) buf_1125 end_1126 ->
3431 let _ = "lift2Value checkedHorizon=0"
3433 ( let _ = "onReturn"
3434 in \farInp_1127 farExp_1128 v_1129 (!inp_1130) buf_1131 end_1132 ->
3435 let _ = "lift2Value checkedHorizon=0"
3441 ( let _ = "resume.genCode"
3451 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_881 Data.Map.Internal.Tip Data.Map.Internal.Tip)
3456 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure onException_881 Data.Map.Internal.Tip Data.Map.Internal.Tip)
3458 let _ = "checkToken.fail"
3459 in let failExp_1133 =
3460 Data.Set.Internal.Bin
3462 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3463 ( case inputToken of
3464 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'e'
3467 Data.Set.Internal.Tip
3468 Data.Set.Internal.Tip
3472 #) = case GHC.Classes.compare @GHC.Types.Int farInp_877 cs_1118 of
3481 failExp_1133 GHC.Base.<> farExp_878
3488 in readFail_1110 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1118 farInp_1134 farExp_1135 buf_1109 end_880
3490 let _ = "checkToken.fail"
3491 in let failExp_1136 =
3492 Data.Set.Internal.Bin
3494 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3495 ( case inputToken of
3496 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'l'
3499 Data.Set.Internal.Tip
3500 Data.Set.Internal.Tip
3504 #) = case GHC.Classes.compare @GHC.Types.Int farInp_877 cs_1116 of
3513 failExp_1136 GHC.Base.<> farExp_878
3520 in readFail_1110 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1116 farInp_1137 farExp_1138 buf_1109 end_880
3522 let _ = "checkToken.fail"
3523 in let failExp_1139 =
3524 Data.Set.Internal.Bin
3526 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3527 ( case inputToken of
3528 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'i'
3531 Data.Set.Internal.Tip
3532 Data.Set.Internal.Tip
3536 #) = case GHC.Classes.compare @GHC.Types.Int farInp_877 cs_1114 of
3545 failExp_1139 GHC.Base.<> farExp_878
3552 in readFail_1110 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1114 farInp_1140 farExp_1141 buf_1109 end_880
3554 let _ = "checkToken.fail"
3555 in let failExp_1142 =
3556 Data.Set.Internal.Bin
3558 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3559 ( case inputToken of
3560 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'h'
3563 Data.Set.Internal.Tip
3564 Data.Set.Internal.Tip
3568 #) = case GHC.Classes.compare @GHC.Types.Int farInp_877 cs_1112 of
3577 failExp_1142 GHC.Base.<> farExp_878
3584 in readFail_1110 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1112 farInp_1143 farExp_1144 buf_1109 end_880
3586 let _ = "checkToken.fail"
3587 in let failExp_1145 =
3588 Data.Set.Internal.Bin
3590 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3591 ( case inputToken of
3592 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'w'
3595 Data.Set.Internal.Tip
3596 Data.Set.Internal.Tip
3600 #) = case GHC.Classes.compare @GHC.Types.Int farInp_877 failInp_876 of
3609 failExp_1145 GHC.Base.<> farExp_878
3616 in readFail_1110 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_876 farInp_1146 farExp_1147 buf_1109 end_880
3618 let _ = "checkHorizon.newCheck.fail"
3619 in let noMoreInput_1148 =
3621 Data.Set.Internal.Bin
3623 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3624 ( case inputToken of
3625 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 7
3628 Data.Set.Internal.Tip
3629 Data.Set.Internal.Tip
3633 #) = case GHC.Classes.compare @GHC.Types.Int farInp_877 failInp_876 of
3642 failExp_1149 GHC.Base.<> farExp_878
3649 in readFail_1110 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_876 farInp_1150 farExp_1151 buf_1109 GHC.Types.True
3651 then noMoreInput_1148
3653 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
3654 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
3656 if Symantic.Parser.Machine.Input.nullInput newInput_1152
3657 then noMoreInput_1148
3658 else partialCont_1108 (append_5 buf_1109 newInput_1152)
3661 in partialCont_1108 buf_879
3663 let _ = "choicesBranch.else"
3664 in onException_819 callerInput_861 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_876 farInp_877 farExp_878 buf_879 end_880
3665 in let _ = "pushValue"
3666 in let _ = "catch ExceptionFailure checkedHorizon=0"
3667 in let onException_1153 =
3668 let _ = "onException"
3669 in \(!_exn_1154) (!failInp_1155) (!farInp_1156) (!farExp_1157) buf_1158 end_1159 ->
3670 let _ = "loadInput checkedHorizon=0"
3671 in let _ = "checkHorizon.noCheck"
3672 in onException_874 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_861 farInp_1156 farExp_1157 buf_1158 end_1159
3673 in let _ = "pushValue"
3674 in let _ = "comment: satisfy ((GHC.Classes.==) 'i')"
3675 in let partialCont_1160 buf_1161 =
3676 let readFail_1162 = onException_1153
3677 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=2"
3678 in if readMore_3 buf_1161 ((GHC.Num.+) @GHC.Types.Int 1 callerInput_861)
3680 let _ = "checkToken"
3684 #) = readNext_4 buf_1161 callerInput_861
3685 in if (GHC.Classes.==) 'i' c_1163
3687 let _ = "lift2Value checkedHorizon=2"
3688 in let _ = "comment: satisfy ((GHC.Classes.==) 'f')"
3689 in let _ = "checkHorizon.oldCheck: checkedHorizon=2"
3690 in let _ = "checkToken"
3694 #) = readNext_4 buf_1161 cs_1164
3695 in if (GHC.Classes.==) 'f' c_1165
3697 let _ = "lift2Value checkedHorizon=1"
3699 in let _ = "lift2Value checkedHorizon=1"
3705 ( let _ = "resume.genCode"
3712 let _ = "checkToken.fail"
3713 in let failExp_1167 =
3714 Data.Set.Internal.Bin
3716 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3717 ( case inputToken of
3718 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'f'
3721 Data.Set.Internal.Tip
3722 Data.Set.Internal.Tip
3726 #) = case GHC.Classes.compare @GHC.Types.Int farInp_810 cs_1164 of
3735 failExp_1167 GHC.Base.<> farExp_811
3742 in readFail_1162 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1164 farInp_1168 farExp_1169 buf_1161 callerEnded_863
3744 let _ = "checkToken.fail"
3745 in let failExp_1170 =
3746 Data.Set.Internal.Bin
3748 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3749 ( case inputToken of
3750 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'i'
3753 Data.Set.Internal.Tip
3754 Data.Set.Internal.Tip
3758 #) = case GHC.Classes.compare @GHC.Types.Int farInp_810 callerInput_861 of
3767 failExp_1170 GHC.Base.<> farExp_811
3774 in readFail_1162 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_861 farInp_1171 farExp_1172 buf_1161 callerEnded_863
3776 let _ = "checkHorizon.newCheck.fail"
3777 in let noMoreInput_1173 =
3779 Data.Set.Internal.Bin
3781 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3782 ( case inputToken of
3783 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 2
3786 Data.Set.Internal.Tip
3787 Data.Set.Internal.Tip
3791 #) = case GHC.Classes.compare @GHC.Types.Int farInp_810 callerInput_861 of
3800 failExp_1174 GHC.Base.<> farExp_811
3807 in readFail_1162 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_861 farInp_1175 farExp_1176 buf_1161 GHC.Types.True
3808 in if callerEnded_863
3809 then noMoreInput_1173
3811 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
3812 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
3814 if Symantic.Parser.Machine.Input.nullInput newInput_1177
3815 then noMoreInput_1173
3816 else partialCont_1160 (append_5 buf_1161 newInput_1177)
3819 in partialCont_1160 callerBuffer_862
3821 in loop_859 callerOnReturn_800 inp_813 buf_814 end_815 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_807 Data.Map.Internal.Tip Data.Map.Internal.Tip)
3826 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_807 Data.Map.Internal.Tip Data.Map.Internal.Tip)
3828 let _ = "checkToken.fail"
3829 in let failExp_1178 =
3830 Data.Set.Internal.Bin
3832 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3833 ( case inputToken of
3834 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken '{'
3837 Data.Set.Internal.Tip
3838 Data.Set.Internal.Tip
3842 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_801 of
3851 failExp_1178 GHC.Base.<> Data.Set.Internal.empty
3856 Data.Set.Internal.empty
3858 in readFail_807 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_801 farInp_1179 farExp_1180 buf_806 callerEnd_803
3860 let _ = "checkHorizon.newCheck.fail"
3861 in let noMoreInput_1181 =
3863 Data.Set.Internal.Bin
3865 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3866 ( case inputToken of
3867 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 4
3870 Data.Set.Internal.Tip
3871 Data.Set.Internal.Tip
3875 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_801 of
3884 failExp_1182 GHC.Base.<> Data.Set.Internal.empty
3889 Data.Set.Internal.empty
3891 in readFail_807 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_801 farInp_1183 farExp_1184 buf_806 GHC.Types.True
3893 then noMoreInput_1181
3895 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
3896 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
3898 if Symantic.Parser.Machine.Input.nullInput newInput_1185
3899 then noMoreInput_1181
3900 else partialCont_805 (append_5 buf_806 newInput_1185)
3903 in partialCont_805 callerBuffer_802
3904 name_530 = \(!callerOnReturn_1186) (!callerInput_1187) (!callerBuffer_1188) (!callerEnd_1189) (!callerOnExceptionStackByLabel_1190) ->
3906 in let _ = "comment: satisfy GHC.Unicode.isSpace"
3907 in let partialCont_1191 buf_1192 =
3908 let readFail_1193 = Data.Map.Strict.Internal.findWithDefault (Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22) Symantic.Parser.Grammar.Combinators.ExceptionFailure callerOnExceptionStackByLabel_1190
3909 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=1"
3910 in if readMore_3 buf_1192 callerInput_1187
3912 let _ = "checkToken"
3916 #) = readNext_4 buf_1192 callerInput_1187
3917 in if GHC.Unicode.isSpace c_1194
3919 let _ = "lift2Value checkedHorizon=1"
3921 in callerOnReturn_1186
3923 Data.Set.Internal.empty
3924 ( let _ = "resume.genCode"
3931 let _ = "checkToken.fail"
3932 in readFail_1193 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_1187 initPos_2 Data.Set.Internal.empty buf_1192 callerEnd_1189
3934 let _ = "checkHorizon.newCheck.fail"
3935 in let noMoreInput_1196 =
3937 Data.Set.Internal.Bin
3939 ( Symantic.Parser.Grammar.Combinators.SomeFailure
3940 ( case inputToken of
3941 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 1
3944 Data.Set.Internal.Tip
3945 Data.Set.Internal.Tip
3949 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 callerInput_1187 of
3958 failExp_1197 GHC.Base.<> Data.Set.Internal.empty
3963 Data.Set.Internal.empty
3965 in readFail_1193 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_1187 farInp_1198 farExp_1199 buf_1192 GHC.Types.True
3966 in if callerEnd_1189
3967 then noMoreInput_1196
3969 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
3970 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
3972 if Symantic.Parser.Machine.Input.nullInput newInput_1200
3973 then noMoreInput_1196
3974 else partialCont_1191 (append_5 buf_1192 newInput_1200)
3977 in partialCont_1191 callerBuffer_1188
3978 name_82 = \(!callerOnReturn_1201) (!callerInput_1202) (!callerBuffer_1203) (!callerEnd_1204) (!callerOnExceptionStackByLabel_1205) ->
3981 in callerOnReturn_1201
3983 Data.Set.Internal.empty
3984 ( let _ = "resume.genCode"
3990 name_163 = \(!callerOnReturn_1206) (!callerInput_1207) (!callerBuffer_1208) (!callerEnd_1209) (!callerOnExceptionStackByLabel_1210) ->
3993 in callerOnReturn_1206
3995 Data.Set.Internal.empty
3996 ( let _ = "resume.genCode"
4002 name_182 = \(!callerOnReturn_1211) (!callerInput_1212) (!callerBuffer_1213) (!callerEnd_1214) (!callerOnExceptionStackByLabel_1215) ->
4005 in callerOnReturn_1211
4007 Data.Set.Internal.empty
4008 ( let _ = "resume.genCode"
4009 in \u_1216 -> \u_1217 -> u_1217
4014 in let _ = "pushValue"
4016 ( let _ = "onReturn"
4017 in \farInp_1218 farExp_1219 v_1220 (!inp_1221) buf_1222 end_1223 ->
4018 let _ = "lift2Value checkedHorizon=0"
4019 in let _ = "pushValue"
4021 let dupv_1224 = \u_1225 -> u_1225
4022 reg_1226 <- GHC.STRef.newSTRef dupv_1224
4024 in let onException_1227 loopInput_1228 =
4025 let _ = "onException"
4026 in \(!_exn_1229) (!failInp_1230) (!farInp_1231) (!farExp_1232) buf_1233 end_1234 ->
4027 let _ = "comment: raiseAgainIfConsumed"
4028 in let _ = "saveInput checkedHorizon=0"
4029 in let _ = "lift2Value checkedHorizon=0"
4030 in if (GHC.Classes.==) @GHC.Types.Int loopInput_1228 failInp_1230
4032 let _ = "choicesBranch checkedHorizon=0"
4034 sr_1235 <- GHC.STRef.readSTRef reg_1226
4036 ( let _ = "onReturn"
4037 in \farInp_1236 farExp_1237 v_1238 (!inp_1239) buf_1240 end_1241 ->
4038 let _ = "lift2Value checkedHorizon=0"
4039 in let _ = "lift2Value checkedHorizon=0"
4040 in let join_1242 = \farInp_1243 farExp_1244 v_1245 (!inp_1246) buf_1247 end_1248 ->
4041 let _ = "lift2Value checkedHorizon=0"
4046 ( let _ = "resume.genCode"
4047 in GHC.Show.show GHC.Tuple . ()
4052 in let _ = "catch ExceptionFailure checkedHorizon=0"
4053 in let onException_1249 =
4054 let _ = "onException"
4055 in \(!_exn_1250) (!failInp_1251) (!farInp_1252) (!farExp_1253) buf_1254 end_1255 ->
4056 let _ = "comment: raiseAgainIfConsumed"
4057 in let _ = "saveInput checkedHorizon=0"
4058 in let _ = "lift2Value checkedHorizon=0"
4059 in if (GHC.Classes.==) @GHC.Types.Int inp_1239 failInp_1251
4061 let _ = "choicesBranch checkedHorizon=0"
4062 in let _ = "comment: eof.fail"
4063 in let failExp_1256 = Data.Set.Internal.Bin 1 (Symantic.Parser.Grammar.Combinators.SomeFailure Symantic.Parser.Grammar.Combinators.FailureEnd) Data.Set.Internal.Tip Data.Set.Internal.Tip
4067 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1252 failInp_1251 of
4076 failExp_1256 GHC.Base.<> farExp_1253
4083 in Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_1251 farInp_1257 farExp_1258 buf_1254 end_1255
4085 let _ = "choicesBranch.else"
4086 in Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_1251 farInp_1252 farExp_1253 buf_1254 end_1255
4087 in let _ = "comment: negLook"
4088 in let _ = "catch ExceptionFailure checkedHorizon=0"
4089 in let onException_1259 =
4090 let _ = "onException"
4091 in \(!_exn_1260) (!failInp_1261) (!farInp_1262) (!farExp_1263) buf_1264 end_1265 ->
4092 let _ = "comment: negLook.reset"
4093 in let _ = "loadInput checkedHorizon=0"
4094 in let _ = "checkHorizon.noCheck"
4095 in let _ = "pushValue"
4101 ( let _ = "resume.genCode"
4107 in let _ = "comment: negLook.ahead"
4108 in let _ = "saveInput checkedHorizon=0"
4109 in let _ = "comment: satisfy (GHC.Base.const GHC.Types.True)"
4110 in let partialCont_1266 buf_1267 =
4111 let readFail_1268 = onException_1259
4112 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=1"
4113 in if readMore_3 buf_1267 inp_1239
4115 let _ = "checkToken"
4119 #) = readNext_4 buf_1267 inp_1239
4120 in let _ = "popValue"
4122 in let _ = "loadInput checkedHorizon=0"
4123 in let _ = "checkHorizon.noCheck"
4124 in onException_1249 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_1239 farInp_1236 farExp_1237 buf_1267 end_1241
4126 let _ = "checkHorizon.newCheck.fail"
4127 in let noMoreInput_1271 =
4129 Data.Set.Internal.Bin
4131 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4132 ( case inputToken of
4133 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 1
4136 Data.Set.Internal.Tip
4137 Data.Set.Internal.Tip
4141 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1236 inp_1239 of
4150 failExp_1272 GHC.Base.<> farExp_1237
4157 in readFail_1268 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_1239 farInp_1273 farExp_1274 buf_1267 GHC.Types.True
4159 then noMoreInput_1271
4161 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
4162 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
4164 if Symantic.Parser.Machine.Input.nullInput newInput_1275
4165 then noMoreInput_1271
4166 else partialCont_1266 (append_5 buf_1267 newInput_1275)
4169 in partialCont_1266 buf_1240
4174 Data.Map.Internal.Tip
4176 let _ = "choicesBranch.else"
4177 in Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_1230 farInp_1231 farExp_1232 buf_1233 end_1234
4178 loop_1276 = \_callerOnReturn_1277 callerInput_1278 callerBuffer_1279 callerEnded_1280 callerOnExceptionStackByLabel_1281 ->
4180 in let _ = "catch ExceptionFailure checkedHorizon=0"
4181 in let onException_1282 =
4182 let _ = "onException"
4183 in \(!_exn_1283) (!failInp_1284) (!farInp_1285) (!farExp_1286) buf_1287 end_1288 ->
4184 let _ = "loadInput checkedHorizon=0"
4185 in let _ = "checkHorizon.noCheck"
4186 in onException_1227 callerInput_1278 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_1278 farInp_1285 farExp_1286 buf_1287 end_1288
4187 in let _ = "pushValue"
4188 in let _ = "comment: satisfy ((GHC.Classes.==) 'f')"
4189 in let partialCont_1289 buf_1290 =
4190 let readFail_1291 = onException_1282
4191 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=18"
4192 in if readMore_3 buf_1290 ((GHC.Num.+) @GHC.Types.Int 17 callerInput_1278)
4194 let _ = "checkToken"
4198 #) = readNext_4 buf_1290 callerInput_1278
4199 in if (GHC.Classes.==) 'f' c_1292
4201 let _ = "lift2Value checkedHorizon=18"
4202 in let _ = "comment: satisfy ((GHC.Classes.==) 'u')"
4203 in let _ = "checkHorizon.oldCheck: checkedHorizon=18"
4204 in let _ = "checkToken"
4208 #) = readNext_4 buf_1290 cs_1293
4209 in if (GHC.Classes.==) 'u' c_1294
4211 let _ = "lift2Value checkedHorizon=17"
4212 in let _ = "comment: satisfy ((GHC.Classes.==) 'n')"
4213 in let _ = "checkHorizon.oldCheck: checkedHorizon=17"
4214 in let _ = "checkToken"
4218 #) = readNext_4 buf_1290 cs_1295
4219 in if (GHC.Classes.==) 'n' c_1296
4221 let _ = "lift2Value checkedHorizon=16"
4222 in let _ = "comment: satisfy ((GHC.Classes.==) 'c')"
4223 in let _ = "checkHorizon.oldCheck: checkedHorizon=16"
4224 in let _ = "checkToken"
4228 #) = readNext_4 buf_1290 cs_1297
4229 in if (GHC.Classes.==) 'c' c_1298
4231 let _ = "lift2Value checkedHorizon=15"
4232 in let _ = "comment: satisfy ((GHC.Classes.==) 't')"
4233 in let _ = "checkHorizon.oldCheck: checkedHorizon=15"
4234 in let _ = "checkToken"
4238 #) = readNext_4 buf_1290 cs_1299
4239 in if (GHC.Classes.==) 't' c_1300
4241 let _ = "lift2Value checkedHorizon=14"
4242 in let _ = "comment: satisfy ((GHC.Classes.==) 'i')"
4243 in let _ = "checkHorizon.oldCheck: checkedHorizon=14"
4244 in let _ = "checkToken"
4248 #) = readNext_4 buf_1290 cs_1301
4249 in if (GHC.Classes.==) 'i' c_1302
4251 let _ = "lift2Value checkedHorizon=13"
4252 in let _ = "comment: satisfy ((GHC.Classes.==) 'o')"
4253 in let _ = "checkHorizon.oldCheck: checkedHorizon=13"
4254 in let _ = "checkToken"
4258 #) = readNext_4 buf_1290 cs_1303
4259 in if (GHC.Classes.==) 'o' c_1304
4261 let _ = "lift2Value checkedHorizon=12"
4262 in let _ = "comment: satisfy ((GHC.Classes.==) 'n')"
4263 in let _ = "checkHorizon.oldCheck: checkedHorizon=12"
4264 in let _ = "checkToken"
4268 #) = readNext_4 buf_1290 cs_1305
4269 in if (GHC.Classes.==) 'n' c_1306
4271 let _ = "lift2Value checkedHorizon=11"
4273 in let _ = "lift2Value checkedHorizon=11"
4275 ( let _ = "onReturn"
4276 in \farInp_1308 farExp_1309 v_1310 (!inp_1311) buf_1312 end_1313 ->
4277 let _ = "lift2Value checkedHorizon=0"
4279 ( let _ = "onReturn"
4280 in \farInp_1314 farExp_1315 v_1316 (!inp_1317) buf_1318 end_1319 ->
4281 let _ = "lift2Value checkedHorizon=0"
4283 ( let _ = "onReturn"
4284 in \farInp_1320 farExp_1321 v_1322 (!inp_1323) buf_1324 end_1325 ->
4285 let _ = "lift2Value checkedHorizon=0"
4286 in let join_1326 = \farInp_1327 farExp_1328 v_1329 (!inp_1330) buf_1331 end_1332 ->
4287 let _ = "lift2Value checkedHorizon=0"
4289 ( let _ = "onReturn"
4290 in \farInp_1333 farExp_1334 v_1335 (!inp_1336) buf_1337 end_1338 ->
4291 let _ = "lift2Value checkedHorizon=0"
4293 ( let _ = "onReturn"
4294 in \farInp_1339 farExp_1340 v_1341 (!inp_1342) buf_1343 end_1344 ->
4295 let _ = "lift2Value checkedHorizon=0"
4297 sr_1345 <- GHC.STRef.readSTRef reg_1226
4298 let _ = "lift2Value checkedHorizon=0"
4300 let dupv_1346 = sr_1345
4301 GHC.STRef.writeSTRef reg_1226 dupv_1346
4303 in loop_1276 (GHC.Err.error "invalid onReturn") inp_1342 buf_1343 end_1344 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_1227 callerInput_1278) Data.Map.Internal.Tip Data.Map.Internal.Tip)
4308 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_1227 callerInput_1278) Data.Map.Internal.Tip Data.Map.Internal.Tip)
4313 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_1227 callerInput_1278) Data.Map.Internal.Tip Data.Map.Internal.Tip)
4314 in let _ = "catch ExceptionFailure checkedHorizon=0"
4315 in let onException_1347 =
4316 let _ = "onException"
4317 in \(!_exn_1348) (!failInp_1349) (!farInp_1350) (!farExp_1351) buf_1352 end_1353 ->
4318 let _ = "comment: raiseAgainIfConsumed"
4319 in let _ = "saveInput checkedHorizon=0"
4320 in let _ = "lift2Value checkedHorizon=0"
4321 in if (GHC.Classes.==) @GHC.Types.Int inp_1323 failInp_1349
4323 let _ = "choicesBranch checkedHorizon=0"
4325 ( let _ = "onReturn"
4326 in \farInp_1354 farExp_1355 v_1356 (!inp_1357) buf_1358 end_1359 ->
4331 ( let _ = "resume.genCode"
4341 Data.Map.Internal.Tip
4343 let _ = "choicesBranch.else"
4344 in onException_1227 callerInput_1278 Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp_1349 farInp_1350 farExp_1351 buf_1352 end_1353
4345 in let _ = "pushValue"
4346 in let _ = "comment: satisfy ((GHC.Classes.==) ':')"
4347 in let partialCont_1360 buf_1361 =
4348 let readFail_1362 = onException_1347
4349 in let _ = "checkHorizon.newCheck: checkedHorizon=0 minHoriz=8"
4350 in if readMore_3 buf_1361 ((GHC.Num.+) @GHC.Types.Int 7 inp_1323)
4352 let _ = "checkToken"
4356 #) = readNext_4 buf_1361 inp_1323
4357 in if (GHC.Classes.==) ':' c_1363
4359 let _ = "lift2Value checkedHorizon=8"
4361 ( let _ = "onReturn"
4362 in \farInp_1365 farExp_1366 v_1367 (!inp_1368) buf_1369 end_1370 ->
4363 let _ = "lift2Value checkedHorizon=0"
4365 ( let _ = "onReturn"
4366 in \farInp_1371 farExp_1372 v_1373 (!inp_1374) buf_1375 end_1376 ->
4367 let _ = "lift2Value checkedHorizon=0"
4373 ( let _ = "resume.genCode"
4383 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_1362 Data.Map.Internal.Tip Data.Map.Internal.Tip)
4388 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure readFail_1362 Data.Map.Internal.Tip Data.Map.Internal.Tip)
4390 let _ = "checkToken.fail"
4391 in let failExp_1377 =
4392 Data.Set.Internal.Bin
4394 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4395 ( case inputToken of
4396 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken ':'
4399 Data.Set.Internal.Tip
4400 Data.Set.Internal.Tip
4404 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1320 inp_1323 of
4413 failExp_1377 GHC.Base.<> farExp_1321
4420 in readFail_1362 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_1323 farInp_1378 farExp_1379 buf_1361 end_1325
4422 let _ = "checkHorizon.newCheck.fail"
4423 in let noMoreInput_1380 =
4425 Data.Set.Internal.Bin
4427 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4428 ( case inputToken of
4429 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 8
4432 Data.Set.Internal.Tip
4433 Data.Set.Internal.Tip
4437 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1320 inp_1323 of
4446 failExp_1381 GHC.Base.<> farExp_1321
4453 in readFail_1362 Symantic.Parser.Grammar.Combinators.ExceptionFailure inp_1323 farInp_1382 farExp_1383 buf_1361 GHC.Types.True
4455 then noMoreInput_1380
4457 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
4458 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
4460 if Symantic.Parser.Machine.Input.nullInput newInput_1384
4461 then noMoreInput_1380
4462 else partialCont_1360 (append_5 buf_1361 newInput_1384)
4465 in partialCont_1360 buf_1324
4470 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_1227 callerInput_1278) Data.Map.Internal.Tip Data.Map.Internal.Tip)
4475 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_1227 callerInput_1278) Data.Map.Internal.Tip Data.Map.Internal.Tip)
4480 (Data.Map.Internal.Bin 1 Symantic.Parser.Grammar.Combinators.ExceptionFailure (onException_1227 callerInput_1278) Data.Map.Internal.Tip Data.Map.Internal.Tip)
4482 let _ = "checkToken.fail"
4483 in let failExp_1385 =
4484 Data.Set.Internal.Bin
4486 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4487 ( case inputToken of
4488 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'n'
4491 Data.Set.Internal.Tip
4492 Data.Set.Internal.Tip
4496 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 cs_1305 of
4505 failExp_1385 GHC.Base.<> farExp_1219
4512 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1305 farInp_1386 farExp_1387 buf_1290 callerEnded_1280
4514 let _ = "checkToken.fail"
4515 in let failExp_1388 =
4516 Data.Set.Internal.Bin
4518 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4519 ( case inputToken of
4520 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'o'
4523 Data.Set.Internal.Tip
4524 Data.Set.Internal.Tip
4528 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 cs_1303 of
4537 failExp_1388 GHC.Base.<> farExp_1219
4544 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1303 farInp_1389 farExp_1390 buf_1290 callerEnded_1280
4546 let _ = "checkToken.fail"
4547 in let failExp_1391 =
4548 Data.Set.Internal.Bin
4550 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4551 ( case inputToken of
4552 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'i'
4555 Data.Set.Internal.Tip
4556 Data.Set.Internal.Tip
4560 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 cs_1301 of
4569 failExp_1391 GHC.Base.<> farExp_1219
4576 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1301 farInp_1392 farExp_1393 buf_1290 callerEnded_1280
4578 let _ = "checkToken.fail"
4579 in let failExp_1394 =
4580 Data.Set.Internal.Bin
4582 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4583 ( case inputToken of
4584 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 't'
4587 Data.Set.Internal.Tip
4588 Data.Set.Internal.Tip
4592 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 cs_1299 of
4601 failExp_1394 GHC.Base.<> farExp_1219
4608 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1299 farInp_1395 farExp_1396 buf_1290 callerEnded_1280
4610 let _ = "checkToken.fail"
4611 in let failExp_1397 =
4612 Data.Set.Internal.Bin
4614 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4615 ( case inputToken of
4616 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'c'
4619 Data.Set.Internal.Tip
4620 Data.Set.Internal.Tip
4624 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 cs_1297 of
4633 failExp_1397 GHC.Base.<> farExp_1219
4640 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1297 farInp_1398 farExp_1399 buf_1290 callerEnded_1280
4642 let _ = "checkToken.fail"
4643 in let failExp_1400 =
4644 Data.Set.Internal.Bin
4646 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4647 ( case inputToken of
4648 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'n'
4651 Data.Set.Internal.Tip
4652 Data.Set.Internal.Tip
4656 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 cs_1295 of
4665 failExp_1400 GHC.Base.<> farExp_1219
4672 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1295 farInp_1401 farExp_1402 buf_1290 callerEnded_1280
4674 let _ = "checkToken.fail"
4675 in let failExp_1403 =
4676 Data.Set.Internal.Bin
4678 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4679 ( case inputToken of
4680 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'u'
4683 Data.Set.Internal.Tip
4684 Data.Set.Internal.Tip
4688 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 cs_1293 of
4697 failExp_1403 GHC.Base.<> farExp_1219
4704 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure cs_1293 farInp_1404 farExp_1405 buf_1290 callerEnded_1280
4706 let _ = "checkToken.fail"
4707 in let failExp_1406 =
4708 Data.Set.Internal.Bin
4710 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4711 ( case inputToken of
4712 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureToken 'f'
4715 Data.Set.Internal.Tip
4716 Data.Set.Internal.Tip
4720 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 callerInput_1278 of
4729 failExp_1406 GHC.Base.<> farExp_1219
4736 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_1278 farInp_1407 farExp_1408 buf_1290 callerEnded_1280
4738 let _ = "checkHorizon.newCheck.fail"
4739 in let noMoreInput_1409 =
4741 Data.Set.Internal.Bin
4743 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4744 ( case inputToken of
4745 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 18
4748 Data.Set.Internal.Tip
4749 Data.Set.Internal.Tip
4753 #) = case GHC.Classes.compare @GHC.Types.Int farInp_1218 callerInput_1278 of
4762 failExp_1410 GHC.Base.<> farExp_1219
4769 in readFail_1291 Symantic.Parser.Grammar.Combinators.ExceptionFailure callerInput_1278 farInp_1411 farExp_1412 buf_1290 GHC.Types.True
4770 in if callerEnded_1280
4771 then noMoreInput_1409
4773 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
4774 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
4776 if Symantic.Parser.Machine.Input.nullInput newInput_1413
4777 then noMoreInput_1409
4778 else partialCont_1289 (append_5 buf_1290 newInput_1413)
4781 in partialCont_1289 callerBuffer_1279
4783 in loop_1276 finalRet_15 inp_1221 buf_1222 end_1223 Data.Map.Internal.Tip
4788 Data.Map.Internal.Tip
4790 let _ = "checkHorizon.newCheck.fail"
4791 in let noMoreInput_1414 =
4793 Data.Set.Internal.Bin
4795 ( Symantic.Parser.Grammar.Combinators.SomeFailure
4796 ( case inputToken of
4797 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok'_6989586621679076043) -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok'_6989586621679076043 1
4800 Data.Set.Internal.Tip
4801 Data.Set.Internal.Tip
4805 #) = case GHC.Classes.compare @GHC.Types.Int initPos_2 initPos_2 of
4814 failExp_1415 GHC.Base.<> Data.Set.Internal.empty
4819 Data.Set.Internal.empty
4821 in Symantic.Parser.Machine.Generate.unForallOnException finalRaise_22 Symantic.Parser.Grammar.Combinators.ExceptionFailure initPos_2 farInp_1416 farExp_1417 buf_39 GHC.Types.True
4822 in if GHC.Types.False
4823 then noMoreInput_1414
4825 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
4826 ( Symantic.Parser.Machine.Generate.ResultPartial GHC.Base.$
4828 if Symantic.Parser.Machine.Input.nullInput newInput_1418
4829 then noMoreInput_1414
4830 else partialCont_38 (append_5 buf_39 newInput_1418)
4833 in partialCont_38 initBuffer_1