9 ( t@( Data.Text.Internal.Text
15 let !( Data.Text.Unsafe.Iter
18 ) = Data.Text.Unsafe.iter t 0
21 Data.Text.Internal.Text arr (off GHC.Num.+ d) (unconsumed GHC.Num.- d)
24 ( Data.Text.Internal.Text
28 ) = unconsumed GHC.Classes.> 0
29 in (# input, more, next #)
30 in let finalRet = \_farInp _farExp v _inp -> Data.Either.Right v
33 Symantic.Parser.Machine.Generate.Catcher
35 b = \_failInp (!farInp) (!farExp) ->
37 Symantic.Parser.Machine.Generate.ParsingErrorStandard
38 { Symantic.Parser.Machine.Generate.parsingErrorOffset = Symantic.Parser.Machine.Input.offset farInp,
39 Symantic.Parser.Machine.Generate.parsingErrorUnexpected =
49 else GHC.Maybe.Nothing,
50 Symantic.Parser.Machine.Generate.parsingErrorExpecting = Data.Set.Internal.fromList farExp
53 in let join = \farInp farExp v (!inp) ->
58 ( let _ = "resume.genCode"
62 in let _ = "catchException lbl=fail"
63 in let catchHandler (!failInp) (!farInp) (!farExp) =
64 let _ = "catchException.ko lbl=fail"
65 in if ( \( Data.Text.Internal.Text
70 ( Data.Text.Internal.Text
74 ) -> i GHC.Classes.== j
79 let _ = "choicesBranch.then"
80 in let readFail = finalRaise
81 in if readMore failInp
87 in if ('b' GHC.Classes.==) c
93 ( let _ = "resume.genCode"
98 let _ = "checkToken.else"
102 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
106 [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'b']
111 farExp GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'b']
118 in finalRaise failInp farInp farExp
120 let _ = "checkHorizon.else"
124 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
128 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
133 farExp GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
140 in finalRaise failInp farInp farExp
142 let _ = "choicesBranch.else"
146 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
155 farExp GHC.Base.<> []
162 in finalRaise failInp farInp farExp
163 in let readFail = catchHandler
166 let !(# c, cs #) = readNext init
167 in if ('a' GHC.Classes.==) c
170 in join init GHC.Types
172 ( let _ = "resume.genCode"
177 let _ = "checkToken.else"
181 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
185 [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'a']
190 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'a']
197 in readFail init farInp farExp
199 let _ = "checkHorizon.else"
203 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
207 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
212 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
219 in readFail init farInp farExp