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 failExp = Data.Set.Internal.Bin 1 (Symantic.Parser.Grammar.Combinators.SomeFailure Symantic.Parser.Grammar.Combinators.FailureEnd) Data.Set.Internal.Tip Data.Set.Internal.Tip
89 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
98 failExp GHC.Base.<> farExp
105 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
107 let _ = "choicesBranch.else"
108 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
109 in let _ = "catch ExceptionFailure"
110 in let catchHandler (!_exn) (!failInp) (!farInp) (!farExp) =
111 let _ = "catch.ko ExceptionFailure"
116 ( let _ = "resume.genCode"
120 in let readFail = catchHandler
127 in catchHandler Symantic.Parser.Grammar.Combinators.ExceptionFailure init init Data.Set.Internal.empty
129 let _ = "checkHorizon.else"
131 Data.Set.Internal.Bin
133 ( Symantic.Parser.Grammar.Combinators.SomeFailure
135 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
138 Data.Set.Internal.Tip
139 Data.Set.Internal.Tip
143 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
152 failExp GHC.Base.<> Data.Set.Internal.empty
157 Data.Set.Internal.empty
159 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure init farInp farExp