1 \(input_0 :: inp_6989586621679059048) ->
9 ( t_5@( Data.Text.Internal.Text
15 let !( Data.Text.Unsafe.Iter
18 ) = Data.Text.Unsafe.iter t_5 0
21 Data.Text.Internal.Text arr_6 (off_7 GHC.Num.+ d_10) (unconsumed_8 GHC.Num.- d_10)
24 ( Data.Text.Internal.Text
28 ) = unconsumed_12 GHC.Classes.> 0
34 in let finalRet_13 = \_farInp_14 _farExp_15 v_16 _inp_17 -> Data.Either.Right v_16
35 in let finalRaise_18 ::
37 Symantic.Parser.Machine.Generate.Catcher
38 inp_6989586621679059048
39 b_19 = \_failInp_20 (!farInp_21) (!farExp_22) ->
41 Symantic.Parser.Machine.Generate.ParsingErrorStandard
42 { Symantic.Parser.Machine.Generate.parsingErrorOffset = Symantic.Parser.Machine.Input.offset farInp_21,
43 Symantic.Parser.Machine.Generate.parsingErrorUnexpected =
44 if readMore_2 farInp_21
50 #) = readNext_3 farInp_21
53 else GHC.Maybe.Nothing,
54 Symantic.Parser.Machine.Generate.parsingErrorExpecting = Data.Set.Internal.fromList farExp_22
56 in let name_24 = \(!ok_25) (!inp_26) (!koByLabel_27) ->
57 let _ = "catchException lbl=fail"
58 in let catchHandler_28 (!failInp_29) (!farInp_30) (!farExp_31) =
59 let _ = "catchException.ko lbl=fail"
60 in if ( \( Data.Text.Internal.Text
65 ( Data.Text.Internal.Text
69 ) -> i_32 GHC.Classes.== j_33
74 let _ = "choicesBranch.then"
79 ( let _ = "resume.genCode"
84 let _ = "choicesBranch.else"
88 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp_30 failInp_29 of
97 farExp_31 GHC.Base.<> []
104 in finalRaise_18 failInp_29 farInp_35 farExp_36
105 in let readFail_37 = catchHandler_28
106 in if readMore_2 inp_26
111 #) = readNext_3 inp_26
112 in if ('r' GHC.Classes.==) c_38
116 in \farInp_40 farExp_41 v_42 (!inp_43) ->
121 ( let _ = "resume.genCode"
122 in \x_44 -> 'r' GHC.Types.: v_42 x_44
127 Data.Map.Internal.Tip
129 let _ = "checkToken.else"
133 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init_1 inp_26 of
137 [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'r']
142 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'r']
149 in readFail_37 inp_26 farInp_45 farExp_46
151 let _ = "checkHorizon.else"
155 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init_1 inp_26 of
159 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
164 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
171 in readFail_37 inp_26 farInp_47 farExp_48
174 in \farInp_49 farExp_50 v_51 (!inp_52) ->
175 let join_53 = \farInp_54 farExp_55 v_56 (!inp_57) ->
180 ( let _ = "resume.genCode"
181 in v_51 GHC.Types . []
184 in let _ = "catchException lbl=fail"
185 in let catchHandler_58 (!failInp_59) (!farInp_60) (!farExp_61) =
186 let _ = "catchException.ko lbl=fail"
187 in if ( \( Data.Text.Internal.Text
192 ( Data.Text.Internal.Text
196 ) -> i_62 GHC.Classes.== j_63
201 let _ = "choicesBranch.then"
205 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp_60 failInp_59 of
209 [Symantic.Parser.Grammar.Combinators.ErrorItemEnd]
214 farExp_61 GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemEnd]
221 in finalRaise_18 failInp_59 farInp_64 farExp_65
223 let _ = "choicesBranch.else"
227 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp_60 failInp_59 of
236 farExp_61 GHC.Base.<> []
243 in finalRaise_18 failInp_59 farInp_66 farExp_67
244 in let _ = "catchException lbl=fail"
245 in let catchHandler_68 (!failInp_69) (!farInp_70) (!farExp_71) =
246 let _ = "catchException.ko lbl=fail"
251 ( let _ = "resume.genCode"
255 in let readFail_72 = catchHandler_68
256 in if readMore_2 inp_52
261 #) = readNext_3 inp_52
262 in if (\x_75 -> GHC.Types.True) c_73
267 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp_49 inp_52 of
276 farExp_50 GHC.Base.<> []
283 in catchHandler_58 inp_52 farInp_76 farExp_77
285 let _ = "checkToken.else"
289 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp_49 inp_52 of
298 farExp_50 GHC.Base.<> []
305 in readFail_72 inp_52 farInp_78 farExp_79
307 let _ = "checkHorizon.else"
311 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp_49 inp_52 of
315 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
320 farExp_50 GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
327 in readFail_72 inp_52 farInp_80 farExp_81
330 Data.Map.Internal.Tip