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 -> Data.Either.Right v
33 Symantic.Parser.Machine.Generate.Catcher
35 b = \(!exn) _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.parsingErrorException = exn,
40 Symantic.Parser.Machine.Generate.parsingErrorUnexpected =
50 else GHC.Maybe.Nothing,
51 Symantic.Parser.Machine.Generate.parsingErrorExpecting = farExp
53 in let inputToken = Data.Proxy.Proxy :: Data.Proxy.Proxy (Symantic.Parser.Machine.Input.InputToken inp)
54 in let name = \(!ok) (!inp) (!koByLabel) ->
57 in \farInp farExp v (!inp) ->
62 ( let _ = "resume.genCode"
69 name = \(!ok) (!inp) (!koByLabel) ->
72 in \farInp farExp v (!inp) ->
77 ( let _ = "resume.genCode"
84 name = \(!ok) (!inp) (!koByLabel) ->
85 let _ = "catch ExceptionFailure"
86 in let catchHandler (!_exn) (!failInp) (!farInp) (!farExp) =
87 let _ = "catch.ko ExceptionFailure"
88 in if ( \( Data.Text.Internal.Text
93 ( Data.Text.Internal.Text
97 ) -> i GHC.Classes.== j
102 let _ = "choicesBranch.then"
107 ( let _ = "resume.genCode"
112 let _ = "choicesBranch.else"
113 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
114 in let join = \farInp farExp v (!inp) ->
117 in \farInp farExp v (!inp) ->
120 in \farInp farExp v (!inp) ->
125 ( let _ = "resume.genCode"
126 in \x -> v GHC.Types.: v x
131 Data.Map.Internal.Tip
134 Data.Map.Internal.Tip
135 in let readFail = catchHandler
142 in if (\x -> \x -> x) GHC.Types.True c
144 if '>' GHC.Classes.== c
146 let _ = "choicesBranch.then"
147 in let readFail = readFail
154 in if (\x -> \x -> x) GHC.Types.True c
159 Data.Set.Internal.empty
160 ( let _ = "resume.genCode"
161 in Grammar.Brainfuck.RightPointer
165 let _ = "checkToken.else"
167 Data.Set.Internal.Bin
169 ( Symantic.Parser.Grammar.Combinators.SomeFailure
171 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
174 Data.Set.Internal.Tip
175 Data.Set.Internal.Tip
179 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
188 failExp GHC.Base.<> Data.Set.Internal.empty
193 Data.Set.Internal.empty
195 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
197 let _ = "checkHorizon.else"
199 Data.Set.Internal.Bin
201 ( Symantic.Parser.Grammar.Combinators.SomeFailure
203 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
206 Data.Set.Internal.Tip
207 Data.Set.Internal.Tip
211 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
220 failExp GHC.Base.<> Data.Set.Internal.empty
225 Data.Set.Internal.empty
227 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
229 let _ = "choicesBranch.else"
230 in if '<' GHC.Classes.== c
232 let _ = "choicesBranch.then"
233 in let readFail = readFail
240 in if (\x -> \x -> x) GHC.Types.True c
245 Data.Set.Internal.empty
246 ( let _ = "resume.genCode"
247 in Grammar.Brainfuck.LeftPointer
251 let _ = "checkToken.else"
253 Data.Set.Internal.Bin
255 ( Symantic.Parser.Grammar.Combinators.SomeFailure
257 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
260 Data.Set.Internal.Tip
261 Data.Set.Internal.Tip
265 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
274 failExp GHC.Base.<> Data.Set.Internal.empty
279 Data.Set.Internal.empty
281 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
283 let _ = "checkHorizon.else"
285 Data.Set.Internal.Bin
287 ( Symantic.Parser.Grammar.Combinators.SomeFailure
289 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
292 Data.Set.Internal.Tip
293 Data.Set.Internal.Tip
297 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
306 failExp GHC.Base.<> Data.Set.Internal.empty
311 Data.Set.Internal.empty
313 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
315 let _ = "choicesBranch.else"
316 in if '+' GHC.Classes.== c
318 let _ = "choicesBranch.then"
319 in let readFail = readFail
326 in if (\x -> \x -> x) GHC.Types.True c
331 Data.Set.Internal.empty
332 ( let _ = "resume.genCode"
333 in Grammar.Brainfuck.Increment
337 let _ = "checkToken.else"
339 Data.Set.Internal.Bin
341 ( Symantic.Parser.Grammar.Combinators.SomeFailure
343 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
346 Data.Set.Internal.Tip
347 Data.Set.Internal.Tip
351 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
360 failExp GHC.Base.<> Data.Set.Internal.empty
365 Data.Set.Internal.empty
367 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
369 let _ = "checkHorizon.else"
371 Data.Set.Internal.Bin
373 ( Symantic.Parser.Grammar.Combinators.SomeFailure
375 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
378 Data.Set.Internal.Tip
379 Data.Set.Internal.Tip
383 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
392 failExp GHC.Base.<> Data.Set.Internal.empty
397 Data.Set.Internal.empty
399 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
401 let _ = "choicesBranch.else"
402 in if '-' GHC.Classes.== c
404 let _ = "choicesBranch.then"
405 in let readFail = readFail
412 in if (\x -> \x -> x) GHC.Types.True c
417 Data.Set.Internal.empty
418 ( let _ = "resume.genCode"
419 in Grammar.Brainfuck.Decrement
423 let _ = "checkToken.else"
425 Data.Set.Internal.Bin
427 ( Symantic.Parser.Grammar.Combinators.SomeFailure
429 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
432 Data.Set.Internal.Tip
433 Data.Set.Internal.Tip
437 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
446 failExp GHC.Base.<> Data.Set.Internal.empty
451 Data.Set.Internal.empty
453 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
455 let _ = "checkHorizon.else"
457 Data.Set.Internal.Bin
459 ( Symantic.Parser.Grammar.Combinators.SomeFailure
461 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
464 Data.Set.Internal.Tip
465 Data.Set.Internal.Tip
469 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
478 failExp GHC.Base.<> Data.Set.Internal.empty
483 Data.Set.Internal.empty
485 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
487 let _ = "choicesBranch.else"
488 in if '.' GHC.Classes.== c
490 let _ = "choicesBranch.then"
491 in let readFail = readFail
498 in if (\x -> \x -> x) GHC.Types.True c
503 Data.Set.Internal.empty
504 ( let _ = "resume.genCode"
505 in Grammar.Brainfuck.Output
509 let _ = "checkToken.else"
511 Data.Set.Internal.Bin
513 ( Symantic.Parser.Grammar.Combinators.SomeFailure
515 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
518 Data.Set.Internal.Tip
519 Data.Set.Internal.Tip
523 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
532 failExp GHC.Base.<> Data.Set.Internal.empty
537 Data.Set.Internal.empty
539 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
541 let _ = "checkHorizon.else"
543 Data.Set.Internal.Bin
545 ( Symantic.Parser.Grammar.Combinators.SomeFailure
547 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
550 Data.Set.Internal.Tip
551 Data.Set.Internal.Tip
555 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
564 failExp GHC.Base.<> Data.Set.Internal.empty
569 Data.Set.Internal.empty
571 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
573 let _ = "choicesBranch.else"
574 in if ',' GHC.Classes.== c
576 let _ = "choicesBranch.then"
577 in let readFail = readFail
584 in if (\x -> \x -> x) GHC.Types.True c
589 Data.Set.Internal.empty
590 ( let _ = "resume.genCode"
591 in Grammar.Brainfuck.Input
595 let _ = "checkToken.else"
597 Data.Set.Internal.Bin
599 ( Symantic.Parser.Grammar.Combinators.SomeFailure
601 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
604 Data.Set.Internal.Tip
605 Data.Set.Internal.Tip
609 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
618 failExp GHC.Base.<> Data.Set.Internal.empty
623 Data.Set.Internal.empty
625 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
627 let _ = "checkHorizon.else"
629 Data.Set.Internal.Bin
631 ( Symantic.Parser.Grammar.Combinators.SomeFailure
633 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
636 Data.Set.Internal.Tip
637 Data.Set.Internal.Tip
641 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
650 failExp GHC.Base.<> Data.Set.Internal.empty
655 Data.Set.Internal.empty
657 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
659 let _ = "choicesBranch.else"
660 in if '[' GHC.Classes.== c
662 let _ = "choicesBranch.then"
663 in let readFail = readFail
664 in if readMore (Symantic.Parser.Machine.Input.shiftRightText 1 inp)
670 in if (\x -> \x -> x) GHC.Types.True c
674 in \farInp farExp v (!inp) ->
677 in \farInp farExp v (!inp) ->
678 let readFail = readFail
685 in if (']' GHC.Classes.==) c
691 ( let _ = "resume.genCode"
692 in Grammar.Brainfuck.Loop v
696 let _ = "checkToken.else"
698 Data.Set.Internal.Bin
700 ( Symantic.Parser.Grammar.Combinators.SomeFailure
702 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureToken ']'
705 Data.Set.Internal.Tip
706 Data.Set.Internal.Tip
710 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp inp of
719 failExp GHC.Base.<> farExp
726 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
728 let _ = "checkHorizon.else"
730 Data.Set.Internal.Bin
732 ( Symantic.Parser.Grammar.Combinators.SomeFailure
734 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
737 Data.Set.Internal.Tip
738 Data.Set.Internal.Tip
742 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp inp of
751 failExp GHC.Base.<> farExp
758 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
761 Data.Map.Internal.Tip
764 Data.Map.Internal.Tip
766 let _ = "checkToken.else"
768 Data.Set.Internal.Bin
770 ( Symantic.Parser.Grammar.Combinators.SomeFailure
772 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
775 Data.Set.Internal.Tip
776 Data.Set.Internal.Tip
780 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
789 failExp GHC.Base.<> Data.Set.Internal.empty
794 Data.Set.Internal.empty
796 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
798 let _ = "checkHorizon.else"
800 Data.Set.Internal.Bin
802 ( Symantic.Parser.Grammar.Combinators.SomeFailure
804 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 2
807 Data.Set.Internal.Tip
808 Data.Set.Internal.Tip
812 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
821 failExp GHC.Base.<> Data.Set.Internal.empty
826 Data.Set.Internal.empty
828 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
830 let _ = "choicesBranch.else"
831 in let failExp = Data.Set.Internal.Bin 1 (Symantic.Parser.Grammar.Combinators.SomeFailure Symantic.Parser.Grammar.Combinators.FailureEmpty) Data.Set.Internal.Tip Data.Set.Internal.Tip
835 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
844 failExp GHC.Base.<> Data.Set.Internal.empty
849 Data.Set.Internal.empty
851 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
853 let _ = "checkToken.else"
855 Data.Set.Internal.Bin
857 ( Symantic.Parser.Grammar.Combinators.SomeFailure
859 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureAny @tok'
862 Data.Set.Internal.Tip
863 Data.Set.Internal.Tip
867 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
876 failExp GHC.Base.<> Data.Set.Internal.empty
881 Data.Set.Internal.empty
883 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
885 let _ = "checkHorizon.else"
887 Data.Set.Internal.Bin
889 ( Symantic.Parser.Grammar.Combinators.SomeFailure
891 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
894 Data.Set.Internal.Tip
895 Data.Set.Internal.Tip
899 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
908 failExp GHC.Base.<> Data.Set.Internal.empty
913 Data.Set.Internal.empty
915 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
916 name = \(!ok) (!inp) (!koByLabel) ->
917 let _ = "catch ExceptionFailure"
918 in let catchHandler (!_exn) (!failInp) (!farInp) (!farExp) =
919 let _ = "catch.ko ExceptionFailure"
920 in if ( \( Data.Text.Internal.Text
925 ( Data.Text.Internal.Text
929 ) -> i GHC.Classes.== j
934 let _ = "choicesBranch.then"
939 ( let _ = "resume.genCode"
944 let _ = "choicesBranch.else"
945 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
946 in let readFail = catchHandler
953 in if (\c -> GHC.Classes.not (('<' GHC.Classes.== c) GHC.Classes.|| (('>' GHC.Classes.== c) GHC.Classes.|| (('+' GHC.Classes.== c) GHC.Classes.|| (('-' GHC.Classes.== c) GHC.Classes.|| (('[' GHC.Classes.== c) GHC.Classes.|| ((']' GHC.Classes.== c) GHC.Classes.|| ((',' GHC.Classes.== c) GHC.Classes.|| (('.' GHC.Classes.== c) GHC.Classes.|| (('$' GHC.Classes.== c) GHC.Classes.|| GHC.Types.False)))))))))) c
957 in \farInp farExp v (!inp) ->
962 ( let _ = "resume.genCode"
968 Data.Map.Internal.Tip
970 let _ = "checkToken.else"
971 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp init Data.Set.Internal.empty
973 let _ = "checkHorizon.else"
975 Data.Set.Internal.Bin
977 ( Symantic.Parser.Grammar.Combinators.SomeFailure
979 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
982 Data.Set.Internal.Tip
983 Data.Set.Internal.Tip
987 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
996 failExp GHC.Base.<> Data.Set.Internal.empty
1001 Data.Set.Internal.empty
1003 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure inp farInp farExp
1006 in \farInp farExp v (!inp) ->
1009 in \farInp farExp v (!inp) ->
1014 ( let _ = "resume.genCode"
1020 Data.Map.Internal.Tip
1023 Data.Map.Internal.Tip