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 finalRet = \_farInp _farExp v _inp -> Symantic.Parser.Machine.Generate.returnST GHC.Base.$ Data.Either.Right v
33 Symantic.Parser.Machine.Generate.Catcher
36 b = \(!exn) _failInp (!farInp) (!farExp) ->
37 Symantic.Parser.Machine.Generate.returnST GHC.Base.$
39 Symantic.Parser.Machine.Generate.ParsingError
40 { Symantic.Parser.Machine.Generate.parsingErrorOffset = Symantic.Parser.Machine.Input.offset farInp,
41 Symantic.Parser.Machine.Generate.parsingErrorException = exn,
42 Symantic.Parser.Machine.Generate.parsingErrorUnexpected =
52 else GHC.Maybe.Nothing,
53 Symantic.Parser.Machine.Generate.parsingErrorExpecting = farExp
56 ( let inputToken = Data.Proxy.Proxy :: Data.Proxy.Proxy (Symantic.Parser.Machine.Input.InputToken inp)
58 in let join = \farInp farExp v (!inp) ->
63 ( let _ = "resume.genCode"
67 in let _ = "catch ExceptionFailure"
68 in let catchHandler (!_exn) (!failInp) (!farInp) (!farExp) =
69 let _ = "catch.ko ExceptionFailure"
70 in if ( \( Data.Text.Internal.Text
75 ( Data.Text.Internal.Text
79 ) -> i GHC.Classes.== j
84 let _ = "choicesBranch.then"
85 in let readFail = finalRaise
86 in if readMore failInp
92 in if (GHC.Classes.==) 'b' c
98 ( let _ = "resume.genCode"
103 let _ = "checkToken.else"
105 Data.Set.Internal.Bin
107 ( Symantic.Parser.Grammar.Combinators.SomeFailure
109 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureToken 'b'
112 Data.Set.Internal.Tip
113 Data.Set.Internal.Tip
117 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
126 failExp GHC.Base.<> farExp
133 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
135 let _ = "checkHorizon.else"
137 Data.Set.Internal.Bin
139 ( Symantic.Parser.Grammar.Combinators.SomeFailure
141 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
144 Data.Set.Internal.Tip
145 Data.Set.Internal.Tip
149 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
158 failExp GHC.Base.<> farExp
165 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
167 let _ = "choicesBranch.else"
168 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
169 in let readFail = catchHandler
172 let !(# c, cs #) = readNext init
173 in if (GHC.Classes.==) 'a' c
178 Data.Set.Internal.empty
179 ( let _ = "resume.genCode"
184 let _ = "checkToken.else"
186 Data.Set.Internal.Bin
188 ( Symantic.Parser.Grammar.Combinators.SomeFailure
190 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureToken 'a'
193 Data.Set.Internal.Tip
194 Data.Set.Internal.Tip
198 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
207 failExp GHC.Base.<> Data.Set.Internal.empty
212 Data.Set.Internal.empty
214 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure init farInp farExp
216 let _ = "checkHorizon.else"
218 Data.Set.Internal.Bin
220 ( Symantic.Parser.Grammar.Combinators.SomeFailure
222 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
225 Data.Set.Internal.Tip
226 Data.Set.Internal.Tip
230 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
239 failExp GHC.Base.<> Data.Set.Internal.empty
244 Data.Set.Internal.empty
246 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure init farInp farExp