diff --git a/stage0/src/Init/Lean/Meta/Basic.lean b/stage0/src/Init/Lean/Meta/Basic.lean index 5024cf1b28..557f89fecc 100644 --- a/stage0/src/Init/Lean/Meta/Basic.lean +++ b/stage0/src/Init/Lean/Meta/Basic.lean @@ -853,7 +853,13 @@ open Lean open Lean.Meta /-- Helper function for running `MetaM` methods in attributes -/ -@[inline] def IO.runMeta {α} (x : MetaM α) (env : Environment) (cfg : Config := {}) : IO (α × Environment) := +@[inline] def IO.runMeta {α} (x : MetaM α) (env : Environment) (cfg : Config := {}) (printTraces := true) : IO (α × Environment) := match (x { config := cfg, currRecDepth := 0, maxRecDepth := defaultMaxRecDepth }).run { env := env } with -| EStateM.Result.ok a s => pure (a, s.env) -| EStateM.Result.error ex _ => throw (IO.userError (toString ex)) +| EStateM.Result.ok a s => do + when printTraces $ + s.traceState.traces.forM $ fun msg => IO.println (fmt msg); + pure (a, s.env) +| EStateM.Result.error ex s => do + when printTraces $ + s.traceState.traces.forM $ fun msg => IO.println (fmt msg); + throw (IO.userError (toString ex)) diff --git a/stage0/src/Init/Lean/Parser/Parser.lean b/stage0/src/Init/Lean/Parser/Parser.lean index 81099d3c1d..228040c9fb 100644 --- a/stage0/src/Init/Lean/Parser/Parser.lean +++ b/stage0/src/Init/Lean/Parser/Parser.lean @@ -1423,8 +1423,8 @@ def pushNone : Parser := { fn := fun c s => s.pushSyntax mkNullNode } -- We support two kinds of antiquotations: `$id` and `$(t)`, where `id` is a term identifier and `t` is a term. -private def antiquotNestedExpr : Parser := node `antiquotNestedExpr ("(" >> termParser >> ")") -private def antiquotExpr : Parser := identNoAntiquot <|> antiquotNestedExpr +def antiquotNestedExpr : Parser := node `antiquotNestedExpr ("(" >> termParser >> ")") +def antiquotExpr : Parser := identNoAntiquot <|> antiquotNestedExpr /-- Define parser for `$e` (if anonymous == true) and `$e:name`. Both @@ -1822,12 +1822,7 @@ private def catNameToString : Name → String | n => n.toString @[inline] def mkCategoryAntiquotParser (kind : Name) : ParserFn := --- allow "anonymous" antiquotations `$x` for the `term` category only --- TODO: make customizable --- one good example for a category that should not be anonymous is --- `index` in `tests/lean/run/bigop.lean`. -let anonAntiquot := kind == `term; -(mkAntiquot (catNameToString kind) none anonAntiquot).fn +(mkAntiquot (catNameToString kind) none).fn def categoryParserFnImpl (catName : Name) : ParserFn := fun ctx s => diff --git a/stage0/src/Init/Lean/Parser/Term.lean b/stage0/src/Init/Lean/Parser/Term.lean index aa6f64dec1..b70db32196 100644 --- a/stage0/src/Init/Lean/Parser/Term.lean +++ b/stage0/src/Init/Lean/Parser/Term.lean @@ -78,7 +78,7 @@ def structInstField := parser! structInstLVal >> " := " >> termParser @[builtinTermParser] def structInst := parser! symbol "{" appPrec >> optional (try (termParser >> "with")) >> sepBy structInstField ", " true >> optional ".." >> optional (" : " >> termParser) >> "}" def typeSpec := parser! " : " >> termParser def optType : Parser := optional typeSpec -@[builtinTermParser] def subtype := parser! "{" >> ident >> optType >> " // " >> termParser >> "}" +@[builtinTermParser] def subtype := parser! symbol "{" appPrec >> ident >> optType >> " // " >> termParser >> "}" @[builtinTermParser] def listLit := parser! symbol "[" appPrec >> sepBy termParser "," true >> "]" @[builtinTermParser] def arrayLit := parser! symbol "#[" appPrec >> sepBy termParser "," true >> "]" @[builtinTermParser] def explicit := parser! symbol "@" appPrec >> termParser appPrec @@ -142,7 +142,8 @@ def bracketedDoSeq := parser! "{" >> doSeq >> "}" @[builtinTermParser] def not := parser! symbol "¬" appPrec >> termParser 40 @[builtinTermParser] def bnot := parser! symbol "!" appPrec >> termParser 40 -@[builtinTermParser] def uminus := parser! "-" >> termParser 100 +-- symbol precedence should be higher, but must match the one of `sub` below +@[builtinTermParser] def uminus := parser! symbol "-" 65 >> termParser 100 def namedArgument := parser! try ("(" >> ident >> " := ") >> termParser >> ")" @[builtinTermParser] def app := tparser! many1 (namedArgument <|> termParser appPrec) diff --git a/stage0/src/Init/Lean/PrettyPrinter/Parenthesizer.lean b/stage0/src/Init/Lean/PrettyPrinter/Parenthesizer.lean index f827d3812f..2d26f8db26 100644 --- a/stage0/src/Init/Lean/PrettyPrinter/Parenthesizer.lean +++ b/stage0/src/Init/Lean/PrettyPrinter/Parenthesizer.lean @@ -24,8 +24,9 @@ Recall that a Pratt parser greedily parses a leading token with precedence at le by zero or more trailing tokens with precedence *higher* than `rbp`. Thus we should parenthesize a syntax node `stx` produced by `p rbp` if -1. the left-most token in `stx` has precedence < `rbp`, or -2. the left-most token to *the right of* `stx` has precedence > `rbp` (because without parentheses, `p rbp` would have +1. the leading/any trailing token in `stx` has precedence < `rbp`/<= `rbp`, respectively (because without parentheses, + `p rbp` would not have parsed all of `stx`), or +2. the token to *the right of* `stx`, if any, has precedence > `rbp` (because without parentheses, `p rbp` would have parsed it as well and made it a part of `stx`). Note that in case 2, it is also sufficient to parenthesize a *parent* node as long as the offending token is still to @@ -43,10 +44,12 @@ parser that produced the token as well. We transform the syntax tree and collect the necessary precedence information for that in a single traversal over the syntax tree and the parser (as a `Lean.Expr`) that produced it. The traversal is right-to-left to cover case 2. More -specifically, for every Pratt parser call, we store as monadic state the precedence of the (currently) last visited -token (`lbp`), if any, and the precedence of the nested trailing Pratt parser call (`trailRbp`), if any. If `stP` is the -state resulting from the traversal of a Pratt parser call `p rbp`, and `st` is the state of the surrounding call, we -parenthesize if `rbp > stP.lbp` (case 1) or if `stP.trailRbp < st.lbp` (case 2). +specifically, for every Pratt parser call, we store as monadic state the (current) first and minimum precedence of any +token (`firstLbp`/`minLbp`) in this call, if any, and the precedence of the nested trailing Pratt parser call +(`trailRbp`), if any. We subtract 1 from the precedence of trailing tokens so that we don't have to differentiate +between leading and trailing tokens in `minLbp`. If `stP` is the state resulting from the traversal of a Pratt +parser call `p rbp`, and `st` is the state of the surrounding call, we parenthesize if `rbp > stP.minLbp` (case 1) or if +`stP.trailRbp < st.firstLbp` (case 2). The primary traversal is over the parser `Expr`. The `visit` function takes such a parser and, if it is the application of a constant `c`, looks for a `[parenthesizer c]` declaration. If it exists, we run it, which might again call `visit`. @@ -65,14 +68,15 @@ the left-most child being processed multiple times. Ultimately, most parenthesizers are implemented via three primitives that do all the actual syntax traversal: `visitParenthesizable mkParen rbp` recurses on the current node and afterwards transforms it with `mkParen` if the above -condition for `p rbp` is fulfilled. `visitToken lbp` does not recurse but updates the current `lbp` and advances one -node to the left. `visitArgs x` executes `x` on the right-most child of the current node and then advances one node -to the left (of the original current node). +condition for `p rbp` is fulfilled. `visitToken lbp` does not recurse but updates `firstLbp` and advances one node to +the left. `visitArgs x` executes `x` on the right-most child of the current node and then advances one node to the left +(of the original current node). -/ prelude import Init.Lean.Parser import Init.Lean.Elab.Command +import Init.Lean.Elab.Quotation import Init.Lean.Delaborator namespace Lean @@ -151,8 +155,10 @@ structure Context := structure State := (stxTrav : Syntax.Traverser) --- precedence of the current left-most token if any; see module doc for details -(lbp : Option Nat := none) +-- precedence of the current left-most token, if any; see module doc for details +(firstLbp : Option Nat := none) +-- current minimum precedence of tokens, if any; see module doc for details +(minLbp : Option Nat := none) -- precedence of the trailing Pratt parser call if any; see module doc for details (trailRbp : Option Nat := none) @@ -190,6 +196,13 @@ instance ParenthesizerM.monadTraverser : Syntax.MonadTraverser ParenthesizerM := open Syntax.MonadTraverser +/-- Execute `x` at the right-most child of the current node, if any, then advance to the left. -/ +def visitArgs (x : ParenthesizerM Unit) : ParenthesizerM Unit := do +stx ← getCur; +when (stx.getArgs.size > 0) $ + goDown (stx.getArgs.size - 1) *> x <* goUp; +goLeft + /-- Call an appropriate `[parenthesizer]` depending on the `Parser` `Expr` `p`. After the call, the traverser position should be to the left of all nodes produced by `p`, or at the left-most child if there are no other nodes left. -/ @@ -204,11 +217,17 @@ match c >>= (parenthesizerAttribute.ext.getState env).table.find? with | some (f::_) => do -- call first matching parenthesizer f p -| _ => do - -- (try to) unfold definition and recurse - some p' ← liftM $ unfoldDefinition? p - | throw $ Exception.other $ "no known parenthesizer for '" ++ toString p ++ "'"; - visit p' +| _ => + -- `choice` is not an actual parser, so special-case it here + if c == some `choice then + visitArgs $ stx.getArgs.size.forM $ fun _ => do + stx ← getCur; + visit (mkConst stx.getKind) + else do + -- (try to) unfold definition and recurse + some p' ← liftM $ unfoldDefinition? p + | throw $ Exception.other $ "no known parenthesizer for '" ++ toString p ++ "'"; + visit p' open Lean.Parser @@ -220,48 +239,62 @@ instance monadQuotation : MonadQuotation ParenthesizerM := { withFreshMacroScope := fun α x => x, } +def visitAntiquot : ParenthesizerM Unit := do +stx ← getCur; +if Elab.Term.Quotation.isAntiquot stx then visitArgs $ do + -- antiquot syntax is, simplified, `"$" "$"* antiquotExpr ":" (nonReservedSymbol name) "*"?` + goLeft; goLeft; goLeft; -- now on `antiquotExpr` + visit (mkConst `Lean.Parser.antiquotExpr); + -- set precedence; see special case in `currLbp` + modify (fun st => { st with firstLbp := Parser.appPrec, minLbp := Parser.appPrec }) +else + throw $ Exception.other $ "not an antiquotation" + /-- Recurse using `visit`, and parenthesize the result using `mkParen` if necessary. -/ def visitParenthesizable (mkParen : Syntax → Syntax) (rbp : Nat) : ParenthesizerM Unit := do stx ← getCur; idx ← getIdx; -⟨t, lbp, trailRbp⟩ ← get; +st ← get; -- reset lbp/rbp and store `mkParen` for the recursive call -set { stxTrav := t }; +set { stxTrav := st.stxTrav }; adaptReader (fun (ctx : Context) => { ctx with mkParen := some mkParen }) $ -- we assume that each node kind is produced by a 0-ary parser of the same name visit (mkConst stx.getKind); -⟨_, some lbp', trailRbp'⟩ ← get +{ minLbp := some minLbpP, trailRbp := trailRbpP, .. } ← get | panic! "visitParenthesizable: visited a term without tokens?!"; -trace! `PrettyPrinter.parenthesize ("...precedences are " ++ fmt rbp ++ " >? " ++ fmt lbp' ++ ", " ++ fmt trailRbp' ++ " ? " ++ fmt minLbpP ++ ", " ++ fmt trailRbpP ++ " lbp' || (match trailRbp', lbp with some trailRbp', some lbp => trailRbp' < lbp | _, _ => false) then do +when (rbp > minLbpP || match trailRbpP, st.firstLbp with some trailRbpP, some firstLbp => trailRbpP < firstLbp | _, _ => false) $ do { -- The recursive `visit` call, by the invariant, has moved to the next node to the left. In order to parenthesize -- the original node, we must first move to the right, except if we already were at the left-most child in the first -- place. when (idx > 0) goRight; - setCur (mkParen stx); + stx ← getCur; + match stx.getHeadInfo, stx.getTailInfo with + | some hi, some ti => + -- Move leading/trailing whitespace of `stx` outside of parentheses + let stx := (stx.setHeadInfo { hi with leading := "".toSubstring }).setTailInfo { ti with trailing := "".toSubstring }; + let stx := mkParen stx; + let stx := (stx.setHeadInfo { hi with trailing := "".toSubstring }).setTailInfo { ti with leading := "".toSubstring }; + setCur stx + | _, _ => setCur (mkParen stx); + stx ← getCur; trace! `PrettyPrinter.parenthesize ("parenthesized: " ++ stx.formatStx none); goLeft; -- after parenthesization, there is no more trailing parser - pure none - else pure trailRbp'; --- If we already had a token at this level (`lbp ≠ none`), keep the trailing parser. Otherwise, use the minimum of --- `rbp` and `trailRbp'`. -let trailRbp := match trailRbp', lbp with - | _, some _ => trailRbp - | some trailRbp', _ => some (Nat.min trailRbp' rbp) + modify (fun st => { st with minLbp := appPrec, firstLbp := appPrec, trailRbp := none }) +}; +{ trailRbp := trailRbpP, .. } ← get; +-- If we already had a token at this level (`st.firstLbp ≠ none`), keep the trailing parser. Otherwise, use the minimum of +-- `rbp` and `trailRbpP`. +let trailRbp := match trailRbpP, st.firstLbp with + | _, some _ => st.trailRbp + | some trailRbpP, _ => some (Nat.min trailRbpP rbp) | _, _ => some rbp; -modify (fun st => { st with lbp := lbp' <|> lbp, trailRbp := trailRbp }) +modify (fun stP => { stP with trailRbp := trailRbp }) /-- Set token precedence and advance to the left. -/ def visitToken (lbp : Nat) : ParenthesizerM Unit := do -modify (fun st => { st with lbp := lbp }); -goLeft - -/-- Execute `x` at the right-most child of the current node, if any, then advance to the left. -/ -def visitArgs (x : ParenthesizerM Unit) : ParenthesizerM Unit := do -stx ← getCur; -when (stx.getArgs.size > 0) $ - goDown (stx.getArgs.size - 1) *> x <* goUp; +modify (fun st => { st with firstLbp := lbp }); goLeft def evalNat (e : Expr) : ParenthesizerM Nat := do @@ -298,18 +331,33 @@ else throw $ Exception.other $ "failed to evaluate Name argument: " ++ toString e @[builtinParenthesizer termParser] -def termParser.parenthesizer : Parenthesizer | p => do +def termParser.parenthesizer : Parenthesizer | p => visitAntiquot <|> do +stx ← getCur; +-- this can happen at `termParser <|> many1 commandParser` in `Term.stxQuot` +if stx.getKind == nullKind then + throw $ Exception.other "BACKTRACK" +else do + lbp ← evalNat p.appArg!; + visitParenthesizable (fun stx => Unhygienic.run `(($stx))) lbp + +@[builtinParenthesizer tacticParser] +def tacticParser.parenthesizer : Parenthesizer | p => visitAntiquot <|> do lbp ← evalNat p.appArg!; -visitParenthesizable (fun stx => Unhygienic.run `(($stx))) lbp +visitParenthesizable (fun stx => Unhygienic.run `(tactic|($stx))) lbp @[builtinParenthesizer levelParser] -def levelParser.parenthesizer : Parenthesizer | p => do +def levelParser.parenthesizer : Parenthesizer | p => visitAntiquot <|> do lbp ← evalNat p.appArg!; visitParenthesizable (fun stx => Unhygienic.run `(level|($stx))) lbp +@[builtinParenthesizer categoryParser] +def categoryParser.parenthesizer : Parenthesizer | p => visitAntiquot <|> do +stx ← getCur; +visit (mkConst stx.getKind) + @[builtinParenthesizer withAntiquot] def withAntiquot.parenthesizer : Parenthesizer | p => -visit (p.getArg! 1) +visitAntiquot <|> visit (p.getArg! 1) @[builtinParenthesizer try] def try.parenthesizer : Parenthesizer | p => @@ -323,34 +371,35 @@ visit (p.getArg! 1) *> visit (p.getArg! 0) def node.parenthesizer : Parenthesizer | p => do stx ← getCur; k ← evalName $ p.getArg! 0; -when (k != stx.getKind) $ - --throw $ Exception.other $ "unexpected node kind '" ++ toString stx.getKind ++ "', expected '" ++ toString k ++ "'"; +when (k != stx.getKind) $ do { + trace! `PrettyPrinter.parenthesize.backtrack ("unexpected node kind '" ++ toString stx.getKind ++ "', expected '" ++ toString k ++ "'"); -- HACK; see `orelse.parenthesizer` - throw $ Exception.other "BACKTRACK"; -visitArgs $ visit p.appArg! + throw $ Exception.other "BACKTRACK" +}; +visitArgs $ visit p.appArg!; +modify $ fun st => { st with minLbp := st.firstLbp } @[builtinParenthesizer trailingNode] def trailingNode.parenthesizer : Parenthesizer | p => do stx ← getCur; k ← evalName $ p.getArg! 0; -when (k != stx.getKind) $ - --throw $ Exception.other $ "unexpected node kind '" ++ toString stx.getKind ++ "', expected '" ++ toString k ++ "'"; +when (k != stx.getKind) $ do { + trace! `PrettyPrinter.parenthesize.backtrack ("unexpected node kind '" ++ toString stx.getKind ++ "', expected '" ++ toString k ++ "'"); -- HACK; see `orelse.parenthesizer` - throw $ Exception.other "BACKTRACK"; + throw $ Exception.other "BACKTRACK" +}; visitArgs $ do { visit p.appArg!; - -- After visiting the node actually produced by the parser passed to `trailingNode`, we are positioned on the + -- After visiting the nodes actually produced by the parser passed to `trailingNode`, we are positioned on the -- left-most child, which is the term injected by `trailingNode` in place of the recursion. Left recursion is not an -- issue for the parenthesizer, so we can think of this child being produced by `termParser 0`, or whichever Pratt - -- parser is calling us; we only need to know its `mkParen`, which we retrieve from the context. Since the left-most - -- child was not actually part of the input to this parser, we should reset the `lbp` after processing it. We also - -- need to decrement it by 1 to acommodate the difference between handling of leading and trailing tokens. - some lbp ← State.lbp <$> get + -- parser is calling us; we only need to know its `mkParen`, which we retrieve from the context. + some lbp ← State.firstLbp <$> get -- the trailing token's precedence; subtract 1 as described above | panic! "trailingNode.parenthesizer: visited a trailing term without tokens?!"; { mkParen := some mkParen, .. } ← read | panic! "trailingNode.parenthesizer called outside of visitParenthesizable call"; - visitParenthesizable mkParen 0; - modify (fun st => { st with lbp := some (lbp - 1) }) + visitAntiquot <|> visitParenthesizable mkParen 0; + modify $ fun st => { st with minLbp := Nat.min (st.minLbp.getD (lbp - 1)) (lbp - 1) } } @[builtinParenthesizer symbolAux] @@ -360,9 +409,9 @@ evalOptPrec p.appArg! >>= visitToken @[builtinParenthesizer symbolNoWsAux] def symbolNoWsAux.parenthesizer := symbolAux.parenthesizer @[builtinParenthesizer unicodeSymbol] def unicodeSymbol.parenthesizer := symbolAux.parenthesizer -@[builtinParenthesizer identNoAntiquot] -def identNoAntiquot.parenthesizer : Parenthesizer | p => -visitToken appPrec +@[builtinParenthesizer identNoAntiquot] def identNoAntiquot.parenthesizer : Parenthesizer | p => visitToken appPrec +@[builtinParenthesizer rawIdent] def rawIdent.parenthesizer : Parenthesizer | p => visitToken appPrec +@[builtinParenthesizer nonReservedSymbol] def nonReservedSymbol.parenthesizer : Parenthesizer | p => visitToken appPrec @[builtinParenthesizer charLitNoAntiquot] def charLitNoAntiquot.parenthesizer := identNoAntiquot.parenthesizer @[builtinParenthesizer strLitNoAntiquot] def strLitNoAntiquot.parenthesizer := identNoAntiquot.parenthesizer @@ -390,7 +439,7 @@ visitArgs $ visit (p.getArg! 0) @[builtinParenthesizer sepBy] def sepBy.parenthesizer : Parenthesizer | p => do stx ← getCur; -visitArgs $ (List.range stx.getArgs.size).forM $ fun i => visit (p.getArg! (i % 2)) +visitArgs $ (List.range stx.getArgs.size).reverse.forM $ fun i => visit (p.getArg! (i % 2)) @[builtinParenthesizer sepBy1] def sepBy1.parenthesizer := sepBy.parenthesizer @@ -402,11 +451,20 @@ catch (visit (p.getArg! 0)) $ fun e => match e with | Exception.other "BACKTRACK" => set st *> visit (p.getArg! 1) | _ => throw e +@[builtinParenthesizer withPosition] def withPosition.parenthesizer : Parenthesizer | p => do +-- call closure with dummy position +visit $ mkApp (p.getArg! 0) (mkConst `sorryAx [levelZero]) + @[builtinParenthesizer checkStackTop] def checkStackTop.parenthesizer : Parenthesizer | p => pure () @[builtinParenthesizer checkWsBefore] def checkWsBefore.parenthesizer : Parenthesizer | p => pure () @[builtinParenthesizer checkNoWsBefore] def checkNoWsBefore.parenthesizer : Parenthesizer | p => pure () @[builtinParenthesizer checkTailWs] def checkTailWs.parenthesizer : Parenthesizer | p => pure () +@[builtinParenthesizer checkColGe] def checkColGe.parenthesizer : Parenthesizer | p => pure () +open Lean.Parser.Command +@[builtinParenthesizer commentBody] def commentBody.parenthesizer : Parenthesizer | p => goLeft +@[builtinParenthesizer quotedSymbol] def quotedSymbol.parenthesizer : Parenthesizer | p => goLeft +@[builtinParenthesizer unquotedSymbol] def unquotedSymbol.parenthesizer : Parenthesizer | p => goLeft section open Lean.Parser.Term @@ -425,7 +483,7 @@ end @[builtinParenthesizer Term.depArrow] def depArrow.parenthesizer : Parenthesizer | p => do visit (mkConst `Lean.PrettyPrinter.Parenthesizer.depArrow'); -modify $ fun st => { st with lbp := some 25 } +modify $ fun st => { st with firstLbp := some 25, minLbp := some 25 } end Parenthesizer @@ -436,6 +494,8 @@ pure st.stxTrav.cur def parenthesizeTerm := parenthesize (mkApp (mkConst `Lean.Parser.termParser) (mkNatLit 0)) +def parenthesizeCommand := parenthesize (mkApp (mkConst `Lean.Parser.commandParser) (mkNatLit 0)) + @[init] private def regTraceClasses : IO Unit := do registerTraceClass `PrettyPrinter.parenthesize; pure () diff --git a/stage0/src/Init/Lean/Syntax.lean b/stage0/src/Init/Lean/Syntax.lean index e9e6b688e6..bb877aa91b 100644 --- a/stage0/src/Init/Lean/Syntax.lean +++ b/stage0/src/Init/Lean/Syntax.lean @@ -233,9 +233,9 @@ partial def setHeadInfoAux (info : SourceInfo) : Syntax → Option Syntax | atom _ val => some $ atom info val | ident _ rawVal val pre => some $ ident info rawVal val pre | node k args => - match updateFirst args setHeadInfoAux args.size with + match updateFirst args setHeadInfoAux 0 with | some args => some $ node k args - | noxne => none + | noxne => none | stx => none def setHeadInfo (stx : Syntax) (info : SourceInfo) : Syntax := @@ -273,14 +273,17 @@ partial def reprint : Syntax → Option String open Lean.Format -private def formatInfo (showPos : Bool) (info : Option SourceInfo) : Format := -match info, showPos with -| some info, true => ":" ++ toString info.pos -| _, _ => "" +private def formatInfo (showInfo : Bool) (info : SourceInfo) (f : Format) : Format := +if showInfo then + (match info.leading with some ss => repr ss.toString ++ ":" | _ => "") ++ + f ++ + (match info.pos with some pos => ":" ++ toString info.pos | _ => "") ++ + (match info.trailing with some ss => ":" ++ repr ss.toString | _ => "") +else f -partial def formatStxAux (maxDepth : Option Nat) (showPos : Bool) : Nat → Syntax → Format -| _, atom info val => format (repr val) ++ formatInfo showPos info -| _, ident info _ val pre => format "`" ++ format val ++ formatInfo showPos info +partial def formatStxAux (maxDepth : Option Nat) (showInfo : Bool) : Nat → Syntax → Format +| _, atom info val => formatInfo showInfo info $ format (repr val) +| _, ident info _ val pre => formatInfo showInfo info $ format "`" ++ format val | _, missing => "" | depth, node kind args => let depth := depth + 1; @@ -297,8 +300,8 @@ partial def formatStxAux (maxDepth : Option Nat) (showPos : Bool) : Nat → Synt if depth > maxDepth.getD depth then [".."] else args.toList.map (formatStxAux depth); paren $ joinSep (header :: body) line -def formatStx (stx : Syntax) (maxDepth : Option Nat := none) (showPos := false) : Format := -formatStxAux maxDepth showPos 0 stx +def formatStx (stx : Syntax) (maxDepth : Option Nat := none) (showInfo := false) : Format := +formatStxAux maxDepth showInfo 0 stx instance : HasFormat (Syntax) := ⟨formatStx⟩ instance : HasToString (Syntax) := ⟨toString ∘ format⟩ diff --git a/stage0/src/Init/Lean/ToExpr.lean b/stage0/src/Init/Lean/ToExpr.lean index 998f72b72d..73fefe9d3d 100644 --- a/stage0/src/Init/Lean/ToExpr.lean +++ b/stage0/src/Init/Lean/ToExpr.lean @@ -48,6 +48,13 @@ instance nameToExpr : ToExpr Name := { toExpr := Name.toExprAux, toTypeExpr := mkConst `Name } +instance optionToExpr {α : Type} [ToExpr α] : ToExpr (Option α) := +let type := toTypeExpr α; +{ toExpr := fun o => match o with + | none => mkApp (mkConst `Option.none [levelZero]) type + | some a => mkApp2 (mkConst `Option.cons [levelZero]) type (toExpr a), + toTypeExpr := mkApp (mkConst `Option [levelZero]) type } + def List.toExprAux {α} [ToExpr α] (nilFn : Expr) (consFn : Expr) : List α → Expr | [] => nilFn | a::as => mkApp2 consFn (toExpr a) (List.toExprAux as) diff --git a/stage0/src/Init/Lean/Util/Path.lean b/stage0/src/Init/Lean/Util/Path.lean index e01f16a263..5b6c069231 100644 --- a/stage0/src/Init/Lean/Util/Path.lean +++ b/stage0/src/Init/Lean/Util/Path.lean @@ -55,7 +55,7 @@ match val with | some val => parseSearchPath val sp @[export lean_init_search_path] -def initSearchPath (path : Option String := "") : IO Unit := +def initSearchPath (path : Option String := none) : IO Unit := match path with | some path => parseSearchPath path >>= searchPathRef.set | none => do diff --git a/stage0/src/Lean.lean b/stage0/src/Lean.lean new file mode 100644 index 0000000000..7c37be7869 --- /dev/null +++ b/stage0/src/Lean.lean @@ -0,0 +1,26 @@ +/- +Copyright (c) 2019 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +-- import Lean.Compiler +-- import Lean.Environment +-- import Lean.Modifiers +-- import Lean.ProjFns +-- import Lean.Runtime +-- import Lean.Attributes +-- import Lean.Parser +-- import Lean.ReducibilityAttrs +-- import Lean.Elab +-- import Lean.EqnCompiler +-- import Lean.Class +-- import Lean.LocalContext +-- import Lean.MetavarContext +-- import Lean.AuxRecursor +-- import Lean.Linter +-- import Lean.Meta +-- import Lean.Util +-- import Lean.Eval +-- import Lean.Structure +-- import Lean.Delaborator +-- import Lean.PrettyPrinter diff --git a/stage0/src/Lean/Util.lean b/stage0/src/Lean/Util.lean new file mode 100644 index 0000000000..495ead5dbd --- /dev/null +++ b/stage0/src/Lean/Util.lean @@ -0,0 +1,5 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ diff --git a/stage0/src/frontends/lean/builtin_cmds.cpp b/stage0/src/frontends/lean/builtin_cmds.cpp index 3557817cb7..8549f0438a 100644 --- a/stage0/src/frontends/lean/builtin_cmds.cpp +++ b/stage0/src/frontends/lean/builtin_cmds.cpp @@ -384,6 +384,7 @@ static environment eval_cmd(parser & p) { out.set_caption("eval result"); scope_traces_as_messages scope_traces(p.get_stream_name(), p.cmd_pos()); std::streambuf * saved_cout = std::cout.rdbuf(out.get_text_stream().get_stream().rdbuf()); + std::streambuf * saved_cerr = std::cerr.rdbuf(out.get_text_stream().get_stream().rdbuf()); object_ref r; @@ -393,11 +394,13 @@ static environment eval_cmd(parser & p) { r = object_ref(ir::run_boxed(new_env, fn_name, args.size(), &args[0])); } catch (exception & ex) { std::cout.rdbuf(saved_cout); + std::cerr.rdbuf(saved_cerr); out.report(); throw ex; } std::cout.rdbuf(saved_cout); + std::cerr.rdbuf(saved_cerr); out.report(); if (io_result_is_error(r.raw())) { message_builder msg = p.mk_message(p.cmd_pos(), p.pos(), ERROR); diff --git a/stage0/src/stdlib.make.in b/stage0/src/stdlib.make.in index f60aaadb8a..026eaf1e41 100644 --- a/stage0/src/stdlib.make.in +++ b/stage0/src/stdlib.make.in @@ -24,4 +24,11 @@ stdlib: "OLEAN_OUT=${LIB}/lean"\ "LEANC_OPTS=${LEANC_OPTS}"\ "MORE_DEPS=${LEAN_BIN}/lean${CMAKE_EXECUTABLE_SUFFIX}";\ + "${LEAN_BIN}/leanmake" lib\ + PKG=Lean\ + "OUT=${LIB}"\ + "LIB_OUT=${LIB}/lean"\ + "OLEAN_OUT=${LIB}/lean"\ + "LEANC_OPTS=${LEANC_OPTS}"\ + "MORE_DEPS=${LEAN_BIN}/lean${CMAKE_EXECUTABLE_SUFFIX}";\ fi diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index 344619b61d..393659d6b0 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Alternative.c ./Init/Control/Applicative.c ./Init/Control/Conditional.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Functor.c ./Init/Control/Id.c ./Init/Control/Lift.c ./Init/Control/Monad.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/AssocList.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/DList.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/HashMap.c ./Init/Data/HashMap/Basic.c ./Init/Data/HashSet.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/List/Instances.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/PersistentArray.c ./Init/Data/PersistentArray/Basic.c ./Init/Data/PersistentHashMap.c ./Init/Data/PersistentHashMap/Basic.c ./Init/Data/PersistentHashSet.c ./Init/Data/Queue.c ./Init/Data/Queue/Basic.c ./Init/Data/RBMap.c ./Init/Data/RBMap/Basic.c ./Init/Data/RBMap/BasicAux.c ./Init/Data/RBTree.c ./Init/Data/RBTree/Basic.c ./Init/Data/Random.c ./Init/Data/Repr.c ./Init/Data/Stack.c ./Init/Data/Stack/Basic.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/HasCoe.c ./Init/Lean.c ./Init/Lean/Attributes.c ./Init/Lean/AuxRecursor.c ./Init/Lean/Class.c ./Init/Lean/Compiler.c ./Init/Lean/Compiler/ClosedTermCache.c ./Init/Lean/Compiler/ConstFolding.c ./Init/Lean/Compiler/ExportAttr.c ./Init/Lean/Compiler/ExternAttr.c ./Init/Lean/Compiler/IR.c ./Init/Lean/Compiler/IR/Basic.c ./Init/Lean/Compiler/IR/Borrow.c ./Init/Lean/Compiler/IR/Boxing.c ./Init/Lean/Compiler/IR/Checker.c ./Init/Lean/Compiler/IR/CompilerM.c ./Init/Lean/Compiler/IR/CtorLayout.c ./Init/Lean/Compiler/IR/ElimDeadBranches.c ./Init/Lean/Compiler/IR/ElimDeadVars.c ./Init/Lean/Compiler/IR/EmitC.c ./Init/Lean/Compiler/IR/EmitUtil.c ./Init/Lean/Compiler/IR/ExpandResetReuse.c ./Init/Lean/Compiler/IR/Format.c ./Init/Lean/Compiler/IR/FreeVars.c ./Init/Lean/Compiler/IR/LiveVars.c ./Init/Lean/Compiler/IR/NormIds.c ./Init/Lean/Compiler/IR/PushProj.c ./Init/Lean/Compiler/IR/RC.c ./Init/Lean/Compiler/IR/ResetReuse.c ./Init/Lean/Compiler/IR/SimpCase.c ./Init/Lean/Compiler/IR/UnboxResult.c ./Init/Lean/Compiler/ImplementedByAttr.c ./Init/Lean/Compiler/InitAttr.c ./Init/Lean/Compiler/InlineAttrs.c ./Init/Lean/Compiler/NameMangling.c ./Init/Lean/Compiler/NeverExtractAttr.c ./Init/Lean/Compiler/Specialize.c ./Init/Lean/Compiler/Util.c ./Init/Lean/Data/Format.c ./Init/Lean/Data/Json.c ./Init/Lean/Data/Json/Basic.c ./Init/Lean/Data/Json/FromToJson.c ./Init/Lean/Data/Json/Parser.c ./Init/Lean/Data/Json/Printer.c ./Init/Lean/Data/KVMap.c ./Init/Lean/Data/LBool.c ./Init/Lean/Data/LOption.c ./Init/Lean/Data/Name.c ./Init/Lean/Data/Occurrences.c ./Init/Lean/Data/Options.c ./Init/Lean/Data/Position.c ./Init/Lean/Data/SMap.c ./Init/Lean/Data/Trie.c ./Init/Lean/Declaration.c ./Init/Lean/Delaborator.c ./Init/Lean/Elab.c ./Init/Lean/Elab/Alias.c ./Init/Lean/Elab/App.c ./Init/Lean/Elab/Binders.c ./Init/Lean/Elab/BuiltinNotation.c ./Init/Lean/Elab/Command.c ./Init/Lean/Elab/DeclModifiers.c ./Init/Lean/Elab/Declaration.c ./Init/Lean/Elab/Definition.c ./Init/Lean/Elab/DoNotation.c ./Init/Lean/Elab/Exception.c ./Init/Lean/Elab/Frontend.c ./Init/Lean/Elab/Import.c ./Init/Lean/Elab/Level.c ./Init/Lean/Elab/Log.c ./Init/Lean/Elab/Match.c ./Init/Lean/Elab/Quotation.c ./Init/Lean/Elab/ResolveName.c ./Init/Lean/Elab/StrategyAttrs.c ./Init/Lean/Elab/StructInst.c ./Init/Lean/Elab/Syntax.c ./Init/Lean/Elab/SyntheticMVars.c ./Init/Lean/Elab/Tactic.c ./Init/Lean/Elab/Tactic/Basic.c ./Init/Lean/Elab/Tactic/ElabTerm.c ./Init/Lean/Elab/Tactic/Generalize.c ./Init/Lean/Elab/Tactic/Induction.c ./Init/Lean/Elab/Tactic/Injection.c ./Init/Lean/Elab/Term.c ./Init/Lean/Elab/Util.c ./Init/Lean/Environment.c ./Init/Lean/EqnCompiler.c ./Init/Lean/EqnCompiler/MatchPattern.c ./Init/Lean/Eval.c ./Init/Lean/Expr.c ./Init/Lean/HeadIndex.c ./Init/Lean/Hygiene.c ./Init/Lean/KeyedDeclsAttribute.c ./Init/Lean/Level.c ./Init/Lean/Linter.c ./Init/Lean/LocalContext.c ./Init/Lean/Message.c ./Init/Lean/Meta.c ./Init/Lean/Meta/AbstractMVars.c ./Init/Lean/Meta/AppBuilder.c ./Init/Lean/Meta/Basic.c ./Init/Lean/Meta/Check.c ./Init/Lean/Meta/DiscrTree.c ./Init/Lean/Meta/DiscrTreeTypes.c ./Init/Lean/Meta/Exception.c ./Init/Lean/Meta/ExprDefEq.c ./Init/Lean/Meta/FunInfo.c ./Init/Lean/Meta/GeneralizeTelescope.c ./Init/Lean/Meta/InferType.c ./Init/Lean/Meta/Instances.c ./Init/Lean/Meta/KAbstract.c ./Init/Lean/Meta/LevelDefEq.c ./Init/Lean/Meta/Message.c ./Init/Lean/Meta/Offset.c ./Init/Lean/Meta/RecursorInfo.c ./Init/Lean/Meta/Reduce.c ./Init/Lean/Meta/SynthInstance.c ./Init/Lean/Meta/Tactic.c ./Init/Lean/Meta/Tactic/Apply.c ./Init/Lean/Meta/Tactic/Assert.c ./Init/Lean/Meta/Tactic/Assumption.c ./Init/Lean/Meta/Tactic/Cases.c ./Init/Lean/Meta/Tactic/Clear.c ./Init/Lean/Meta/Tactic/FVarSubst.c ./Init/Lean/Meta/Tactic/Generalize.c ./Init/Lean/Meta/Tactic/Induction.c ./Init/Lean/Meta/Tactic/Injection.c ./Init/Lean/Meta/Tactic/Intro.c ./Init/Lean/Meta/Tactic/LocalDecl.c ./Init/Lean/Meta/Tactic/Revert.c ./Init/Lean/Meta/Tactic/Rewrite.c ./Init/Lean/Meta/Tactic/Subst.c ./Init/Lean/Meta/Tactic/Target.c ./Init/Lean/Meta/Tactic/Util.c ./Init/Lean/Meta/WHNF.c ./Init/Lean/MetavarContext.c ./Init/Lean/Modifiers.c ./Init/Lean/Parser.c ./Init/Lean/Parser/Command.c ./Init/Lean/Parser/Level.c ./Init/Lean/Parser/Module.c ./Init/Lean/Parser/Parser.c ./Init/Lean/Parser/Syntax.c ./Init/Lean/Parser/Tactic.c ./Init/Lean/Parser/Term.c ./Init/Lean/Parser/Transform.c ./Init/Lean/PrettyPrinter.c ./Init/Lean/PrettyPrinter/Parenthesizer.c ./Init/Lean/ProjFns.c ./Init/Lean/ReducibilityAttrs.c ./Init/Lean/Runtime.c ./Init/Lean/Scopes.c ./Init/Lean/Structure.c ./Init/Lean/Syntax.c ./Init/Lean/ToExpr.c ./Init/Lean/Util.c ./Init/Lean/Util/Closure.c ./Init/Lean/Util/CollectFVars.c ./Init/Lean/Util/CollectLevelParams.c ./Init/Lean/Util/CollectMVars.c ./Init/Lean/Util/FindExpr.c ./Init/Lean/Util/FindMVar.c ./Init/Lean/Util/FoldConsts.c ./Init/Lean/Util/MonadCache.c ./Init/Lean/Util/PPExt.c ./Init/Lean/Util/PPGoal.c ./Init/Lean/Util/Path.c ./Init/Lean/Util/Profile.c ./Init/Lean/Util/RecDepth.c ./Init/Lean/Util/Recognizers.c ./Init/Lean/Util/ReplaceExpr.c ./Init/Lean/Util/Sorry.c ./Init/Lean/Util/Trace.c ./Init/Lean/Util/WHNF.c ./Init/LeanInit.c ./Init/ShareCommon.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/Util.c ./Init/WF.c ./Std.c ./Std/Data.c ./Std/Data/BinomialHeap.c ./Std/Data/BinomialHeap/Basic.c ) +add_library (stage0 OBJECT ./Init.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Alternative.c ./Init/Control/Applicative.c ./Init/Control/Conditional.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Functor.c ./Init/Control/Id.c ./Init/Control/Lift.c ./Init/Control/Monad.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/AssocList.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/DList.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/HashMap.c ./Init/Data/HashMap/Basic.c ./Init/Data/HashSet.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/List/Instances.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/PersistentArray.c ./Init/Data/PersistentArray/Basic.c ./Init/Data/PersistentHashMap.c ./Init/Data/PersistentHashMap/Basic.c ./Init/Data/PersistentHashSet.c ./Init/Data/Queue.c ./Init/Data/Queue/Basic.c ./Init/Data/RBMap.c ./Init/Data/RBMap/Basic.c ./Init/Data/RBMap/BasicAux.c ./Init/Data/RBTree.c ./Init/Data/RBTree/Basic.c ./Init/Data/Random.c ./Init/Data/Repr.c ./Init/Data/Stack.c ./Init/Data/Stack/Basic.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/HasCoe.c ./Init/Lean.c ./Init/Lean/Attributes.c ./Init/Lean/AuxRecursor.c ./Init/Lean/Class.c ./Init/Lean/Compiler.c ./Init/Lean/Compiler/ClosedTermCache.c ./Init/Lean/Compiler/ConstFolding.c ./Init/Lean/Compiler/ExportAttr.c ./Init/Lean/Compiler/ExternAttr.c ./Init/Lean/Compiler/IR.c ./Init/Lean/Compiler/IR/Basic.c ./Init/Lean/Compiler/IR/Borrow.c ./Init/Lean/Compiler/IR/Boxing.c ./Init/Lean/Compiler/IR/Checker.c ./Init/Lean/Compiler/IR/CompilerM.c ./Init/Lean/Compiler/IR/CtorLayout.c ./Init/Lean/Compiler/IR/ElimDeadBranches.c ./Init/Lean/Compiler/IR/ElimDeadVars.c ./Init/Lean/Compiler/IR/EmitC.c ./Init/Lean/Compiler/IR/EmitUtil.c ./Init/Lean/Compiler/IR/ExpandResetReuse.c ./Init/Lean/Compiler/IR/Format.c ./Init/Lean/Compiler/IR/FreeVars.c ./Init/Lean/Compiler/IR/LiveVars.c ./Init/Lean/Compiler/IR/NormIds.c ./Init/Lean/Compiler/IR/PushProj.c ./Init/Lean/Compiler/IR/RC.c ./Init/Lean/Compiler/IR/ResetReuse.c ./Init/Lean/Compiler/IR/SimpCase.c ./Init/Lean/Compiler/IR/UnboxResult.c ./Init/Lean/Compiler/ImplementedByAttr.c ./Init/Lean/Compiler/InitAttr.c ./Init/Lean/Compiler/InlineAttrs.c ./Init/Lean/Compiler/NameMangling.c ./Init/Lean/Compiler/NeverExtractAttr.c ./Init/Lean/Compiler/Specialize.c ./Init/Lean/Compiler/Util.c ./Init/Lean/Data/Format.c ./Init/Lean/Data/Json.c ./Init/Lean/Data/Json/Basic.c ./Init/Lean/Data/Json/FromToJson.c ./Init/Lean/Data/Json/Parser.c ./Init/Lean/Data/Json/Printer.c ./Init/Lean/Data/KVMap.c ./Init/Lean/Data/LBool.c ./Init/Lean/Data/LOption.c ./Init/Lean/Data/Name.c ./Init/Lean/Data/Occurrences.c ./Init/Lean/Data/Options.c ./Init/Lean/Data/Position.c ./Init/Lean/Data/SMap.c ./Init/Lean/Data/Trie.c ./Init/Lean/Declaration.c ./Init/Lean/Delaborator.c ./Init/Lean/Elab.c ./Init/Lean/Elab/Alias.c ./Init/Lean/Elab/App.c ./Init/Lean/Elab/Binders.c ./Init/Lean/Elab/BuiltinNotation.c ./Init/Lean/Elab/Command.c ./Init/Lean/Elab/DeclModifiers.c ./Init/Lean/Elab/Declaration.c ./Init/Lean/Elab/Definition.c ./Init/Lean/Elab/DoNotation.c ./Init/Lean/Elab/Exception.c ./Init/Lean/Elab/Frontend.c ./Init/Lean/Elab/Import.c ./Init/Lean/Elab/Level.c ./Init/Lean/Elab/Log.c ./Init/Lean/Elab/Match.c ./Init/Lean/Elab/Quotation.c ./Init/Lean/Elab/ResolveName.c ./Init/Lean/Elab/StrategyAttrs.c ./Init/Lean/Elab/StructInst.c ./Init/Lean/Elab/Syntax.c ./Init/Lean/Elab/SyntheticMVars.c ./Init/Lean/Elab/Tactic.c ./Init/Lean/Elab/Tactic/Basic.c ./Init/Lean/Elab/Tactic/ElabTerm.c ./Init/Lean/Elab/Tactic/Generalize.c ./Init/Lean/Elab/Tactic/Induction.c ./Init/Lean/Elab/Tactic/Injection.c ./Init/Lean/Elab/Term.c ./Init/Lean/Elab/Util.c ./Init/Lean/Environment.c ./Init/Lean/EqnCompiler.c ./Init/Lean/EqnCompiler/MatchPattern.c ./Init/Lean/Eval.c ./Init/Lean/Expr.c ./Init/Lean/HeadIndex.c ./Init/Lean/Hygiene.c ./Init/Lean/KeyedDeclsAttribute.c ./Init/Lean/Level.c ./Init/Lean/Linter.c ./Init/Lean/LocalContext.c ./Init/Lean/Message.c ./Init/Lean/Meta.c ./Init/Lean/Meta/AbstractMVars.c ./Init/Lean/Meta/AppBuilder.c ./Init/Lean/Meta/Basic.c ./Init/Lean/Meta/Check.c ./Init/Lean/Meta/DiscrTree.c ./Init/Lean/Meta/DiscrTreeTypes.c ./Init/Lean/Meta/Exception.c ./Init/Lean/Meta/ExprDefEq.c ./Init/Lean/Meta/FunInfo.c ./Init/Lean/Meta/GeneralizeTelescope.c ./Init/Lean/Meta/InferType.c ./Init/Lean/Meta/Instances.c ./Init/Lean/Meta/KAbstract.c ./Init/Lean/Meta/LevelDefEq.c ./Init/Lean/Meta/Message.c ./Init/Lean/Meta/Offset.c ./Init/Lean/Meta/RecursorInfo.c ./Init/Lean/Meta/Reduce.c ./Init/Lean/Meta/SynthInstance.c ./Init/Lean/Meta/Tactic.c ./Init/Lean/Meta/Tactic/Apply.c ./Init/Lean/Meta/Tactic/Assert.c ./Init/Lean/Meta/Tactic/Assumption.c ./Init/Lean/Meta/Tactic/Cases.c ./Init/Lean/Meta/Tactic/Clear.c ./Init/Lean/Meta/Tactic/FVarSubst.c ./Init/Lean/Meta/Tactic/Generalize.c ./Init/Lean/Meta/Tactic/Induction.c ./Init/Lean/Meta/Tactic/Injection.c ./Init/Lean/Meta/Tactic/Intro.c ./Init/Lean/Meta/Tactic/LocalDecl.c ./Init/Lean/Meta/Tactic/Revert.c ./Init/Lean/Meta/Tactic/Rewrite.c ./Init/Lean/Meta/Tactic/Subst.c ./Init/Lean/Meta/Tactic/Target.c ./Init/Lean/Meta/Tactic/Util.c ./Init/Lean/Meta/WHNF.c ./Init/Lean/MetavarContext.c ./Init/Lean/Modifiers.c ./Init/Lean/Parser.c ./Init/Lean/Parser/Command.c ./Init/Lean/Parser/Level.c ./Init/Lean/Parser/Module.c ./Init/Lean/Parser/Parser.c ./Init/Lean/Parser/Syntax.c ./Init/Lean/Parser/Tactic.c ./Init/Lean/Parser/Term.c ./Init/Lean/Parser/Transform.c ./Init/Lean/PrettyPrinter.c ./Init/Lean/PrettyPrinter/Parenthesizer.c ./Init/Lean/ProjFns.c ./Init/Lean/ReducibilityAttrs.c ./Init/Lean/Runtime.c ./Init/Lean/Scopes.c ./Init/Lean/Structure.c ./Init/Lean/Syntax.c ./Init/Lean/ToExpr.c ./Init/Lean/Util.c ./Init/Lean/Util/Closure.c ./Init/Lean/Util/CollectFVars.c ./Init/Lean/Util/CollectLevelParams.c ./Init/Lean/Util/CollectMVars.c ./Init/Lean/Util/FindExpr.c ./Init/Lean/Util/FindMVar.c ./Init/Lean/Util/FoldConsts.c ./Init/Lean/Util/MonadCache.c ./Init/Lean/Util/PPExt.c ./Init/Lean/Util/PPGoal.c ./Init/Lean/Util/Path.c ./Init/Lean/Util/Profile.c ./Init/Lean/Util/RecDepth.c ./Init/Lean/Util/Recognizers.c ./Init/Lean/Util/ReplaceExpr.c ./Init/Lean/Util/Sorry.c ./Init/Lean/Util/Trace.c ./Init/Lean/Util/WHNF.c ./Init/LeanInit.c ./Init/ShareCommon.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Util.c ./Std.c ./Std/Data.c ./Std/Data/BinomialHeap.c ./Std/Data/BinomialHeap/Basic.c ) diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index c69dd37980..4791810b4d 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -69,7 +69,6 @@ lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__18; lean_object* l_Lean_Elab_Term_expandHave___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_BuiltinNotation_2__elabClosedTerm___closed__1; -extern lean_object* l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__6; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__14; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__1; lean_object* l_Lean_Elab_Term_elabBOr___closed__1; @@ -95,6 +94,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabseqRight___closed__1; lean_object* l_Lean_Elab_Term_elabMod___closed__1; +lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34; lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandDollar(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__1; @@ -513,6 +513,7 @@ extern lean_object* l_Lean_Meta_reduceNative_x3f___closed__4; extern lean_object* l___private_Init_Lean_Elab_Quotation_5__explodeHeadPat___lambda__1___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabParserMacro___closed__1; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__5; +extern lean_object* l_Lean_optionToExpr___rarg___lambda__1___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabGE(lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__14; lean_object* l___regBuiltin_Lean_Elab_Term_elabNe(lean_object*); @@ -3527,11 +3528,9 @@ lean_object* _init_l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__6; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_optionToExpr___rarg___lambda__1___closed__2; +x_2 = l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3541,6 +3540,18 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__32; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__33; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -3926,7 +3937,7 @@ x_176 = lean_array_push(x_38, x_25); x_177 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__31; x_178 = l_Lean_addMacroScope(x_157, x_177, x_153); x_179 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__30; -x_180 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__33; +x_180 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34; x_181 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_181, 0, x_20); lean_ctor_set(x_181, 1, x_179); @@ -4034,7 +4045,7 @@ x_233 = lean_array_push(x_38, x_25); x_234 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__31; x_235 = l_Lean_addMacroScope(x_213, x_234, x_153); x_236 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__30; -x_237 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__33; +x_237 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34; x_238 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_238, 0, x_20); lean_ctor_set(x_238, 1, x_236); @@ -9450,6 +9461,8 @@ l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__32 = _init_l_Lean_Elab_Te lean_mark_persistent(l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__32); l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__33 = _init_l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__33(); lean_mark_persistent(l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__33); +l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34 = _init_l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34(); +lean_mark_persistent(l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34); l_Lean_Elab_Term_elabParserMacro___closed__1 = _init_l_Lean_Elab_Term_elabParserMacro___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabParserMacro___closed__1); l___regBuiltin_Lean_Elab_Term_elabParserMacro___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabParserMacro___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 216b358106..2337d9b4a7 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -336,6 +336,7 @@ extern lean_object* l_Lean_Expr_listLitAux___main___closed__4; uint8_t l_Lean_Elab_Term_Quotation_isAntiquot(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; lean_object* l_Lean_mkFVar(lean_object*); +extern lean_object* l_Lean_optionToExpr___rarg___lambda__1___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_6__compileStxMatch___main___closed__37; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__quoteSyntax___main___spec__1___closed__4; lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); @@ -578,7 +579,6 @@ extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__quoteSyntax___main___spec__1___closed__5; lean_object* l_Lean_Elab_Term_Quotation_unescapeAntiquot(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes___boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__3; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; lean_object* l___private_Init_Lean_Elab_Quotation_4__getHeadInfo___boxed(lean_object*); @@ -2011,7 +2011,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__3; +x_2 = l_Lean_optionToExpr___rarg___lambda__1___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index 3652008f37..294085c10c 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -73,7 +73,6 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__30; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__36; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__5; uint8_t lean_name_eq(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__6; extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_Macro_mkFreshKind(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__104; @@ -211,7 +210,6 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__6; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__4; lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__14; @@ -327,6 +325,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__52; lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__34; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandMacro___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_optionToExpr___rarg___lambda__1___closed__3; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; extern lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; @@ -374,6 +373,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__76; lean_object* l___private_Init_Lean_Elab_Syntax_8__regTraceClasses___closed__1; extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l_Lean_Elab_Command_elabSyntax___closed__17; +lean_object* l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__1; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__18; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__3; @@ -398,6 +398,7 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l___private_Init_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; extern lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +lean_object* l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__2; lean_object* l_Array_findMAux___main___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__48; @@ -445,6 +446,7 @@ lean_object* l_Lean_Elab_Command_getEnv(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__27; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__17; lean_object* l_Lean_Elab_Command_elabSyntax___closed__23; +lean_object* l_Lean_mkTermIdFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__21; extern lean_object* l_Lean_mkOptionalNode___closed__1; extern lean_object* l_Lean_Parser_Term_matchAlt___closed__2; @@ -473,6 +475,7 @@ lean_object* l_Lean_Elab_Command_setEnv(lean_object*, lean_object*, lean_object* lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___closed__7; +extern lean_object* l_Lean_optionToExpr___rarg___lambda__1___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__9; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; @@ -539,6 +542,7 @@ extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; extern lean_object* l___private_Init_Lean_Elab_Quotation_2__quoteSyntax___main___closed__44; lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__5; lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__70; @@ -1370,13 +1374,33 @@ lean_dec(x_2); return x_7; } } +lean_object* _init_l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_optionToExpr___rarg___lambda__1___closed__3; +x_3 = l_Lean_mkTermIdFrom(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_optionToExpr___rarg___lambda__1___closed__2; +x_2 = l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__4; +x_2 = l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__1; return x_2; } else @@ -1396,7 +1420,7 @@ x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); x_12 = lean_array_push(x_8, x_11); -x_13 = l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__6; +x_13 = l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__2; x_14 = l_Lean_mkCAppStx(x_13, x_12); return x_14; } @@ -14880,6 +14904,10 @@ l_Lean_Elab_Term_checkLeftRec___closed__8 = _init_l_Lean_Elab_Term_checkLeftRec_ lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___closed__8); l_Lean_Elab_Term_checkLeftRec___closed__9 = _init_l_Lean_Elab_Term_checkLeftRec___closed__9(); lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___closed__9); +l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__1 = _init_l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__1); +l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__2 = _init_l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Syntax_9__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___closed__2); l_Lean_Elab_Term_toParserDescrAux___main___closed__1 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__1); l_Lean_Elab_Term_toParserDescrAux___main___closed__2 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index a726a840bc..ea2ba037b4 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -541,7 +541,6 @@ lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabNamedHole___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute; -lean_object* l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__1; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__10; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__2; @@ -882,6 +881,7 @@ lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabStr___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_IO_println___at_IO_runMeta___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__6; lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__3; lean_object* l_Lean_Elab_Term_decLevel___closed__6; @@ -28701,7 +28701,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = l_Lean_Message_toString(x_1); x_4 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_4, 0, x_3); -x_5 = l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(x_4, x_2); +x_5 = l_IO_println___at_IO_runMeta___spec__1(x_4, x_2); return x_5; } } diff --git a/stage0/stdlib/Init/Lean/Meta/Basic.c b/stage0/stdlib/Init/Lean/Meta/Basic.c index f3765220d5..5828045795 100644 --- a/stage0/stdlib/Init/Lean/Meta/Basic.c +++ b/stage0/stdlib/Init/Lean/Meta/Basic.c @@ -43,12 +43,14 @@ lean_object* l_Lean_Meta_throwBug(lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); lean_object* l_Lean_Meta_dbgTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_io_prim_put_str(lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_Inhabited; lean_object* l_Lean_Meta_getEnv(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescope___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyExprMVar___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); extern lean_object* l_EIO_Monad___closed__1; lean_object* l_Lean_Meta_savingCache(lean_object*); lean_object* l_Lean_Meta_addContext___boxed(lean_object*, lean_object*, lean_object*); @@ -93,6 +95,7 @@ lean_object* l_Option_hash___at_Lean_Meta_InfoCacheKey_Hashable___spec__1___boxe lean_object* l_Lean_Meta_lambdaMetaTelescope___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLevelMVars(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_7__forallMetaTelescopeReducingAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -116,6 +119,7 @@ lean_object* l_Lean_Meta_throwBug___rarg(lean_object*, lean_object*, lean_object lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescope___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at_Lean_Meta_isClassExpensive___main___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInferTypeRef___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at_Lean_Meta_forallBoundedTelescope___spec__2(lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_6__lambdaTelescopeAux(lean_object*); @@ -135,6 +139,7 @@ lean_object* l_Lean_Meta_getConst___boxed(lean_object*, lean_object*, lean_objec lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxDefinition(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_forM___at_IO_runMeta___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing(lean_object*); lean_object* l_Lean_Meta_MetaM_inhabited___rarg(lean_object*); lean_object* l_Lean_Meta_TransparencyMode_Hashable___closed__1; @@ -224,6 +229,7 @@ lean_object* l_Lean_Meta_metaExt___closed__1; lean_object* l_Lean_Meta_run___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Meta_MetaExtState_inhabited___spec__1(lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_HasBeq___boxed(lean_object*, lean_object*); +extern lean_object* l_IO_println___rarg___closed__1; lean_object* l_Lean_Meta_setMVarKind(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; uint8_t l_Array_isEqvAux___main___at_Lean_Meta_withLocalContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,10 +307,12 @@ lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Meta_mkIsExprDefEqAuxRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__5(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_runMeta___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallBoundedTelescope___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkIsExprDefEqAuxRef___closed__1; lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_fmt___at_Lean_Message_toString___spec__1(lean_object*); lean_object* l_Lean_Meta_hasAssignableMVar(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Meta_run___spec__1___closed__1; lean_object* l_Lean_Meta_mkIsExprDefEqAuxRef___lambda__1___closed__2; @@ -324,6 +332,7 @@ lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, le uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Meta_tracer___closed__2; lean_object* l_Lean_Meta_withAtLeastTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_forMAux___main___at_IO_runMeta___spec__4___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_6__lambdaTelescopeAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_mk_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_synthPendingRef; @@ -334,6 +343,7 @@ lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_object*, lean_o lean_object* l_Lean_Meta_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_incDepth(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_Basic_6__lambdaTelescopeAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfRef; lean_object* l_Lean_Meta_synthPending(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaExtState_inhabited___closed__3; @@ -378,6 +388,7 @@ lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallBoundedTelescope___spec__4(lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Meta_mkMetaExtension___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); +lean_object* l_PersistentArray_forMAux___main___at_IO_runMeta___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInferTypeRef(lean_object*); lean_object* l_Lean_Meta_isDelayedAssigned(lean_object*, lean_object*, lean_object*); @@ -403,6 +414,7 @@ lean_object* l_Lean_Meta_withConfig(lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth(lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMCtx___rarg(lean_object*); +lean_object* l_IO_print___at_IO_runMeta___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallBoundedTelescope___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkWHNFRef___closed__1; @@ -419,6 +431,7 @@ lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; lean_object* l_Lean_Meta_TransparencyMode_hash___boxed(lean_object*); lean_object* l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallBoundedTelescope___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMCtx(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_2__getTraceState(lean_object*); @@ -429,7 +442,7 @@ lean_object* l_Lean_Meta_getParamNames(lean_object*, lean_object*, lean_object*) lean_object* l_Lean_Meta_mkFreshLevelMVarId___boxed(lean_object*); extern lean_object* l_HashMap_Inhabited___closed__1; lean_object* l_Lean_Meta_mkInferTypeRef___closed__1; -lean_object* l_IO_runMeta___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_runMeta___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkWHNFRef___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstance(lean_object*); @@ -459,10 +472,12 @@ lean_object* l_Lean_Meta_forallBoundedTelescope___rarg(lean_object*, lean_object extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l___private_Init_Lean_Meta_Basic_8__lambdaMetaTelescopeAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Meta_mkMetaExtension___spec__1___closed__1; +lean_object* l_PersistentArray_forM___at_IO_runMeta___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalContext(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_println___at_IO_runMeta___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_getConstAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_isClassExpensive___main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*); @@ -50184,102 +50199,595 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_run___rarg), 3, 0); return x_2; } } -lean_object* l_IO_runMeta___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_IO_print___at_IO_runMeta___spec__2(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_5 = l_Lean_LocalContext_Inhabited___closed__2; -x_6 = l_Array_empty___closed__1; -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Lean_defaultMaxRecDepth; -x_9 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_9, 0, x_3); -lean_ctor_set(x_9, 1, x_5); -lean_ctor_set(x_9, 2, x_6); -lean_ctor_set(x_9, 3, x_7); -lean_ctor_set(x_9, 4, x_8); -x_10 = l_Lean_MetavarContext_Inhabited___closed__1; -x_11 = l_Lean_Meta_run___rarg___closed__5; -x_12 = l_Lean_NameGenerator_Inhabited___closed__3; -x_13 = l_Lean_TraceState_Inhabited___closed__1; -x_14 = l_PersistentArray_empty___closed__3; -x_15 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_15, 0, x_2); -lean_ctor_set(x_15, 1, x_10); -lean_ctor_set(x_15, 2, x_11); -lean_ctor_set(x_15, 3, x_12); -lean_ctor_set(x_15, 4, x_13); -lean_ctor_set(x_15, 5, x_14); -x_16 = lean_apply_2(x_1, x_9, x_15); -if (lean_obj_tag(x_16) == 0) +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_Options_empty; +x_4 = l_Lean_Format_pretty(x_1, x_3); +x_5 = lean_io_prim_put_str(x_4, x_2); +lean_dec(x_4); +return x_5; +} +} +lean_object* l_IO_println___at_IO_runMeta___spec__1(lean_object* x_1, lean_object* x_2) { +_start: { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +lean_object* x_3; +x_3 = l_IO_print___at_IO_runMeta___spec__2(x_1, x_2); +if (lean_obj_tag(x_3) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_20); -lean_ctor_set(x_16, 1, x_4); -lean_ctor_set(x_16, 0, x_21); -return x_16; +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_IO_println___rarg___closed__1; +x_6 = lean_io_prim_put_str(x_5, x_4); +return x_6; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_16, 0); -x_23 = lean_ctor_get(x_16, 1); +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_3); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +} +} +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_2, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_array_fget(x_1, x_2); +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_2, x_9); +lean_dec(x_2); +x_11 = l_PersistentArray_forMAux___main___at_IO_runMeta___spec__4(x_8, x_3); +lean_dec(x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_2 = x_10; +x_3 = x_12; +goto _start; +} +else +{ +uint8_t x_14; +lean_dec(x_10); +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) +{ +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +} +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_2, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_array_fget(x_1, x_2); +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_2, x_9); +lean_dec(x_2); +x_11 = l_Lean_fmt___at_Lean_Message_toString___spec__1(x_8); +x_12 = l_IO_println___at_IO_runMeta___spec__1(x_11, x_3); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_2 = x_10; +x_3 = x_13; +goto _start; +} +else +{ +uint8_t x_15; +lean_dec(x_10); +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +} +lean_object* l_PersistentArray_forMAux___main___at_IO_runMeta___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Array_forMAux___main___at_IO_runMeta___spec__5(x_3, x_4, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_forMAux___main___at_IO_runMeta___spec__6(x_6, x_7, x_2); +return x_8; +} +} +} +lean_object* l_PersistentArray_forM___at_IO_runMeta___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = l_PersistentArray_forMAux___main___at_IO_runMeta___spec__4(x_3, x_2); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_forMAux___main___at_IO_runMeta___spec__6(x_4, x_7, x_6); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_5); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +lean_object* l_IO_runMeta___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_6 = l_Lean_LocalContext_Inhabited___closed__2; +x_7 = l_Array_empty___closed__1; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_defaultMaxRecDepth; +x_10 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_6); +lean_ctor_set(x_10, 2, x_7); +lean_ctor_set(x_10, 3, x_8); +lean_ctor_set(x_10, 4, x_9); +x_11 = l_Lean_MetavarContext_Inhabited___closed__1; +x_12 = l_Lean_Meta_run___rarg___closed__5; +x_13 = l_Lean_NameGenerator_Inhabited___closed__3; +x_14 = l_Lean_TraceState_Inhabited___closed__1; +x_15 = l_PersistentArray_empty___closed__3; +x_16 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_11); +lean_ctor_set(x_16, 2, x_12); +lean_ctor_set(x_16, 3, x_13); +lean_ctor_set(x_16, 4, x_14); +lean_ctor_set(x_16, 5, x_15); +x_17 = lean_apply_2(x_1, x_10, x_16); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_21); +if (x_4 == 0) +{ +lean_dec(x_20); +lean_ctor_set(x_17, 1, x_5); +lean_ctor_set(x_17, 0, x_22); +return x_17; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_free_object(x_17); +x_23 = lean_ctor_get(x_20, 4); lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_16); +lean_dec(x_20); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); +x_25 = l_PersistentArray_forM___at_IO_runMeta___spec__3(x_24, x_5); +lean_dec(x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_4); -return x_26; +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } else { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_16); -if (x_27 == 0) +uint8_t x_30; +lean_dec(x_22); +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_16, 0); -x_29 = lean_ctor_get(x_16, 1); -lean_dec(x_29); -x_30 = l_Lean_Meta_Exception_toStr(x_28); -x_31 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_16, 1, x_4); -lean_ctor_set(x_16, 0, x_31); -return x_16; +return x_25; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_16, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_25, 0); +x_32 = lean_ctor_get(x_25, 1); lean_inc(x_32); -lean_dec(x_16); -x_33 = l_Lean_Meta_Exception_toStr(x_32); -x_34 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_4); -return x_35; +lean_inc(x_31); +lean_dec(x_25); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_17, 0); +x_35 = lean_ctor_get(x_17, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_17); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_36); +if (x_4 == 0) +{ +lean_object* x_38; +lean_dec(x_35); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_5); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 4); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec(x_39); +x_41 = l_PersistentArray_forM___at_IO_runMeta___spec__3(x_40, x_5); +lean_dec(x_40); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_43 = x_41; +} else { + lean_dec_ref(x_41); + x_43 = lean_box(0); +} +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_43; +} +lean_ctor_set(x_44, 0, x_37); +lean_ctor_set(x_44, 1, x_42); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_37); +x_45 = lean_ctor_get(x_41, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_47 = x_41; +} else { + lean_dec_ref(x_41); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(1, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +} +} +else +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_17); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_17, 0); +x_51 = lean_ctor_get(x_17, 1); +x_52 = l_Lean_Meta_Exception_toStr(x_50); +x_53 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_53, 0, x_52); +if (x_4 == 0) +{ +lean_dec(x_51); +lean_ctor_set(x_17, 1, x_5); +lean_ctor_set(x_17, 0, x_53); +return x_17; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_free_object(x_17); +x_54 = lean_ctor_get(x_51, 4); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +lean_dec(x_54); +x_56 = l_PersistentArray_forM___at_IO_runMeta___spec__3(x_55, x_5); +lean_dec(x_55); +if (lean_obj_tag(x_56) == 0) +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set_tag(x_56, 1); +lean_ctor_set(x_56, 0, x_53); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_53); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +uint8_t x_61; +lean_dec(x_53); +x_61 = !lean_is_exclusive(x_56); +if (x_61 == 0) +{ +return x_56; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_56, 0); +x_63 = lean_ctor_get(x_56, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_56); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_17, 0); +x_66 = lean_ctor_get(x_17, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_17); +x_67 = l_Lean_Meta_Exception_toStr(x_65); +x_68 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_68, 0, x_67); +if (x_4 == 0) +{ +lean_object* x_69; +lean_dec(x_66); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_5); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_66, 4); +lean_inc(x_70); +lean_dec(x_66); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +lean_dec(x_70); +x_72 = l_PersistentArray_forM___at_IO_runMeta___spec__3(x_71, x_5); +lean_dec(x_71); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; +} else { + lean_dec_ref(x_72); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(1, 2, 0); +} else { + x_75 = x_74; + lean_ctor_set_tag(x_75, 1); +} +lean_ctor_set(x_75, 0, x_68); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_68); +x_76 = lean_ctor_get(x_72, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_78 = x_72; +} else { + lean_dec_ref(x_72); + x_78 = lean_box(0); +} +if (lean_is_scalar(x_78)) { + x_79 = lean_alloc_ctor(1, 2, 0); +} else { + x_79 = x_78; +} +lean_ctor_set(x_79, 0, x_76); +lean_ctor_set(x_79, 1, x_77); +return x_79; +} +} } } } @@ -50288,10 +50796,56 @@ lean_object* l_IO_runMeta(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_IO_runMeta___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_IO_runMeta___rarg___boxed), 5, 0); return x_2; } } +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_forMAux___main___at_IO_runMeta___spec__5(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Array_forMAux___main___at_IO_runMeta___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_forMAux___main___at_IO_runMeta___spec__6(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_PersistentArray_forMAux___main___at_IO_runMeta___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentArray_forMAux___main___at_IO_runMeta___spec__4(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_PersistentArray_forM___at_IO_runMeta___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentArray_forM___at_IO_runMeta___spec__3(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_IO_runMeta___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_4); +lean_dec(x_4); +x_7 = l_IO_runMeta___rarg(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} lean_object* initialize_Init_Control_Reader(lean_object*); lean_object* initialize_Init_Lean_Data_LOption(lean_object*); lean_object* initialize_Init_Lean_Environment(lean_object*); diff --git a/stage0/stdlib/Init/Lean/Meta/Instances.c b/stage0/stdlib/Init/Lean/Meta/Instances.c index e07e3573ad..25e7a52d1b 100644 --- a/stage0/stdlib/Init/Lean/Meta/Instances.c +++ b/stage0/stdlib/Init/Lean/Meta/Instances.c @@ -182,6 +182,7 @@ lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_addInstanceEntry___spec_ lean_object* l_Lean_Meta_DiscrTree_empty(lean_object*); lean_object* l_Lean_Meta_instanceExtension___elambda__2___boxed(lean_object*); extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; +lean_object* l_PersistentArray_forM___at_IO_runMeta___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Meta_addInstanceEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3266,78 +3267,149 @@ lean_inc(x_10); x_18 = l___private_Init_Lean_Meta_Instances_1__mkInstanceKey(x_10, x_17, x_16); if (lean_obj_tag(x_18) == 0) { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -x_22 = lean_ctor_get(x_21, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 4); lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +lean_dec(x_22); +x_24 = l_PersistentArray_forM___at_IO_runMeta___spec__3(x_23, x_3); +lean_dec(x_23); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_10); +x_28 = l_Lean_Meta_instanceExtension; +x_29 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_28, x_21, x_27); +lean_ctor_set(x_24, 0, x_29); +return x_24; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_10); +x_32 = l_Lean_Meta_instanceExtension; +x_33 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_32, x_21, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +return x_34; +} +} +else +{ +uint8_t x_35; lean_dec(x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_10); -x_24 = l_Lean_Meta_instanceExtension; -x_25 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_24, x_22, x_23); -lean_ctor_set(x_18, 1, x_3); -lean_ctor_set(x_18, 0, x_25); -return x_18; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_26 = lean_ctor_get(x_18, 0); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_18); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_10); -x_30 = l_Lean_Meta_instanceExtension; -x_31 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_30, x_28, x_29); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_3); -return x_32; -} -} -else -{ -uint8_t x_33; +lean_dec(x_19); lean_dec(x_10); -x_33 = !lean_is_exclusive(x_18); -if (x_33 == 0) +x_35 = !lean_is_exclusive(x_24); +if (x_35 == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_18, 0); -x_35 = lean_ctor_get(x_18, 1); -lean_dec(x_35); -x_36 = l_Lean_Meta_Exception_toStr(x_34); -x_37 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_18, 1, x_3); -lean_ctor_set(x_18, 0, x_37); -return x_18; +return x_24; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_18, 0); -lean_inc(x_38); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_24, 0); +x_37 = lean_ctor_get(x_24, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_24); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_10); +x_39 = lean_ctor_get(x_18, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_18, 1); +lean_inc(x_40); lean_dec(x_18); -x_39 = l_Lean_Meta_Exception_toStr(x_38); -x_40 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_3); -return x_41; +x_41 = l_Lean_Meta_Exception_toStr(x_39); +x_42 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_ctor_get(x_40, 4); +lean_inc(x_43); +lean_dec(x_40); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +lean_dec(x_43); +x_45 = l_PersistentArray_forM___at_IO_runMeta___spec__3(x_44, x_3); +lean_dec(x_44); +if (lean_obj_tag(x_45) == 0) +{ +uint8_t x_46; +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set_tag(x_45, 1); +lean_ctor_set(x_45, 0, x_42); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_42); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +uint8_t x_50; +lean_dec(x_42); +x_50 = !lean_is_exclusive(x_45); +if (x_50 == 0) +{ +return x_45; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_45, 0); +x_52 = lean_ctor_get(x_45, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_45); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} } } } diff --git a/stage0/stdlib/Init/Lean/Meta/Message.c b/stage0/stdlib/Init/Lean/Meta/Message.c index 9bef42bee2..9a20946f9a 100644 --- a/stage0/stdlib/Init/Lean/Meta/Message.c +++ b/stage0/stdlib/Init/Lean/Meta/Message.c @@ -19,13 +19,14 @@ lean_object* l___private_Init_Lean_Meta_Message_1__run_x3f(lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__51; lean_object* l___private_Init_Lean_Meta_Message_3__inferDomain_x3f___boxed(lean_object*, lean_object*); -lean_object* lean_io_prim_put_str(lean_object*, lean_object*); +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l___private_Init_Lean_Meta_Message_3__inferDomain_x3f___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__39; lean_object* l_Lean_Meta_Exception_toMessageData___closed__35; -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__36; lean_object* l_Lean_Meta_Exception_toMessageData(lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__31; @@ -41,10 +42,9 @@ lean_object* l_Lean_Meta_MetaHasEval(lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_MessageData_formatAux___main(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__26; -lean_object* l_IO_print___at_Lean_Meta_MetaHasEval___spec__2(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage(lean_object*, lean_object*); -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__86; lean_object* l_Lean_Meta_Exception_toMessageData___closed__40; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -73,11 +73,9 @@ lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage___closed__8; lean_object* l_Lean_Meta_Exception_toMessageData___closed__19; extern lean_object* l_Lean_MessageData_coeOfArrayExpr___closed__2; lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage___closed__4; -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__44; lean_object* l_Lean_Meta_Exception_toMessageData___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); -extern lean_object* l_IO_println___rarg___closed__1; extern lean_object* l_PersistentArray_empty___closed__3; extern lean_object* l_Lean_Meta_Exception_toStr___closed__11; extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__4; @@ -99,9 +97,11 @@ lean_object* l_Lean_Meta_Exception_toMessageData___closed__53; lean_object* l_Lean_Meta_Exception_toMessageData___closed__37; lean_object* l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__1; lean_object* l_Lean_Meta_Exception_toMessageData___closed__42; -lean_object* l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(lean_object*, lean_object*); +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__2___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__2; +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__22; +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__50; lean_object* l_Lean_Meta_MetaHasEval___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__38; @@ -113,7 +113,6 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_getMaxRecDepth(lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__13; lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__2; -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__4; lean_object* l_Lean_Meta_Exception_toMessageData___closed__52; lean_object* l_Lean_Meta_Exception_toMessageData___closed__54; @@ -123,7 +122,6 @@ lean_object* l_Lean_Meta_Exception_toMessageData___closed__10; lean_object* l_Lean_Meta_Exception_toMessageData___closed__32; lean_object* l_Lean_Meta_Exception_toMessageData___closed__7; lean_object* l_Lean_Meta_Exception_toMessageData___closed__49; -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__5; extern lean_object* l_Lean_TraceState_Inhabited___closed__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); @@ -149,13 +147,12 @@ lean_object* l_Lean_mkBVar(lean_object*); lean_object* l___private_Init_Lean_Meta_Message_2__inferType_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__6; lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__15; lean_object* l_Lean_Meta_Exception_toMessageData___closed__16; extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l_Lean_Meta_Exception_toMessageData___closed__20; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_println___at_IO_runMeta___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__39; lean_object* _init_l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__1() { _start: @@ -1782,57 +1779,7 @@ return x_162; } } } -lean_object* l_IO_print___at_Lean_Meta_MetaHasEval___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = l_Lean_Options_empty; -x_4 = l_Lean_Format_pretty(x_1, x_3); -x_5 = lean_io_prim_put_str(x_4, x_2); -lean_dec(x_4); -return x_5; -} -} -lean_object* l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_IO_print___at_Lean_Meta_MetaHasEval___spec__2(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -lean_dec(x_3); -x_5 = l_IO_println___rarg___closed__1; -x_6 = lean_io_prim_put_str(x_5, x_4); -return x_6; -} -else -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -return x_3; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_3); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -} -} -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1856,7 +1803,7 @@ x_8 = lean_array_fget(x_1, x_2); x_9 = lean_unsigned_to_nat(1u); x_10 = lean_nat_add(x_2, x_9); lean_dec(x_2); -x_11 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_8, x_3); +x_11 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__2(x_8, x_3); lean_dec(x_8); if (lean_obj_tag(x_11) == 0) { @@ -1894,7 +1841,7 @@ return x_17; } } } -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1920,7 +1867,7 @@ x_10 = lean_nat_add(x_2, x_9); lean_dec(x_2); x_11 = lean_box(0); x_12 = l_Lean_MessageData_formatAux___main(x_11, x_8); -x_13 = l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(x_12, x_3); +x_13 = l_IO_println___at_IO_runMeta___spec__1(x_12, x_3); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -1957,7 +1904,7 @@ return x_19; } } } -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1965,7 +1912,7 @@ if (lean_obj_tag(x_1) == 0) lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(x_3, x_4, x_2); +x_5 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__3(x_3, x_4, x_2); return x_5; } else @@ -1973,18 +1920,18 @@ else lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_1, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_6, x_7, x_2); +x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_6, x_7, x_2); return x_8; } } } -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_ctor_get(x_1, 1); -x_5 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_3, x_2); +x_5 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__2(x_3, x_2); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -1992,7 +1939,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_4, x_7, x_6); +x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_4, x_7, x_6); return x_8; } else @@ -2074,7 +2021,7 @@ lean_dec(x_24); x_26 = lean_ctor_get(x_23, 0); lean_inc(x_26); lean_dec(x_23); -x_27 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(x_25, x_6); +x_27 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__1(x_25, x_6); lean_dec(x_25); if (lean_obj_tag(x_27) == 0) { @@ -2137,7 +2084,7 @@ x_43 = l_Lean_Options_empty; x_44 = l_Lean_Format_pretty(x_42, x_43); x_45 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_45, 0, x_44); -x_46 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(x_39, x_6); +x_46 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__1(x_39, x_6); lean_dec(x_39); if (lean_obj_tag(x_46) == 0) { @@ -2198,38 +2145,38 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_MetaHasEval___rarg___boxed), 6, 0); return x_2; } } -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(x_1, x_2, x_3); +x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__3(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_1, x_2, x_3); +x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_1, x_2); +x_3 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__2(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(x_1, x_2); +x_3 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } diff --git a/stage0/stdlib/Init/Lean/Parser/Command.c b/stage0/stdlib/Init/Lean/Parser/Command.c index 0393a7af54..77e7f6066e 100644 --- a/stage0/stdlib/Init/Lean/Parser/Command.c +++ b/stage0/stdlib/Init/Lean/Parser/Command.c @@ -167,7 +167,6 @@ lean_object* l_Lean_Parser_Command_open; lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_section___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_axiom___closed__6; -extern lean_object* l_Lean_Parser_Term_subtype___closed__1; lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_theorem___closed__5; lean_object* l_Lean_Parser_Command_inferMod___closed__2; @@ -332,6 +331,7 @@ lean_object* l_Lean_Parser_Command_unsafe; lean_object* l_Lean_Parser_Command_structure___closed__6; lean_object* l_Lean_Parser_Command_check___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_attrInstance___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_variables___elambda__1___closed__8; @@ -366,6 +366,7 @@ lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__7; extern lean_object* l_Lean_Parser_Term_binderDefault; lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__4; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_resolve__name; lean_object* l_Lean_Parser_Command_declValEqns___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__9; @@ -411,13 +412,14 @@ lean_object* l_Lean_Parser_Command_declModifiers___closed__5; lean_object* l_Lean_Parser_Command_structureTk___closed__1; lean_object* l_Lean_Parser_Command_init__quot___closed__1; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Command_universes___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_declModifiers___closed__14; lean_object* l_Lean_Parser_Command_constant___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__1; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Command_export___closed__9; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); lean_object* l_Lean_Parser_Command_check__failure___elambda__1(lean_object*, lean_object*); @@ -476,7 +478,6 @@ extern lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__1; lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__15; lean_object* l_Lean_Parser_Command_openSimple___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_openRenamingItem___closed__2; lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_unsafe___closed__5; @@ -556,6 +557,7 @@ lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_declaration___closed__11; extern lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_declVal___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__3; lean_object* l_Lean_Parser_Command_open___closed__7; lean_object* l_Lean_Parser_Command_structCtor___closed__1; @@ -648,6 +650,7 @@ lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_ lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_variable___closed__6; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_protected___closed__3; lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__5; @@ -685,6 +688,7 @@ lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_optType___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_stxQuot___closed__3; lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__9; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_noncomputable___closed__3; lean_object* l_Lean_Parser_Command_private___elambda__1___closed__4; @@ -714,7 +718,6 @@ lean_object* l_Lean_Parser_Command_check___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_structCtor___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_unsafe___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_set__option___closed__9; lean_object* l_Lean_Parser_Term_stxQuot___closed__5; lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__2; @@ -844,7 +847,6 @@ lean_object* l_Lean_Parser_Command_attrInstance___closed__3; lean_object* l_Lean_Parser_Command_export___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_structure___closed__4; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__11; lean_object* l_Lean_Parser_Command_open___closed__6; @@ -926,6 +928,7 @@ lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_axiom___closed__1; lean_object* l_Lean_Parser_Command_exit___closed__3; lean_object* l_Lean_Parser_Command_unsafe___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_implicitBinder___closed__1; lean_object* l_Lean_Parser_Command_private___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_structure___closed__13; @@ -976,7 +979,6 @@ lean_object* l_Lean_Parser_Command_variable___closed__5; lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__5; extern lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__17; lean_object* l_Lean_Parser_Command_def___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__1; @@ -1072,7 +1074,6 @@ lean_object* l_Lean_Parser_regCommandParserAttribute(lean_object*); lean_object* l_Lean_Parser_Command_variables___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_declaration___closed__13; lean_object* l_Lean_Parser_Command_namespace___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_init__quot___closed__4; lean_object* l_Lean_Parser_Command_structure___closed__5; lean_object* l_Lean_Parser_Command_abbrev___closed__6; @@ -1101,7 +1102,6 @@ lean_object* l_Lean_Parser_Command_classTk___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_open___closed__4; lean_object* l_Lean_Parser_Command_attribute___closed__9; lean_object* l_Lean_Parser_Command_introRule___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__2; lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__3; lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1472,13 +1472,13 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_16 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_18, x_10); x_20 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_7); @@ -1497,7 +1497,7 @@ else { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_14); -x_24 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_24 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_24, x_10); x_26 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_7); @@ -1508,7 +1508,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_12); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_28, x_10); x_30 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); @@ -1796,13 +1796,13 @@ lean_object* x_107; lean_object* x_108; uint8_t x_109; x_107 = lean_ctor_get(x_106, 1); lean_inc(x_107); lean_dec(x_106); -x_108 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_108 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_109 = lean_string_dec_eq(x_107, x_108); lean_dec(x_107); if (x_109 == 0) { lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_110 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_111 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_110, x_102); x_112 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_113 = l_Lean_Parser_ParserState_mkNode(x_111, x_112, x_99); @@ -1825,7 +1825,7 @@ else { lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_dec(x_106); -x_118 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_118 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_119 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_118, x_102); x_120 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_121 = l_Lean_Parser_ParserState_mkNode(x_119, x_120, x_99); @@ -1838,7 +1838,7 @@ else { lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_dec(x_104); -x_123 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_123 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_124 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_123, x_102); x_125 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_126 = l_Lean_Parser_ParserState_mkNode(x_124, x_125, x_99); @@ -2033,7 +2033,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Parser_Term_stxQuot___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_Parser_orelseInfo(x_4, x_2); @@ -2045,7 +2045,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_stxQuot___closed__3; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -12853,7 +12853,7 @@ lean_object* _init_l_Lean_Parser_Command_inferMod___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___closed__1; +x_1 = l_Lean_Parser_Term_implicitBinder___closed__1; x_2 = l_Lean_Parser_Term_explicitUniv___closed__4; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -15008,13 +15008,13 @@ lean_object* x_87; lean_object* x_88; uint8_t x_89; x_87 = lean_ctor_get(x_86, 1); lean_inc(x_87); lean_dec(x_86); -x_88 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_88 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_89 = lean_string_dec_eq(x_87, x_88); lean_dec(x_87); if (x_89 == 0) { lean_object* x_90; lean_object* x_91; -x_90 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_90 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_91 = l_Lean_Parser_ParserState_mkErrorsAt(x_83, x_90, x_82); x_58 = x_91; goto block_81; @@ -15030,7 +15030,7 @@ else { lean_object* x_92; lean_object* x_93; lean_dec(x_86); -x_92 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_92 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_93 = l_Lean_Parser_ParserState_mkErrorsAt(x_83, x_92, x_82); x_58 = x_93; goto block_81; @@ -15040,7 +15040,7 @@ else { lean_object* x_94; lean_object* x_95; lean_dec(x_84); -x_94 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_94 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_95 = l_Lean_Parser_ParserState_mkErrorsAt(x_83, x_94, x_82); x_58 = x_95; goto block_81; @@ -15071,13 +15071,13 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_16 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_18, x_10); x_20 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__2; x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_7); @@ -15096,7 +15096,7 @@ else { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_14); -x_24 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_24 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_24, x_10); x_26 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__2; x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_7); @@ -15107,7 +15107,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_12); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_28, x_10); x_30 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__2; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); @@ -15357,13 +15357,13 @@ lean_object* x_194; lean_object* x_195; uint8_t x_196; x_194 = lean_ctor_get(x_193, 1); lean_inc(x_194); lean_dec(x_193); -x_195 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_195 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_196 = lean_string_dec_eq(x_194, x_195); lean_dec(x_194); if (x_196 == 0) { lean_object* x_197; lean_object* x_198; -x_197 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_197 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_98); x_198 = l_Lean_Parser_ParserState_mkErrorsAt(x_190, x_197, x_98); x_164 = x_198; @@ -15379,7 +15379,7 @@ else { lean_object* x_199; lean_object* x_200; lean_dec(x_193); -x_199 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_199 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_98); x_200 = l_Lean_Parser_ParserState_mkErrorsAt(x_190, x_199, x_98); x_164 = x_200; @@ -15390,7 +15390,7 @@ else { lean_object* x_201; lean_object* x_202; lean_dec(x_191); -x_201 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_201 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_98); x_202 = l_Lean_Parser_ParserState_mkErrorsAt(x_190, x_201, x_98); x_164 = x_202; @@ -15422,13 +15422,13 @@ lean_object* x_114; lean_object* x_115; uint8_t x_116; x_114 = lean_ctor_get(x_113, 1); lean_inc(x_114); lean_dec(x_113); -x_115 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_115 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_116 = lean_string_dec_eq(x_114, x_115); lean_dec(x_114); if (x_116 == 0) { lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_117 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_117 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_118 = l_Lean_Parser_ParserState_mkErrorsAt(x_110, x_117, x_109); x_119 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__2; x_120 = l_Lean_Parser_ParserState_mkNode(x_118, x_119, x_106); @@ -15451,7 +15451,7 @@ else { lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_dec(x_113); -x_125 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_125 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_126 = l_Lean_Parser_ParserState_mkErrorsAt(x_110, x_125, x_109); x_127 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__2; x_128 = l_Lean_Parser_ParserState_mkNode(x_126, x_127, x_106); @@ -15464,7 +15464,7 @@ else { lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_dec(x_111); -x_130 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_130 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_131 = l_Lean_Parser_ParserState_mkErrorsAt(x_110, x_130, x_109); x_132 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__2; x_133 = l_Lean_Parser_ParserState_mkNode(x_131, x_132, x_106); @@ -15692,7 +15692,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_structExplicitBinder___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -15733,7 +15733,7 @@ lean_object* _init_l_Lean_Parser_Command_structExplicitBinder___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__1; x_2 = l_Lean_Parser_Command_structExplicitBinder___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -16426,7 +16426,7 @@ lean_object* _init_l_Lean_Parser_Command_structImplicitBinder___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___closed__1; +x_1 = l_Lean_Parser_Term_implicitBinder___closed__1; x_2 = l_Lean_Parser_Command_structImplicitBinder___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -24976,7 +24976,7 @@ lean_object* _init_l_Lean_Parser_Command_check___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_check___closed__1; @@ -25386,7 +25386,7 @@ lean_object* _init_l_Lean_Parser_Command_check__failure___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_check__failure___closed__1; @@ -25796,7 +25796,7 @@ lean_object* _init_l_Lean_Parser_Command_synth___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_synth___closed__1; @@ -29199,13 +29199,13 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_16 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_18, x_10); x_20 = l_Lean_Parser_Command_export___elambda__1___closed__2; x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_7); @@ -29224,7 +29224,7 @@ else { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_14); -x_24 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_24 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_24, x_10); x_26 = l_Lean_Parser_Command_export___elambda__1___closed__2; x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_7); @@ -29235,7 +29235,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_12); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_28, x_10); x_30 = l_Lean_Parser_Command_export___elambda__1___closed__2; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); @@ -29332,13 +29332,13 @@ lean_object* x_58; lean_object* x_59; uint8_t x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_59 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_60 = lean_string_dec_eq(x_58, x_59); lean_dec(x_58); if (x_60 == 0) { lean_object* x_61; lean_object* x_62; -x_61 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_61 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_61, x_53); x_35 = x_62; goto block_48; @@ -29354,7 +29354,7 @@ else { lean_object* x_63; lean_object* x_64; lean_dec(x_57); -x_63 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_63 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_63, x_53); x_35 = x_64; goto block_48; @@ -29364,7 +29364,7 @@ else { lean_object* x_65; lean_object* x_66; lean_dec(x_55); -x_65 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_65 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_66 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_65, x_53); x_35 = x_66; goto block_48; @@ -29521,13 +29521,13 @@ lean_object* x_104; lean_object* x_105; uint8_t x_106; x_104 = lean_ctor_get(x_103, 1); lean_inc(x_104); lean_dec(x_103); -x_105 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_105 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_106 = lean_string_dec_eq(x_104, x_105); lean_dec(x_104); if (x_106 == 0) { lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_107 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_107 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_108 = l_Lean_Parser_ParserState_mkErrorsAt(x_100, x_107, x_99); x_109 = l_Lean_Parser_Command_export___elambda__1___closed__2; x_110 = l_Lean_Parser_ParserState_mkNode(x_108, x_109, x_96); @@ -29550,7 +29550,7 @@ else { lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_dec(x_103); -x_115 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_115 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_116 = l_Lean_Parser_ParserState_mkErrorsAt(x_100, x_115, x_99); x_117 = l_Lean_Parser_Command_export___elambda__1___closed__2; x_118 = l_Lean_Parser_ParserState_mkNode(x_116, x_117, x_96); @@ -29563,7 +29563,7 @@ else { lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_dec(x_101); -x_120 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_120 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_121 = l_Lean_Parser_ParserState_mkErrorsAt(x_100, x_120, x_99); x_122 = l_Lean_Parser_Command_export___elambda__1___closed__2; x_123 = l_Lean_Parser_ParserState_mkNode(x_121, x_122, x_96); @@ -29666,13 +29666,13 @@ lean_object* x_153; lean_object* x_154; uint8_t x_155; x_153 = lean_ctor_get(x_152, 1); lean_inc(x_153); lean_dec(x_152); -x_154 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_154 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_155 = lean_string_dec_eq(x_153, x_154); lean_dec(x_153); if (x_155 == 0) { lean_object* x_156; lean_object* x_157; -x_156 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_156 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_157 = l_Lean_Parser_ParserState_mkErrorsAt(x_149, x_156, x_148); x_129 = x_157; goto block_143; @@ -29688,7 +29688,7 @@ else { lean_object* x_158; lean_object* x_159; lean_dec(x_152); -x_158 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_158 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_159 = l_Lean_Parser_ParserState_mkErrorsAt(x_149, x_158, x_148); x_129 = x_159; goto block_143; @@ -29698,7 +29698,7 @@ else { lean_object* x_160; lean_object* x_161; lean_dec(x_150); -x_160 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_160 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_161 = l_Lean_Parser_ParserState_mkErrorsAt(x_149, x_160, x_148); x_129 = x_161; goto block_143; @@ -29750,7 +29750,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_ident; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -29759,7 +29759,7 @@ lean_object* _init_l_Lean_Parser_Command_export___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__1; x_2 = l_Lean_Parser_Command_export___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -31802,13 +31802,13 @@ lean_object* x_64; lean_object* x_65; uint8_t x_66; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_65 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_66 = lean_string_dec_eq(x_64, x_65); lean_dec(x_64); if (x_66 == 0) { lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_67 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_67 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_68 = l_Lean_Parser_ParserState_mkErrorsAt(x_60, x_67, x_59); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -31843,7 +31843,7 @@ else { lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_dec(x_63); -x_75 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_75 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_76 = l_Lean_Parser_ParserState_mkErrorsAt(x_60, x_75, x_59); x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); @@ -31862,7 +31862,7 @@ else { lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_dec(x_61); -x_80 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_80 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_81 = l_Lean_Parser_ParserState_mkErrorsAt(x_60, x_80, x_59); x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); @@ -31919,13 +31919,13 @@ lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_17 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_18 = lean_string_dec_eq(x_16, x_17); lean_dec(x_16); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_19 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_20 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_19, x_11); x_21 = l_Lean_Parser_Command_openOnly___elambda__1___closed__2; x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_8); @@ -31944,7 +31944,7 @@ else { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_15); -x_25 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_25 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_25, x_11); x_27 = l_Lean_Parser_Command_openOnly___elambda__1___closed__2; x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_8); @@ -31955,7 +31955,7 @@ else { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_13); -x_29 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_29 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_29, x_11); x_31 = l_Lean_Parser_Command_openOnly___elambda__1___closed__2; x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_8); @@ -32127,13 +32127,13 @@ lean_object* x_162; lean_object* x_163; uint8_t x_164; x_162 = lean_ctor_get(x_161, 1); lean_inc(x_162); lean_dec(x_161); -x_163 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_163 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_164 = lean_string_dec_eq(x_162, x_163); lean_dec(x_162); if (x_164 == 0) { lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_165 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_165 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_166 = l_Lean_Parser_ParserState_mkErrorsAt(x_158, x_165, x_157); x_167 = lean_ctor_get(x_166, 0); lean_inc(x_167); @@ -32168,7 +32168,7 @@ else { lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_dec(x_161); -x_173 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_173 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_174 = l_Lean_Parser_ParserState_mkErrorsAt(x_158, x_173, x_157); x_175 = lean_ctor_get(x_174, 0); lean_inc(x_175); @@ -32187,7 +32187,7 @@ else { lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_dec(x_159); -x_178 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_178 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_179 = l_Lean_Parser_ParserState_mkErrorsAt(x_158, x_178, x_157); x_180 = lean_ctor_get(x_179, 0); lean_inc(x_180); @@ -32244,13 +32244,13 @@ lean_object* x_107; lean_object* x_108; uint8_t x_109; x_107 = lean_ctor_get(x_106, 1); lean_inc(x_107); lean_dec(x_106); -x_108 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_108 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_109 = lean_string_dec_eq(x_107, x_108); lean_dec(x_107); if (x_109 == 0) { lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_110 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_111 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_110, x_102); x_112 = l_Lean_Parser_Command_openOnly___elambda__1___closed__2; x_113 = l_Lean_Parser_ParserState_mkNode(x_111, x_112, x_99); @@ -32273,7 +32273,7 @@ else { lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_dec(x_106); -x_118 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_118 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_119 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_118, x_102); x_120 = l_Lean_Parser_Command_openOnly___elambda__1___closed__2; x_121 = l_Lean_Parser_ParserState_mkNode(x_119, x_120, x_99); @@ -32286,7 +32286,7 @@ else { lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_dec(x_104); -x_123 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_123 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_124 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_123, x_102); x_125 = l_Lean_Parser_Command_openOnly___elambda__1___closed__2; x_126 = l_Lean_Parser_ParserState_mkNode(x_124, x_125, x_99); @@ -32395,7 +32395,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_ident; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__1; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } diff --git a/stage0/stdlib/Init/Lean/Parser/Level.c b/stage0/stdlib/Init/Lean/Parser/Level.c index d15171c109..b3a16711ce 100644 --- a/stage0/stdlib/Init/Lean/Parser/Level.c +++ b/stage0/stdlib/Init/Lean/Parser/Level.c @@ -61,11 +61,13 @@ lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, le lean_object* l_Lean_Parser_Level_imax___closed__3; lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__6; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_max___closed__3; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__4; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__4; lean_object* l_Lean_Parser_Level_paren___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_regBuiltinLevelParserAttr___closed__3; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_ident___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Level_paren(lean_object*); @@ -75,7 +77,6 @@ extern lean_object* l_Lean_Nat_HasQuote___closed__1; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_addLit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); lean_object* l_Lean_Parser_Level_paren; lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__2; @@ -84,7 +85,6 @@ uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__4; lean_object* l_Lean_Parser_Level_max___closed__6; lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Level_imax; extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Parser_Level_hole; @@ -94,6 +94,7 @@ lean_object* l_Lean_Parser_levelParser(lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Level_max___elambda__1___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_num___elambda__1___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_Level_imax___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_ident___closed__1; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); @@ -101,15 +102,16 @@ lean_object* l_Lean_Parser_Level_addLit___closed__5; lean_object* l_Lean_Parser_Level_addLit___closed__3; lean_object* l_Lean_Parser_Level_imax___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_paren___closed__4; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__3; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Level_paren___closed__9; lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__6; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__2; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_ident___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; extern lean_object* l_Lean_Parser_appPrec; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__3; lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); @@ -127,7 +129,6 @@ lean_object* l_Lean_Parser_Level_max___closed__5; lean_object* l_Lean_Parser_Level_num___closed__3; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_ident___closed__4; @@ -144,7 +145,6 @@ lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_max___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Level_ident(lean_object*); lean_object* l_Lean_Parser_Level_addLit; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Level_max___elambda__1___closed__5; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__7; @@ -318,13 +318,13 @@ lean_object* x_46; lean_object* x_47; uint8_t x_48; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_47 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_48 = lean_string_dec_eq(x_46, x_47); lean_dec(x_46); if (x_48 == 0) { lean_object* x_49; lean_object* x_50; -x_49 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_49 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_50 = l_Lean_Parser_ParserState_mkErrorsAt(x_42, x_49, x_41); x_8 = x_50; goto block_40; @@ -340,7 +340,7 @@ else { lean_object* x_51; lean_object* x_52; lean_dec(x_45); -x_51 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_51 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_52 = l_Lean_Parser_ParserState_mkErrorsAt(x_42, x_51, x_41); x_8 = x_52; goto block_40; @@ -350,7 +350,7 @@ else { lean_object* x_53; lean_object* x_54; lean_dec(x_43); -x_53 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_53 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_42, x_53, x_41); x_8 = x_54; goto block_40; @@ -390,13 +390,13 @@ lean_object* x_19; lean_object* x_20; uint8_t x_21; x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); lean_dec(x_18); -x_20 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_20 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_21 = lean_string_dec_eq(x_19, x_20); lean_dec(x_19); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_22 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_23 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_22, x_14); x_24 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_7); @@ -415,7 +415,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_18); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_28, x_14); x_30 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); @@ -426,7 +426,7 @@ else { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_dec(x_16); -x_32 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_32 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_32, x_14); x_34 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_7); @@ -519,13 +519,13 @@ lean_object* x_109; lean_object* x_110; uint8_t x_111; x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); lean_dec(x_108); -x_110 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_110 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_111 = lean_string_dec_eq(x_109, x_110); lean_dec(x_109); if (x_111 == 0) { lean_object* x_112; lean_object* x_113; -x_112 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_112 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_57); x_113 = l_Lean_Parser_ParserState_mkErrorsAt(x_105, x_112, x_57); x_66 = x_113; @@ -541,7 +541,7 @@ else { lean_object* x_114; lean_object* x_115; lean_dec(x_108); -x_114 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_114 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_57); x_115 = l_Lean_Parser_ParserState_mkErrorsAt(x_105, x_114, x_57); x_66 = x_115; @@ -552,7 +552,7 @@ else { lean_object* x_116; lean_object* x_117; lean_dec(x_106); -x_116 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_116 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_57); x_117 = l_Lean_Parser_ParserState_mkErrorsAt(x_105, x_116, x_57); x_66 = x_117; @@ -593,13 +593,13 @@ lean_object* x_77; lean_object* x_78; uint8_t x_79; x_77 = lean_ctor_get(x_76, 1); lean_inc(x_77); lean_dec(x_76); -x_78 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_78 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_79 = lean_string_dec_eq(x_77, x_78); lean_dec(x_77); if (x_79 == 0) { lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_80 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_80 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_81 = l_Lean_Parser_ParserState_mkErrorsAt(x_73, x_80, x_72); x_82 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_83 = l_Lean_Parser_ParserState_mkNode(x_81, x_82, x_65); @@ -622,7 +622,7 @@ else { lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_dec(x_76); -x_88 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_88 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_89 = l_Lean_Parser_ParserState_mkErrorsAt(x_73, x_88, x_72); x_90 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_91 = l_Lean_Parser_ParserState_mkNode(x_89, x_90, x_65); @@ -635,7 +635,7 @@ else { lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_dec(x_74); -x_93 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_93 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_94 = l_Lean_Parser_ParserState_mkErrorsAt(x_73, x_93, x_72); x_95 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_96 = l_Lean_Parser_ParserState_mkNode(x_94, x_95, x_65); @@ -687,7 +687,7 @@ lean_object* _init_l_Lean_Parser_Level_paren___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_2 = l_Lean_Parser_Level_paren___closed__1; x_3 = l_Lean_Parser_symbolInfo(x_1, x_2); return x_3; @@ -710,7 +710,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_paren___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } diff --git a/stage0/stdlib/Init/Lean/Parser/Parser.c b/stage0/stdlib/Init/Lean/Parser/Parser.c index 77deda51d9..3c9ba044ca 100644 --- a/stage0/stdlib/Init/Lean/Parser/Parser.c +++ b/stage0/stdlib/Init/Lean/Parser/Parser.c @@ -15,13 +15,10 @@ extern "C" { #endif lean_object* l_Lean_Parser_declareBuiltinParser___closed__9; lean_object* l_Lean_Parser_nonReservedSymbol___boxed(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2___boxed(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Parser_identEq(lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_decimalNumberFn___spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1; lean_object* l_Lean_Syntax_foldArgs___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__1(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__2; @@ -30,9 +27,9 @@ lean_object* l_Lean_Parser_finishCommentBlock(lean_object*, lean_object*, lean_o lean_object* lean_string_push(lean_object*, uint32_t); extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Parser_charLit___closed__1; +lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenInfo___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolAux___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hashOrelse; lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__7___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkRBPGreater___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -41,19 +38,18 @@ lean_object* l_Lean_Parser_manyAux___main___closed__1; lean_object* l_Lean_Parser_numLit___elambda__1___closed__2; extern lean_object* l_Lean_fieldIdxKind; lean_object* l_PersistentHashMap_foldlM___at_Lean_Parser_getSyntaxNodeKinds___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_forArgsM___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__1; uint8_t l_RBNode_isRed___rarg(lean_object*); uint8_t l_Lean_Parser_checkTailWs(lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__1; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_hexNumberFn___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2; lean_object* l_Lean_Parser_identFn___closed__1; lean_object* l_Lean_Parser_try(lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_prattParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_Parser_isValidSyntaxNodeKind___spec__1(lean_object*, lean_object*); @@ -61,31 +57,29 @@ lean_object* l_Lean_Parser_leadingIdentAsSymbol___boxed(lean_object*, lean_objec lean_object* l_Lean_Syntax_foldSepRevArgs___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_octalNumberFn___spec__3(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserContext(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Lean_Parser_TokenConfig_toStr___closed__1; lean_object* l_Lean_Parser_InputContext_inhabited___closed__1; lean_object* l_PersistentHashMap_findAux___main___at_Lean_Parser_addLeadingParser___spec__2(lean_object*, size_t, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Parser_sepByInfo(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg(lean_object*); lean_object* l_Lean_Parser_ParserState_shrinkStack___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1___rarg___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(lean_object*); lean_object* l_Lean_Parser_decimalNumberFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepRevArgsM(lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Parser_mkParserExtension___closed__2; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_21__ParserExtension_addEntry(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot; lean_object* l_Lean_Parser_octalNumberFn___closed__1; lean_object* l_Lean_Parser_many1___boxed(lean_object*, lean_object*); @@ -129,15 +123,12 @@ lean_object* l_Lean_Parser_registerBuiltinParserAttribute___closed__1; lean_object* l_Lean_Parser_nameLitNoAntiquot; lean_object* l_Lean_Parser_parserExtension___elambda__1___boxed(lean_object*); lean_object* l_Lean_Syntax_foldSepArgs___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__2; lean_object* l_Lean_Parser_mkParserExtension___closed__4; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_decimalNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_Trie_matchPrefix___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_octalNumberFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_stackSize___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1(lean_object*); lean_object* l_Lean_Parser_getTokenTable___boxed(lean_object*); lean_object* l_Lean_Parser_octalNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_identFnAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); @@ -154,7 +145,6 @@ lean_object* l_Lean_Parser_addParser(lean_object*, lean_object*, lean_object*, u lean_object* l_Lean_Parser_PrattParsingTables_inhabited; lean_object* l_Lean_Parser_categoryParserFnRef; lean_object* l_Lean_Parser_pushNone; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__9; lean_object* l_Lean_Parser_InputContext_inhabited; lean_object* l_Lean_Parser_parserExtension___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_HasToString___closed__1; @@ -163,6 +153,7 @@ lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__6___ra size_t l_USize_sub(size_t, size_t); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Parser_regTermParserAttribute(lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1___closed__1; lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Parser_addLeadingParser___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_eraseReps___at_Lean_Parser_Error_toString___spec__4(lean_object*); @@ -174,17 +165,17 @@ lean_object* l_Lean_Parser_checkRBPGreater(lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension; lean_object* l_Lean_Parser_unquotedSymbolFn___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_17__mergePrecendences___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__2; lean_object* l_Lean_Parser_dollarSymbol___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2; lean_object* l_Lean_Parser_ident; lean_object* l_Lean_Parser_parserExtension___closed__2; uint8_t l_Lean_Parser_isLitKind(lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_whitespace___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_binNumberFn___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind___closed__1; +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_withAntiquotFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenConfig_HasBeq___closed__1; lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__2; @@ -192,7 +183,6 @@ lean_object* lean_io_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGe(lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); uint8_t l_Char_isDigit(uint32_t); -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserState(lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); @@ -203,11 +193,13 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___r lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_8__updateCache(lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1(lean_object*, lean_object*); lean_object* lean_io_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; extern uint32_t l_Lean_idEndEscape; lean_object* l_Lean_Parser_mkAntiquot___closed__9; +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8; lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5(lean_object*); lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object*); lean_object* l_List_map___main___at_Lean_Parser_addLeadingParser___spec__4(lean_object*); @@ -219,6 +211,8 @@ lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, l extern lean_object* l_Lean_Position_Inhabited___closed__1; lean_object* l_Lean_Parser_symbolNoWsFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbol___closed__2; lean_object* l_Lean_Parser_mkAntiquot___closed__4; @@ -235,6 +229,7 @@ lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__7(lean_object*); lean_object* l_Lean_Parser_dollarSymbol___closed__4; lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*); +lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_19__addTrailingParserAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_binNumberFn___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___elambda__1___closed__1; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); @@ -267,12 +262,12 @@ lean_object* l_Lean_Parser_initCacheForInput___boxed(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1(lean_object*); lean_object* l_Lean_Parser_symbolNoWs___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_isParserCategory___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__2; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Syntax_forSepArgsM(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__4; lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___closed__1; lean_object* l_Lean_Parser_checkStackTopFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepRevArgs___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -295,16 +290,12 @@ lean_object* l_Lean_Parser_strLit___closed__1; lean_object* l_Lean_Parser_unquotedSymbol___closed__2; extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_binNumberFn___spec__3___boxed(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_Parser_Error_toString___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Parser_mkParserExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryAntiquotParser(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1; lean_object* l_Lean_Parser_fieldIdx___closed__4; lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__2(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ident___closed__1; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___main(lean_object*, lean_object*, lean_object*); @@ -317,27 +308,27 @@ lean_object* l_Lean_Parser_mkAntiquot___closed__3; lean_object* l_Lean_Parser_addParserCategory(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_many1Fn(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__3; lean_object* l_Lean_Parser_rawIdent___closed__3; lean_object* l_Lean_Parser_symbolNoWsInfo___elambda__1(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__addParserCategoryCore(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional(lean_object*); +lean_object* l_Lean_Parser_antiquotExpr___closed__2; lean_object* l_Lean_Parser_parserExtension___closed__3; -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__2___boxed(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgs___spec__1(lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; +lean_object* l___private_Init_Lean_Parser_Parser_17__mergePrecendences(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_declareTrailingBuiltinParser___closed__1; lean_object* l_Lean_Parser_mkParserExtension___lambda__1(lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3; lean_object* l_Lean_Parser_parserExtension___closed__5; lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; lean_object* l_Lean_Parser_rawIdentFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_stringToParserCoe(lean_object*); @@ -346,6 +337,7 @@ lean_object* l_Lean_Parser_indexed(lean_object*); lean_object* l_Lean_Parser_setExpectedFn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkStackTopFn___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgs___spec__1(lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); extern lean_object* l_Lean_mkAttributeImplOfConstant___closed__1; @@ -356,15 +348,10 @@ lean_object* l_Lean_Parser_setCategoryParserFnRef(lean_object*); lean_object* l_Lean_Syntax_forArgsM(lean_object*); lean_object* l_Lean_Parser_throwUnknownParserCategory(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__15; -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__1; lean_object* l_Lean_Parser_decimalNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_PrattParsingTables_inhabited___closed__1; lean_object* l_Lean_Parser_compileParserDescr___main___closed__3; -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___closed__2; @@ -375,10 +362,10 @@ lean_object* l_Lean_Parser_initCacheForInput(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_9__pickNonNone___boxed(lean_object*); lean_object* l_Lean_Parser_symbolNoWsAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_identFnAux___main___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_mkAntiquot___closed__18; lean_object* l_Lean_Parser_addSyntaxNodeKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_termParser___closed__1; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1; extern lean_object* l_Lean_Parser_Trie_HasEmptyc___closed__1; lean_object* l_Lean_Parser_mkIdResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__1; @@ -394,8 +381,8 @@ lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__1(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identNoAntiquot___closed__1; lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotExpr___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkTokenAndFixPos___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__7; lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_whitespace___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__6; @@ -403,23 +390,27 @@ lean_object* l_Lean_Parser_mkTokenAndFixPos___boxed(lean_object*, lean_object*, lean_object* l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn(lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__9; lean_object* l_Lean_Parser_checkNoWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder(lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___elambda__2(lean_object*); lean_object* l_Lean_Parser_strLitFn___closed__1; lean_object* l_Lean_Parser_manyAux___main(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__8; lean_object* l_Lean_Parser_hasAndthen; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_rawCh___elambda__1___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ident___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_HasBeq___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__1; lean_object* l_Lean_Syntax_foldSepArgsM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_inhabited; lean_object* l_Lean_Parser_hasAndthen___closed__1; lean_object* l_Lean_Parser_mkBuiltinParserCategories(lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__6; +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_quotedSymbolFn___spec__2(uint32_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__3(lean_object*, lean_object*); @@ -439,19 +430,18 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_Parser_addLeadingParse lean_object* l_Lean_Parser_symbolNoWsInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_quotedSymbol; lean_object* l_Lean_Parser_numLitNoAntiquot___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepLatest(lean_object*, lean_object*); lean_object* l_Lean_Parser_dollarSymbol___elambda__1___closed__1; lean_object* l_Lean_Parser_declareBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__1; lean_object* l_Lean_Syntax_foldSepRevArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenMap_HasEmptyc(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBefore(lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind; @@ -475,23 +465,22 @@ lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_numLitNoAntiquot___closed__2; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__8; lean_object* l_Lean_Parser_fieldIdx___closed__3; +lean_object* l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__1; uint8_t l_Lean_Parser_Error_beq(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__26; lean_object* l_Lean_Parser_ParserState_keepNewError(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1; +lean_object* l_Lean_Parser_antiquotExpr; lean_object* l_Lean_Parser_regTermParserAttribute___closed__1; lean_object* l_Lean_Parser_symbol(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__mkTrailingResult(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__8; lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_octalNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_whitespace___main(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___closed__3; lean_object* l_Lean_Syntax_foldArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLitFn(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___closed__4; lean_object* l_Lean_Parser_identFnAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -499,8 +488,8 @@ uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind___closed__1; lean_object* l_Lean_Parser_checkRBPGreater___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optionaInfo(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__mkTrailingResult(lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_seq(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_peekToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__4; lean_object* l_Lean_Parser_anyOfFn___main___closed__1; @@ -508,10 +497,10 @@ lean_object* l_Lean_Parser_strLit___elambda__1___closed__2; lean_object* l_Lean_Parser_SyntaxNodeKindSet_insert(lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__1; lean_object* l_Lean_Parser_nodeWithAntiquot___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__4; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; lean_object* l___private_Init_Lean_Parser_Parser_1__expectedToString___main___closed__1; lean_object* l_Lean_Parser_binNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); @@ -529,8 +518,6 @@ uint8_t l_Lean_Parser_checkTailNoWs(lean_object*); lean_object* l_Lean_Parser_checkTailWs___boxed(lean_object*); lean_object* l_Lean_Parser_charLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_trailingLoopStep(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotExpr___elambda__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__mkResult(lean_object*, lean_object*); lean_object* l_Lean_Parser_charLitNoAntiquot___closed__2; lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -538,16 +525,18 @@ lean_object* l_Lean_Parser_addLeadingParser___boxed(lean_object*, lean_object*, lean_object* l_Lean_Parser_setExpectedFn(lean_object*); lean_object* l_Lean_Parser_strLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___lambda__2___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_11__mkResult(lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__12; lean_object* l_Lean_Parser_charLit___closed__3; lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__4; -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(lean_object*, uint8_t, lean_object*); size_t l_Lean_Name_hash(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(lean_object*); lean_object* l_Lean_Parser_addToken(lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__7; lean_object* l_Lean_Parser_nameLit___closed__1; +lean_object* l_Lean_Parser_antiquotExpr___closed__1; lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_Parser_Error_toString___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__5; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack(lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; @@ -556,6 +545,7 @@ lean_object* l_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef(lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkWsBefore(lean_object*); lean_object* l_Lean_Parser_checkNoWsBeforeFn(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_4__isToken___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_ParserState_setCache(lean_object*, lean_object*); @@ -563,16 +553,20 @@ lean_object* l_Lean_Parser_strAux___main(lean_object*, lean_object*, lean_object lean_object* l_Lean_Parser_mkAntiquot___closed__10; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_chFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkIdResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_decimalNumberFn___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_octalNumberFn___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseInfo(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Parser_nameLit___closed__2; lean_object* l_Lean_Parser_strLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_sepByFn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__2; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_chFn___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory(lean_object*, uint8_t, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; lean_object* l_Lean_Parser_rawCh___boxed(lean_object*, lean_object*); @@ -581,17 +575,20 @@ lean_object* l_IO_ofExcept___at_Lean_Parser_declareBuiltinParser___spec__1(lean_ lean_object* l_Lean_Parser_mkParserAttributeImpl___closed__1; lean_object* l_Lean_Parser_termParser___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; extern lean_object* l_List_repr___rarg___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; extern lean_object* l_Lean_charLitKind; extern lean_object* l_List_reprAux___main___rarg___closed__1; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_hexNumberFn___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenMap_Inhabited(lean_object*); +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1___rarg___boxed(lean_object*); +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_regTermParserAttribute___closed__2; lean_object* l_Lean_Parser_rawIdent; lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_FirstTokens_merge(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit___elambda__1___closed__1; lean_object* l_Lean_Parser_pushNone___elambda__1___rarg(lean_object*); @@ -611,6 +608,7 @@ lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_quotedSymbolFn___ lean_object* l_Lean_Parser_declareTrailingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_setCategoryParserFnRef___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_octalNumberFn___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Parser_mkParserExtension___spec__1(lean_object*, lean_object*); @@ -621,7 +619,6 @@ lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux___boxed(lean_object*, uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; extern lean_object* l_Lean_Environment_evalConstCheck___rarg___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__2(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__13; extern lean_object* l_Lean_Options_empty; @@ -639,13 +636,12 @@ lean_object* l_Lean_Parser_identFnAux(lean_object*, lean_object*, lean_object*, lean_object* l_Lean_Parser_identFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot___closed__3; lean_object* l_Lean_Parser_addParserCategory___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_charLitNoAntiquot___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qsortAux___main___at_Lean_Parser_Error_toString___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___closed__3; extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_inhabited___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkTailNoWs___boxed(lean_object*); lean_object* l_Lean_Parser_symbolNoWsAux___boxed(lean_object*, lean_object*); @@ -660,7 +656,9 @@ lean_object* l_Lean_Parser_mkEmptySubstringAt(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_binNumberFn___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFnAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__2; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Data_Trie_3__findAux___main___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__3; lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__3; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*); @@ -676,11 +674,12 @@ lean_object* l_Lean_Parser_sepByInfo___elambda__1(lean_object*, lean_object*, le uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Environment_contains___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinParserCategories___spec__1; lean_object* l_Lean_Parser_ParserState_restore___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_25__catNameToString(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__21; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolAux(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_23__catNameToString(lean_object*); lean_object* l_Lean_Parser_isValidSyntaxNodeKind___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_sepBy1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit___closed__3; lean_object* l_Lean_Parser_mkParserExtension(lean_object*); @@ -690,12 +689,12 @@ lean_object* l_Lean_Parser_sepByFn___boxed(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Parser_mkBuiltinTokenTable(lean_object*); lean_object* l_Lean_Parser_FirstTokens_toStr___closed__3; lean_object* l_Lean_Parser_manyAux(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__6; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3(lean_object*); lean_object* l_Lean_Parser_addTrailingParser(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__7; lean_object* l_Lean_Parser_pushNone___closed__1; lean_object* l_Lean_Parser_chFn(uint32_t, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotNestedExpr; lean_object* l_Lean_Parser_mkAtomicInfo___elambda__2___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__6; @@ -705,19 +704,21 @@ lean_object* l_Lean_Parser_rawIdent___closed__2; lean_object* l_Lean_Parser_addBuiltinLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__7; +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1(lean_object*); lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__1; lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_prattParser___closed__1; +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_rawIdentNoAntiquot___closed__2; lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Parser_parserExtension___elambda__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___elambda__1___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__1; lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkParserExtension___spec__3___closed__1; lean_object* l_Lean_Parser_mkAntiquot___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__2; lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnExtension___closed__1; @@ -725,8 +726,8 @@ lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1___boxed(lean_objec lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn___closed__1; lean_object* l_Lean_Parser_charLitFnAux___closed__1; +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWs(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig(lean_object*, lean_object*); lean_object* l_Lean_Parser_hexDigitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mergeErrors___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldSepBy(lean_object*); @@ -740,7 +741,6 @@ lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, uint8_t, uint8_t); lean_object* l_Lean_Parser_sepBy1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__3; uint8_t l_Array_anyRangeMAux___main___at_Lean_Parser_mkParserExtension___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_TokenConfig_beq___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__1(lean_object*, lean_object*); @@ -757,7 +757,6 @@ lean_object* l_Lean_Parser_nodeWithAntiquot(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Parser_mkParserExtension___closed__3; extern lean_object* l_Lean_identKind; lean_object* l_Lean_Parser_ParserState_mkErrorAt(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Parser_fieldIdxFn___closed__1; lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_HasToString; @@ -784,12 +783,12 @@ lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1(lea lean_object* l_Lean_Parser_Error_toString(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at___private_Init_Lean_Parser_Parser_9__pickNonNone___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkTrailingNode___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotExpr; lean_object* l_Lean_Parser_ParserState_keepNewError___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2; lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_object*, lean_object*, lean_object*); @@ -812,7 +811,8 @@ lean_object* l_Lean_Parser_Error_Inhabited; lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__2; +lean_object* l_Lean_Parser_antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_mkAntiquot___closed__22; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_object*); @@ -824,7 +824,6 @@ uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_numLitNoAntiquot; lean_object* l_Lean_Parser_Error_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__14; lean_object* l_Lean_Parser_FirstTokens_toStr___closed__1; lean_object* l_Lean_Parser_runParserCategory(lean_object*, lean_object*, lean_object*, lean_object*); @@ -833,6 +832,7 @@ lean_object* l_Lean_Parser_addLeadingParser(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Parser_setExpectedFn___boxed(lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_toExprAux___main(lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkRBPGreaterFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__5; @@ -843,6 +843,7 @@ lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_binNumberFn___spec__2(le lean_object* l_Lean_Parser_TokenConfig_toStr(lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___closed__1; lean_object* l_Lean_Parser_checkStackTop(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__3; lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_octalNumberFn___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; @@ -852,10 +853,9 @@ lean_object* l_Lean_Parser_anyOfFn___main(lean_object*, lean_object*, lean_objec lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1(lean_object*); lean_object* l_Lean_Parser_epsilonInfo___closed__3; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbol; +uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_hashOrelse___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_checkRBPGreaterFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*); lean_object* l_Lean_Parser_many1Indent(lean_object*, lean_object*); @@ -865,7 +865,6 @@ uint8_t l___private_Init_Lean_Parser_Parser_4__isToken(lean_object*, lean_object lean_object* l_Lean_Parser_mkParserState___boxed(lean_object*); lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn_u2081(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_symbolNoWsInfo___closed__1; lean_object* l_Lean_Parser_pushNone___elambda__1(lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); @@ -884,10 +883,11 @@ lean_object* l_Lean_Parser_dollarSymbol___elambda__1(lean_object*, lean_object*) lean_object* l_Lean_Parser_unicodeSymbolFn___closed__1; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_hexNumberFn___spec__2___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2; lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_setBlack___rarg(lean_object*); -uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__2(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__1; lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnRef___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_epsilonInfo___closed__2; @@ -898,7 +898,6 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea lean_object* l_Lean_Parser_rawCh___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numberFnAux___closed__1; lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1___boxed(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserCategory_inhabited___closed__1; @@ -907,17 +906,16 @@ uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhile1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__3; lean_object* l_Lean_Parser_identNoAntiquot___closed__3; lean_object* l_Lean_Parser_epsilonInfo___closed__1; lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__1; lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_FileMap_Inhabited___closed__1; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__1___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentFn___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux___closed__1; @@ -935,20 +933,20 @@ lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_Parser_checkWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitFn___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Parser_TokenMap_insert___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__4; uint8_t l_Lean_isIdFirst(uint32_t); lean_object* l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1___boxed(lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkLongestNodeAlt(lean_object*, lean_object*); lean_object* l_Lean_Parser_currLbp(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstant(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhile1Fn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_qsortAux___main___at_Lean_Parser_Error_toString___spec__2(lean_object*, lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; @@ -957,20 +955,17 @@ lean_object* l_Lean_Parser_symbolInfo___closed__1; lean_object* l_Lean_Syntax_forSepArgsM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_getStateUnsafe___rarg(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2(lean_object*); -lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_9__pickNonNone(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__6; +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___closed__1; lean_object* l_Lean_Parser_parserExtension___elambda__1(lean_object*); -lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkParserExtension___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds(lean_object*); lean_object* l_Lean_Parser_addBuiltinTrailingParser(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_fieldIdx___closed__7; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_optionaInfo___elambda__1(lean_object*, lean_object*); @@ -986,19 +981,21 @@ lean_object* l_Lean_Parser_ParserState_stackSize(lean_object*); lean_object* l_Lean_Parser_fieldIdx; lean_object* l_Lean_Parser_Parser_inhabited___closed__3; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_hexNumberFn___spec__3(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__1; lean_object* l_Lean_Parser_unicodeSymbolFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__1; lean_object* l_Lean_Parser_manyFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_next___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Parser_Parser_inhabited___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__6; +lean_object* l___private_Init_Lean_Parser_Parser_18__addTokenConfig(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__2___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info___elambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__2; lean_object* l_Lean_Parser_epsilonInfo___elambda__2(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_1__expectedToString(lean_object*); lean_object* l_Lean_Parser_orelse(lean_object*, lean_object*); @@ -1017,6 +1014,7 @@ lean_object* l_Lean_Parser_dollarSymbol___elambda__1___closed__3; lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); lean_object* l_Lean_Parser_node(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined(lean_object*); lean_object* l_Lean_Parser_stringToParserCoe___boxed(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__8; @@ -1024,10 +1022,8 @@ uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___closed__5; lean_object* l_Lean_Parser_unicodeSymbolInfo(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined(lean_object*); lean_object* l_Lean_Parser_identNoAntiquot; lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__8; lean_object* l_Lean_Parser_mkCategoryParserFnRef(lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1036,17 +1032,19 @@ lean_object* l_List_beq___main___at_Lean_Parser_Error_toString___spec__1___boxed lean_object* l_Lean_Parser_mkCategoryParserFnRef___closed__1; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__2(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +lean_object* l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__2; lean_object* l_Lean_Parser_mkTokenAndFixPos(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_FirstTokens_toOptional(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_currLbp___closed__1; lean_object* l_Lean_Parser_checkWsBefore___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerAttributeImplBuilder(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*); uint8_t l_UInt32_decLe(uint32_t, uint32_t); -lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__3___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens___closed__1; lean_object* l_Lean_Parser_getSyntaxNodeKinds___boxed(lean_object*); uint8_t l_Lean_Parser_ParserState_hasError(lean_object*); lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1054,13 +1052,12 @@ lean_object* l_Lean_Parser_hexDigitFn___closed__1; lean_object* l_Lean_Parser_mkAtom(lean_object*, lean_object*); lean_object* l_Lean_Parser_currLbp___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_19__addTrailingParserAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ident___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_10__noImmediateColon___elambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_indexed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__4; -lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_identFnAux___main___spec__1(lean_object*, lean_object*); @@ -1070,28 +1067,31 @@ lean_object* l_Lean_Parser_mkAntiquot___closed__25; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserFn_inhabited___rarg___boxed(lean_object*); extern lean_object* l_String_Inhabited; +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(lean_object*); uint8_t l___private_Init_Lean_Parser_Parser_5__isIdFirstOrBeginEscape(uint32_t); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__3; lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__4(lean_object*); lean_object* l_List_toStringAux___main___at_Lean_Parser_FirstTokens_toStr___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected___elambda__1(lean_object*); +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__5; lean_object* l___private_Init_Lean_Data_Trie_2__insertAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___closed__3; lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_identFnAux___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgs___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_replaceLongest___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__1; -uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__2; lean_object* l___private_Init_Lean_Parser_Parser_10__noImmediateColon___elambda__1___closed__1; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Parser_addLeadingParser___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1103,18 +1103,16 @@ lean_object* l_Lean_Syntax_getTailInfo___main(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2; extern lean_object* l_Lean_initAttr; lean_object* l_Lean_Parser_identFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_decimalNumberFn___spec__2___boxed(lean_object*, lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__3(lean_object*); lean_object* l_Lean_Parser_TokenConfig_HasBeq; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_antiquotExpr___closed__3; lean_object* l_Lean_Parser_charLitNoAntiquot; lean_object* l_Lean_Parser_strLitFnAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkErrorStringWithPos(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; lean_object* l_PersistentHashMap_insert___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l___private_Init_Lean_Parser_Parser_10__noImmediateColon; @@ -1123,32 +1121,34 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___boxed(le lean_object* l_Lean_Parser_nameLit___elambda__1___closed__2; lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_16__ParserExtension_mkInitial(lean_object*); lean_object* l_Lean_Parser_sepBy1Info___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit; lean_object* l_Lean_Parser_many1(lean_object*, uint8_t); lean_object* l_Lean_Parser_mkAtomicInfo___closed__2; lean_object* l_Lean_Parser_sepBy___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_identNoAntiquot___closed__2; lean_object* l_Lean_Parser_strLit___closed__2; +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; lean_object* l_Lean_Parser_nonReservedSymbolInfo___boxed(lean_object*, lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mergeErrors(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isIdRest(uint32_t); lean_object* l_Lean_Parser_numberFnAux___boxed(lean_object*, lean_object*); uint8_t lean_string_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__3(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3; lean_object* l_Lean_Parser_fieldIdxFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr___main___closed__5; lean_object* l_Lean_Parser_mkIdent(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind___closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_isLitKind___boxed(lean_object*); lean_object* l_IO_ofExcept___at_Lean_Parser_declareBuiltinParser___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_registerParserCategory___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__5; lean_object* l_Lean_Parser_mkAntiquot___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_10__noImmediateColon___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -25576,7 +25576,7 @@ lean_dec(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__1() { _start: { lean_object* x_1; @@ -25584,17 +25584,17 @@ x_1 = lean_mk_string("antiquotNestedExpr"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__1; +x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -25603,7 +25603,7 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -25612,71 +25612,71 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__5() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__6() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__5; +x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__5; x_2 = l_Char_HasRepr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__6; +x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__8() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__9() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__8; +x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8; x_2 = l_Char_HasRepr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__9; +x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_38; lean_object* x_39; lean_object* x_40; @@ -25703,13 +25703,13 @@ lean_object* x_43; lean_object* x_44; uint8_t x_45; x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); lean_dec(x_42); -x_44 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_44 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_45 = lean_string_dec_eq(x_43, x_44); lean_dec(x_43); if (x_45 == 0) { lean_object* x_46; lean_object* x_47; -x_46 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_46 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_39, x_46, x_38); x_5 = x_47; goto block_37; @@ -25725,7 +25725,7 @@ else { lean_object* x_48; lean_object* x_49; lean_dec(x_42); -x_48 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_48 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_39, x_48, x_38); x_5 = x_49; goto block_37; @@ -25735,7 +25735,7 @@ else { lean_object* x_50; lean_object* x_51; lean_dec(x_40); -x_50 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_50 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_51 = l_Lean_Parser_ParserState_mkErrorsAt(x_39, x_50, x_38); x_5 = x_51; goto block_37; @@ -25775,15 +25775,15 @@ lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_17 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_18 = lean_string_dec_eq(x_16, x_17); lean_dec(x_16); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_19 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_20 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_19, x_11); -x_21 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; +x_21 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_4); return x_22; } @@ -25791,7 +25791,7 @@ else { lean_object* x_23; lean_object* x_24; lean_dec(x_11); -x_23 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; +x_23 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; x_24 = l_Lean_Parser_ParserState_mkNode(x_12, x_23, x_4); return x_24; } @@ -25800,9 +25800,9 @@ else { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_15); -x_25 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_25 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_25, x_11); -x_27 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; +x_27 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_4); return x_28; } @@ -25811,9 +25811,9 @@ else { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_13); -x_29 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_29 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_29, x_11); -x_31 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; +x_31 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_4); return x_32; } @@ -25823,7 +25823,7 @@ else lean_object* x_33; lean_object* x_34; lean_dec(x_10); lean_dec(x_1); -x_33 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; +x_33 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; x_34 = l_Lean_Parser_ParserState_mkNode(x_9, x_33, x_4); return x_34; } @@ -25833,24 +25833,24 @@ else lean_object* x_35; lean_object* x_36; lean_dec(x_6); lean_dec(x_1); -x_35 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; +x_35 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; x_36 = l_Lean_Parser_ParserState_mkNode(x_5, x_35, x_4); return x_36; } } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -25860,77 +25860,77 @@ x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__5() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__1; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__4; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__6() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__5; +x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__5; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__7() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_antiquotNestedExpr___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__8() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__6; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__7; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__6; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr() { +lean_object* _init_l_Lean_Parser_antiquotNestedExpr() { _start: { lean_object* x_1; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__8; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__8; return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotExpr___elambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Parser_antiquotExpr___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -25975,7 +25975,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_inc(x_5); x_11 = l_Lean_Parser_ParserState_restore(x_6, x_4, x_5); lean_dec(x_4); -x_12 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1(x_1, x_11); +x_12 = l_Lean_Parser_antiquotNestedExpr___elambda__1(x_1, x_11); x_13 = l_Lean_Parser_mergeOrElseErrors(x_12, x_8, x_5); lean_dec(x_5); return x_13; @@ -25983,11 +25983,11 @@ return x_13; } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__1() { +lean_object* _init_l_Lean_Parser_antiquotExpr___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr; +x_1 = l_Lean_Parser_antiquotNestedExpr; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_identNoAntiquot___closed__1; @@ -25995,31 +25995,31 @@ x_4 = l_Lean_Parser_orelseInfo(x_3, x_2); return x_4; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2() { +lean_object* _init_l_Lean_Parser_antiquotExpr___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__antiquotExpr___elambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_antiquotExpr___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__3() { +lean_object* _init_l_Lean_Parser_antiquotExpr___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2; +x_1 = l_Lean_Parser_antiquotExpr___closed__1; +x_2 = l_Lean_Parser_antiquotExpr___closed__2; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr() { +lean_object* _init_l_Lean_Parser_antiquotExpr() { _start: { lean_object* x_1; -x_1 = l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__3; +x_1 = l_Lean_Parser_antiquotExpr___closed__3; return x_1; } } @@ -26340,7 +26340,7 @@ lean_closure_set(x_19, 1, x_15); x_20 = l_Lean_Parser_dollarSymbol; x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -x_22 = l___private_Init_Lean_Parser_Parser_12__antiquotExpr; +x_22 = l_Lean_Parser_antiquotExpr; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = l_Lean_Parser_mkAntiquot___closed__7; @@ -26378,7 +26378,7 @@ x_32 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_32, 0, x_19); lean_closure_set(x_32, 1, x_31); x_33 = l_Lean_Parser_andthenInfo(x_23, x_30); -x_34 = l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2; +x_34 = l_Lean_Parser_antiquotExpr___closed__2; x_35 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_35, 0, x_34); lean_closure_set(x_35, 1, x_32); @@ -26425,7 +26425,7 @@ x_56 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_56, 0, x_52); lean_closure_set(x_56, 1, x_55); x_57 = l_Lean_Parser_andthenInfo(x_23, x_54); -x_58 = l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2; +x_58 = l_Lean_Parser_antiquotExpr___closed__2; x_59 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_59, 0, x_58); lean_closure_set(x_59, 1, x_56); @@ -27662,7 +27662,7 @@ lean_dec(x_1); return x_5; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__mkResult(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_11__mkResult(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -27717,7 +27717,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_dec(x_1); x_15 = l_Lean_Parser_longestMatchFn(x_13, x_4, x_10); -x_16 = l___private_Init_Lean_Parser_Parser_13__mkResult(x_15, x_7); +x_16 = l___private_Init_Lean_Parser_Parser_11__mkResult(x_15, x_7); return x_16; } else @@ -27882,11 +27882,11 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Parser_Parser_14__mkTrailingResult(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_12__mkTrailingResult(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_3 = l___private_Init_Lean_Parser_Parser_13__mkResult(x_1, x_2); +x_3 = l___private_Init_Lean_Parser_Parser_11__mkResult(x_1, x_2); x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1(x_4); @@ -27948,7 +27948,7 @@ lean_inc(x_20); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; -x_21 = l___private_Init_Lean_Parser_Parser_14__mkTrailingResult(x_19, x_12); +x_21 = l___private_Init_Lean_Parser_Parser_12__mkTrailingResult(x_19, x_12); x_3 = x_21; goto _start; } @@ -27979,7 +27979,7 @@ lean_inc(x_26); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; -x_27 = l___private_Init_Lean_Parser_Parser_14__mkTrailingResult(x_25, x_12); +x_27 = l___private_Init_Lean_Parser_Parser_12__mkTrailingResult(x_25, x_12); x_3 = x_27; goto _start; } @@ -28214,7 +28214,7 @@ x_3 = lean_io_mk_ref(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__1() { _start: { lean_object* x_1; @@ -28222,7 +28222,7 @@ x_1 = lean_mk_string("parser category '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__2() { _start: { lean_object* x_1; @@ -28230,31 +28230,31 @@ x_1 = lean_mk_string("' has already been defined"); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_2 = l_Lean_Name_toString___closed__1; x_3 = l_Lean_Name_toStringWithSep___main(x_2, x_1); -x_4 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1; +x_4 = l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__1; x_5 = lean_string_append(x_4, x_3); lean_dec(x_3); -x_6 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_6 = l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__2; x_7 = lean_string_append(x_5, x_6); x_8 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg), 1, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg), 1, 0); return x_2; } } -uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { +uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28314,7 +28314,7 @@ return x_19; } } } -uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; size_t x_4; uint8_t x_5; @@ -28322,11 +28322,11 @@ x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); lean_dec(x_1); x_4 = l_Lean_Name_hash(x_2); -x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(x_3, x_4, x_2); +x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__2(x_3, x_4, x_2); return x_5; } } -lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -28418,7 +28418,7 @@ return x_29; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__6(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -28441,7 +28441,7 @@ x_13 = x_1 - x_12; x_14 = 5; x_15 = x_14 * x_13; x_16 = x_11 >> x_15; -x_17 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_6, x_16, x_1, x_9, x_10); +x_17 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(x_6, x_16, x_1, x_9, x_10); x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_add(x_5, x_18); lean_dec(x_5); @@ -28451,7 +28451,7 @@ goto _start; } } } -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28564,7 +28564,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_3 x_35 = lean_ctor_get(x_15, 0); x_36 = x_2 >> x_9; x_37 = x_3 + x_8; -x_38 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_35, x_36, x_37, x_4, x_5); +x_38 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_39 = lean_array_fset(x_17, x_12, x_15); lean_dec(x_12); @@ -28579,7 +28579,7 @@ lean_inc(x_40); lean_dec(x_15); x_41 = x_2 >> x_9; x_42 = x_3 + x_8; -x_43 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_40, x_41, x_42, x_4, x_5); +x_43 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(x_40, x_41, x_42, x_4, x_5); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_45 = lean_array_fset(x_17, x_12, x_44); @@ -28695,7 +28695,7 @@ if (lean_is_exclusive(x_57)) { } x_73 = x_2 >> x_50; x_74 = x_3 + x_49; -x_75 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_71, x_73, x_74, x_4, x_5); +x_75 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(x_71, x_73, x_74, x_4, x_5); if (lean_is_scalar(x_72)) { x_76 = lean_alloc_ctor(1, 1, 0); } else { @@ -28728,7 +28728,7 @@ else { lean_object* x_82; lean_object* x_83; size_t x_84; uint8_t x_85; x_82 = lean_unsigned_to_nat(0u); -x_83 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(x_1, x_82, x_4, x_5); +x_83 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__5(x_1, x_82, x_4, x_5); x_84 = 7; x_85 = x_84 <= x_3; if (x_85 == 0) @@ -28747,7 +28747,7 @@ x_90 = lean_ctor_get(x_83, 1); lean_inc(x_90); lean_dec(x_83); x_91 = l_PersistentHashMap_insertAux___main___rarg___closed__3; -x_92 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(x_3, x_89, x_90, x_89, x_82, x_91); +x_92 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__6(x_3, x_89, x_90, x_89, x_82, x_91); lean_dec(x_90); lean_dec(x_89); return x_92; @@ -28764,7 +28764,7 @@ return x_83; } } } -lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -28776,7 +28776,7 @@ x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 1); x_7 = l_Lean_Name_hash(x_2); x_8 = 1; -x_9 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_5, x_7, x_8, x_2, x_3); +x_9 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(x_5, x_7, x_8, x_2, x_3); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_6, x_10); lean_dec(x_6); @@ -28794,7 +28794,7 @@ lean_inc(x_12); lean_dec(x_1); x_14 = l_Lean_Name_hash(x_2); x_15 = 1; -x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_12, x_14, x_15, x_2, x_3); +x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(x_12, x_14, x_15, x_2, x_3); x_17 = lean_unsigned_to_nat(1u); x_18 = lean_nat_add(x_13, x_17); lean_dec(x_13); @@ -28805,16 +28805,16 @@ return x_19; } } } -lean_object* l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_14__addParserCategoryCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_inc(x_1); -x_4 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_1, x_2); +x_4 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1(x_1, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_3); +x_5 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_3); x_6 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_6, 0, x_5); return x_6; @@ -28824,47 +28824,47 @@ else lean_object* x_7; lean_dec(x_3); lean_dec(x_1); -x_7 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(x_2); +x_7 = l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg(x_2); return x_7; } } } -lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; uint8_t x_5; lean_object* x_6; x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(x_1, x_4, x_3); +x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__2(x_1, x_4, x_3); lean_dec(x_3); x_6 = lean_box(x_5); return x_6; } } -lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_1, x_2); +x_3 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { size_t x_7; lean_object* x_8; x_7 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__6(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_8; } } -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -28872,11 +28872,11 @@ x_6 = lean_unbox_usize(x_2); lean_dec(x_2); x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_1, x_6, x_7, x_4, x_5); +x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__4(x_1, x_6, x_7, x_4, x_5); return x_8; } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28903,7 +28903,7 @@ return x_7; } } } -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -28921,8 +28921,8 @@ x_8 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_9 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_9, 0, x_8); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_2); -x_10 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_6, x_1, x_9); -x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_10, x_7); +x_10 = l___private_Init_Lean_Parser_Parser_14__addParserCategoryCore(x_6, x_1, x_9); +x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1(x_10, x_7); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -28983,22 +28983,22 @@ return x_22; } } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_1, x_2); +x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(x_1, x_4, x_3); +x_5 = l___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory(x_1, x_4, x_3); return x_5; } } @@ -29026,7 +29026,7 @@ x_1 = l_Lean_Parser_ParserExtensionState_inhabited___closed__1; return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_16__ParserExtension_mkInitial(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -29162,7 +29162,7 @@ return x_32; } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__1() { _start: { lean_object* x_1; @@ -29170,7 +29170,7 @@ x_1 = lean_mk_string("precedence mismatch for '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__2() { _start: { lean_object* x_1; @@ -29178,7 +29178,7 @@ x_1 = lean_mk_string("', previous: "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__3() { _start: { lean_object* x_1; @@ -29186,7 +29186,7 @@ x_1 = lean_mk_string(", new: "); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_17__mergePrecendences(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -29220,15 +29220,15 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_3); -x_10 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1; +x_10 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__1; x_11 = lean_string_append(x_1, x_10); x_12 = lean_string_append(x_11, x_2); -x_13 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2; +x_13 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__2; x_14 = lean_string_append(x_12, x_13); x_15 = l_Nat_repr(x_7); x_16 = lean_string_append(x_14, x_15); lean_dec(x_15); -x_17 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3; +x_17 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__3; x_18 = lean_string_append(x_16, x_17); x_19 = l_Nat_repr(x_8); x_20 = lean_string_append(x_18, x_19); @@ -29251,16 +29251,16 @@ return x_22; } } } -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_17__mergePrecendences___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__1() { _start: { lean_object* x_1; @@ -29268,7 +29268,7 @@ x_1 = lean_mk_string("(no whitespace) "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__2() { _start: { lean_object* x_1; @@ -29276,17 +29276,17 @@ x_1 = lean_mk_string("invalid empty symbol"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_18__addTokenConfig(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -29333,7 +29333,7 @@ lean_inc(x_16); lean_dec(x_9); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); -x_18 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_6, x_3, x_17, x_4); +x_18 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences(x_6, x_3, x_17, x_4); if (lean_obj_tag(x_18) == 0) { uint8_t x_19; @@ -29367,8 +29367,8 @@ lean_dec(x_18); x_23 = lean_ctor_get(x_16, 2); lean_inc(x_23); lean_dec(x_16); -x_24 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; -x_25 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_24, x_3, x_23, x_5); +x_24 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__1; +x_25 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences(x_24, x_3, x_23, x_5); if (lean_obj_tag(x_25) == 0) { uint8_t x_26; @@ -29435,7 +29435,7 @@ lean_inc(x_35); lean_dec(x_9); x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -x_37 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_6, x_3, x_36, x_4); +x_37 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences(x_6, x_3, x_36, x_4); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; @@ -29469,8 +29469,8 @@ lean_dec(x_37); x_42 = lean_ctor_get(x_35, 2); lean_inc(x_42); lean_dec(x_35); -x_43 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; -x_44 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_43, x_3, x_42, x_5); +x_43 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__1; +x_44 = l___private_Init_Lean_Parser_Parser_17__mergePrecendences(x_43, x_3, x_42, x_5); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; @@ -29533,7 +29533,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_53 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3; +x_53 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__3; return x_53; } } @@ -29952,7 +29952,7 @@ x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_12); lean_ctor_set(x_10, 1, x_13); -x_14 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_14 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_14); return x_15; @@ -29978,7 +29978,7 @@ lean_ctor_set(x_21, 1, x_20); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_19); lean_ctor_set(x_7, 0, x_21); -x_22 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_22 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_23 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_23, 0, x_22); return x_23; @@ -30024,7 +30024,7 @@ lean_ctor_set(x_32, 3, x_29); x_33 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_33, 0, x_32); lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_25); -x_34 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_33); +x_34 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_33); x_35 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_35, 0, x_34); return x_35; @@ -30042,7 +30042,7 @@ x_40 = lean_ctor_get(x_7, 0); x_41 = l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(x_38); x_42 = l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__7(x_4, x_40, x_41); lean_ctor_set(x_7, 0, x_42); -x_43 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_43 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); return x_44; @@ -30059,7 +30059,7 @@ x_48 = l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__7(x_4, x_45 x_49 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_49, 0, x_48); lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_46); -x_50 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_49); +x_50 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_49); x_51 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_51, 0, x_50); return x_51; @@ -30108,7 +30108,7 @@ lean_dec(x_3); return x_5; } } -lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_19__addTrailingParserAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -30161,7 +30161,7 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_19__addTrailingParserAux(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_14; lean_object* x_19; lean_object* x_20; @@ -30241,7 +30241,7 @@ block_18: lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_List_map___main___at_Lean_Parser_addLeadingParser___spec__4(x_14); x_16 = l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(x_15); -x_17 = l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(x_2, x_1, x_16); +x_17 = l_List_foldl___main___at___private_Init_Lean_Parser_Parser_19__addTrailingParserAux___spec__1(x_2, x_1, x_16); return x_17; } } @@ -30271,9 +30271,9 @@ if (x_7 == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_6, 0); -x_9 = l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(x_8, x_3); +x_9 = l___private_Init_Lean_Parser_Parser_19__addTrailingParserAux(x_8, x_3); lean_ctor_set(x_6, 0, x_9); -x_10 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_6); +x_10 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_6); x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_10); return x_11; @@ -30285,11 +30285,11 @@ x_12 = lean_ctor_get(x_6, 0); x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); lean_inc(x_12); lean_dec(x_6); -x_14 = l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(x_12, x_3); +x_14 = l___private_Init_Lean_Parser_Parser_19__addTrailingParserAux(x_12, x_3); x_15 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_15, 0, x_14); lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_13); -x_16 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_15); +x_16 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_1, x_2, x_15); x_17 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_17, 0, x_16); return x_17; @@ -30343,7 +30343,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_1, x_4); +x_6 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig(x_1, x_4); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -30390,7 +30390,7 @@ x_6 = l_List_foldlM___main___at_Lean_Parser_addParserTokens___spec__1(x_1, x_5); return x_6; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens___closed__1() { _start: { lean_object* x_1; @@ -30398,7 +30398,7 @@ x_1 = lean_mk_string("invalid builtin parser '"); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -30423,7 +30423,7 @@ lean_inc(x_11); lean_dec(x_10); x_12 = l_Lean_Name_toString___closed__1; x_13 = l_Lean_Name_toStringWithSep___main(x_12, x_2); -x_14 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; +x_14 = l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens___closed__1; x_15 = lean_string_append(x_14, x_13); lean_dec(x_13); x_16 = l_Lean_registerTagAttribute___lambda__4___closed__4; @@ -30465,7 +30465,7 @@ lean_inc(x_25); lean_dec(x_24); x_26 = l_Lean_Name_toString___closed__1; x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_2); -x_28 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; +x_28 = l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); x_30 = l_Lean_registerTagAttribute___lambda__4___closed__4; @@ -30533,7 +30533,7 @@ lean_inc(x_9); lean_dec(x_7); lean_inc(x_4); x_10 = l_Lean_Parser_addParser(x_8, x_1, x_2, x_3, x_4); -x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_10, x_9); +x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1(x_10, x_9); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -30580,7 +30580,7 @@ lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(x_14, x_2, x_26); +x_27 = l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens(x_14, x_2, x_26); return x_27; } else @@ -30766,7 +30766,7 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_1, x_2, x_5, x_3, x_4); return x_6; } } -lean_object* l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_21__ParserExtension_addEntry(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_2)) { @@ -30785,7 +30785,7 @@ x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get(x_1, 2); x_8 = lean_ctor_get(x_1, 3); lean_inc(x_3); -x_9 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_5, x_3); +x_9 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig(x_5, x_3); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -30828,7 +30828,7 @@ lean_inc(x_16); lean_inc(x_15); lean_dec(x_1); lean_inc(x_3); -x_19 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_15, x_3); +x_19 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig(x_15, x_3); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; @@ -30929,7 +30929,7 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_1, 3); lean_inc(x_48); lean_inc(x_47); -x_49 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_47, x_43); +x_49 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1(x_47, x_43); if (x_49 == 0) { uint8_t x_50; @@ -30950,7 +30950,7 @@ x_56 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_56, 0, x_55); lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_44); lean_inc(x_43); -x_57 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_47, x_43, x_56); +x_57 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_47, x_43, x_56); x_58 = lean_alloc_ctor(2, 1, 1); lean_ctor_set(x_58, 0, x_43); lean_ctor_set_uint8(x_58, sizeof(void*)*1, x_44); @@ -30970,7 +30970,7 @@ x_61 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_61, 0, x_60); lean_ctor_set_uint8(x_61, sizeof(void*)*1, x_44); lean_inc(x_43); -x_62 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_47, x_43, x_61); +x_62 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__3(x_47, x_43, x_61); x_63 = lean_alloc_ctor(2, 1, 1); lean_ctor_set(x_63, 0, x_43); lean_ctor_set_uint8(x_63, sizeof(void*)*1, x_44); @@ -32924,7 +32924,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -32951,7 +32951,7 @@ return x_7; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -32990,8 +32990,8 @@ x_15 = lean_ctor_get(x_5, 0); x_16 = lean_ctor_get(x_5, 1); x_17 = lean_ctor_get(x_5, 2); x_18 = lean_ctor_get(x_5, 3); -x_19 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_15, x_13); -x_20 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_19, x_6); +x_19 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig(x_15, x_13); +x_20 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__1(x_19, x_6); lean_dec(x_19); if (lean_obj_tag(x_20) == 0) { @@ -33047,8 +33047,8 @@ lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_dec(x_5); -x_32 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_28, x_13); -x_33 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_32, x_6); +x_32 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig(x_28, x_13); +x_33 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__1(x_32, x_6); lean_dec(x_32); if (lean_obj_tag(x_33) == 0) { @@ -33159,8 +33159,8 @@ x_63 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_64 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_64, 0, x_63); lean_ctor_set_uint8(x_64, sizeof(void*)*1, x_57); -x_65 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_61, x_56, x_64); -x_66 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_65, x_6); +x_65 = l___private_Init_Lean_Parser_Parser_14__addParserCategoryCore(x_61, x_56, x_64); +x_66 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1(x_65, x_6); lean_dec(x_65); if (lean_obj_tag(x_66) == 0) { @@ -33220,8 +33220,8 @@ x_78 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_79 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_79, 0, x_78); lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_57); -x_80 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_76, x_56, x_79); -x_81 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_80, x_6); +x_80 = l___private_Init_Lean_Parser_Parser_14__addParserCategoryCore(x_76, x_56, x_79); +x_81 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory___spec__1(x_80, x_6); lean_dec(x_80); if (lean_obj_tag(x_81) == 0) { @@ -33452,7 +33452,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -33478,7 +33478,7 @@ x_12 = lean_nat_add(x_4, x_11); lean_dec(x_4); x_13 = lean_unsigned_to_nat(0u); lean_inc(x_1); -x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(x_1, x_10, x_10, x_13, x_5, x_6); +x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__2(x_1, x_10, x_10, x_13, x_5, x_6); lean_dec(x_10); if (lean_obj_tag(x_14) == 0) { @@ -33520,11 +33520,11 @@ return x_21; } } } -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(x_3); +x_4 = l___private_Init_Lean_Parser_Parser_16__ParserExtension_mkInitial(x_3); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -33534,7 +33534,7 @@ x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(x_1, x_2, x_2, x_7, x_5, x_6); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__3(x_1, x_2, x_2, x_7, x_5, x_6); return x_8; } else @@ -33562,40 +33562,40 @@ return x_12; } } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_1, x_2); +x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_7; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_7; } } -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -34406,7 +34406,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_16__ParserExtension_mkInitial), 1, 0); return x_1; } } @@ -34414,7 +34414,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_22__ParserExtension_addImported___boxed), 3, 0); return x_1; } } @@ -34422,7 +34422,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_21__ParserExtension_addEntry), 2, 0); return x_1; } } @@ -34648,7 +34648,7 @@ x_4 = l_Lean_PersistentEnvExtension_getState___rarg(x_3, x_1); x_5 = lean_ctor_get(x_4, 2); lean_inc(x_5); lean_dec(x_4); -x_6 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_5, x_2); +x_6 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_14__addParserCategoryCore___spec__1(x_5, x_2); return x_6; } } @@ -34684,7 +34684,7 @@ else { lean_object* x_9; lean_dec(x_1); -x_9 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(x_2); +x_9 = l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg(x_2); return x_9; } } @@ -34738,7 +34738,7 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Init_Lean_Parser_Parser_25__catNameToString(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_23__catNameToString(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 1) @@ -34775,18 +34775,17 @@ return x_7; lean_object* l_Lean_Parser_mkCategoryAntiquotParser(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_4 = l_Lean_Parser_termParser___closed__2; -x_5 = lean_name_eq(x_1, x_4); -x_6 = l___private_Init_Lean_Parser_Parser_25__catNameToString(x_1); -x_7 = lean_box(0); -x_8 = l_Lean_Parser_mkAntiquot(x_6, x_7, x_5); -lean_dec(x_6); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_apply_2(x_9, x_2, x_3); -return x_10; +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = l___private_Init_Lean_Parser_Parser_23__catNameToString(x_1); +x_5 = lean_box(0); +x_6 = 1; +x_7 = l_Lean_Parser_mkAntiquot(x_4, x_5, x_6); +lean_dec(x_4); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, x_2, x_3); +return x_9; } } lean_object* l_Lean_Parser_categoryParserFnImpl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -34873,81 +34872,80 @@ return x_27; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_30 = lean_ctor_get(x_22, 0); lean_inc(x_30); x_31 = lean_array_get_size(x_30); lean_dec(x_30); x_32 = lean_ctor_get(x_22, 1); lean_inc(x_32); -x_33 = l_Lean_Parser_termParser___closed__2; -x_34 = lean_name_eq(x_1, x_33); lean_inc(x_1); -x_35 = l___private_Init_Lean_Parser_Parser_25__catNameToString(x_1); -x_36 = lean_box(0); -x_37 = l_Lean_Parser_mkAntiquot(x_35, x_36, x_34); -lean_dec(x_35); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); +x_33 = l___private_Init_Lean_Parser_Parser_23__catNameToString(x_1); +x_34 = lean_box(0); +x_35 = 1; +x_36 = l_Lean_Parser_mkAntiquot(x_33, x_34, x_35); +lean_dec(x_33); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); lean_inc(x_2); -x_39 = lean_apply_2(x_38, x_2, x_22); -x_40 = lean_ctor_get(x_39, 3); -lean_inc(x_40); -if (lean_obj_tag(x_40) == 0) +x_38 = lean_apply_2(x_37, x_2, x_22); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_41; +lean_object* x_40; lean_dec(x_32); lean_dec(x_31); lean_dec(x_1); -x_41 = l_Lean_Parser_trailingLoop___main(x_17, x_2, x_39); -return x_41; +x_40 = l_Lean_Parser_trailingLoop___main(x_17, x_2, x_38); +return x_40; } else { -lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_42 = lean_ctor_get(x_40, 0); +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_38, 1); lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -x_44 = lean_nat_dec_eq(x_43, x_32); -lean_dec(x_43); -if (x_44 == 0) -{ +x_43 = lean_nat_dec_eq(x_42, x_32); lean_dec(x_42); +if (x_43 == 0) +{ +lean_dec(x_41); lean_dec(x_32); lean_dec(x_31); lean_dec(x_17); lean_dec(x_2); lean_dec(x_1); -return x_39; +return x_38; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_inc(x_32); -x_45 = l_Lean_Parser_ParserState_restore(x_39, x_31, x_32); +x_44 = l_Lean_Parser_ParserState_restore(x_38, x_31, x_32); lean_dec(x_31); lean_inc(x_2); lean_inc(x_17); -x_46 = l_Lean_Parser_leadingParserAux(x_1, x_17, x_18, x_2, x_45); -x_47 = l_Lean_Parser_mergeOrElseErrors(x_46, x_42, x_32); +x_45 = l_Lean_Parser_leadingParserAux(x_1, x_17, x_18, x_2, x_44); +x_46 = l_Lean_Parser_mergeOrElseErrors(x_45, x_41, x_32); lean_dec(x_32); -x_48 = lean_ctor_get(x_47, 3); -lean_inc(x_48); -if (lean_obj_tag(x_48) == 0) +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_49; -x_49 = l_Lean_Parser_trailingLoop___main(x_17, x_2, x_47); -return x_49; +lean_object* x_48; +x_48 = l_Lean_Parser_trailingLoop___main(x_17, x_2, x_46); +return x_48; } else { -lean_dec(x_48); +lean_dec(x_47); lean_dec(x_17); lean_dec(x_2); -return x_47; +return x_46; } } } @@ -34955,13 +34953,13 @@ return x_47; } else { -lean_object* x_50; lean_object* x_51; +lean_object* x_49; lean_object* x_50; lean_dec(x_17); lean_dec(x_2); lean_dec(x_1); -x_50 = l_Lean_Parser_prattParser___closed__1; -x_51 = l_Lean_Parser_ParserState_mkUnexpectedError(x_22, x_50); -return x_51; +x_49 = l_Lean_Parser_prattParser___closed__1; +x_50 = l_Lean_Parser_ParserState_mkUnexpectedError(x_22, x_49); +return x_50; } } } @@ -34994,7 +34992,7 @@ x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); lean_dec(x_4); lean_inc(x_2); -x_6 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_5, x_2); +x_6 = l___private_Init_Lean_Parser_Parser_18__addTokenConfig(x_5, x_2); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -35793,7 +35791,7 @@ x_6 = l_Lean_Parser_declareBuiltinParser(x_1, x_5, x_2, x_3, x_4); return x_6; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__1() { _start: { lean_object* x_1; @@ -35801,7 +35799,7 @@ x_1 = lean_mk_string("' (`Parser` or `TrailingParser` expected"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -35811,7 +35809,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -35851,7 +35849,7 @@ lean_object* x_28; lean_object* x_29; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_28 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; +x_28 = l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_7); @@ -36034,7 +36032,7 @@ x_20 = l_Lean_Name_toStringWithSep___main(x_19, x_4); x_21 = l_Lean_Parser_mkParserOfConstantUnsafe___closed__1; x_22 = lean_string_append(x_21, x_20); lean_dec(x_20); -x_23 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1; +x_23 = l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__1; x_24 = lean_string_append(x_22, x_23); x_25 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_25, 0, x_24); @@ -36067,13 +36065,13 @@ return x_63; } } } -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_6); lean_dec(x_6); -x_9 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); +x_9 = l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); lean_dec(x_5); return x_9; } @@ -36092,7 +36090,7 @@ _start: lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_inc(x_2); lean_inc(x_1); -x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed), 7, 2); +x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___boxed), 7, 2); lean_closure_set(x_5, 0, x_1); lean_closure_set(x_5, 1, x_2); x_6 = l_Lean_Parser_registerBuiltinParserAttribute___closed__1; @@ -36102,7 +36100,7 @@ lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_6); lean_ctor_set(x_8, 2, x_5); lean_ctor_set_uint8(x_8, sizeof(void*)*3, x_7); -x_9 = l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(x_2, x_3, x_4); +x_9 = l___private_Init_Lean_Parser_Parser_15__addBuiltinParserCategory(x_2, x_3, x_4); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -36147,7 +36145,7 @@ x_6 = l_Lean_Parser_registerBuiltinParserAttribute(x_1, x_2, x_5, x_4); return x_6; } } -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1() { +lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1___closed__1() { _start: { lean_object* x_1; @@ -36155,7 +36153,7 @@ x_1 = lean_mk_string("invalid parser '"); return x_1; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -36185,7 +36183,7 @@ lean_inc(x_9); lean_dec(x_8); x_10 = l_Lean_Name_toString___closed__1; x_11 = l_Lean_Name_toStringWithSep___main(x_10, x_1); -x_12 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1; +x_12 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1___closed__1; x_13 = lean_string_append(x_12, x_11); lean_dec(x_11); x_14 = l_Lean_registerTagAttribute___lambda__4___closed__4; @@ -36212,7 +36210,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -36249,7 +36247,7 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_7, 0); lean_inc(x_13); lean_dec(x_7); -x_14 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_13, x_4); +x_14 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__3(x_13, x_4); lean_dec(x_13); x_3 = x_9; x_4 = x_14; @@ -36264,7 +36262,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -36290,7 +36288,7 @@ goto _start; } } } -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -36298,7 +36296,7 @@ if (lean_obj_tag(x_1) == 0) lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(x_3, x_3, x_4, x_2); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__4(x_3, x_3, x_4, x_2); return x_5; } else @@ -36306,21 +36304,21 @@ else lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_1, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(x_6, x_6, x_7, x_2); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__5(x_6, x_6, x_7, x_2); return x_8; } } } -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_ctor_get(x_1, 0); -x_4 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_3, x_2); +x_4 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__3(x_3, x_2); return x_4; } } -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -36373,7 +36371,7 @@ lean_inc(x_20); x_21 = lean_box(0); x_22 = lean_apply_1(x_20, x_21); lean_inc(x_4); -x_23 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(x_4, x_3, x_22, x_7); +x_23 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1(x_4, x_3, x_22, x_7); if (lean_obj_tag(x_23) == 0) { uint8_t x_24; @@ -36387,7 +36385,7 @@ lean_inc(x_26); lean_dec(x_19); x_27 = l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; x_28 = lean_apply_1(x_26, x_27); -x_29 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_28, x_25); +x_29 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__2(x_28, x_25); lean_dec(x_28); x_30 = lean_unbox(x_17); lean_inc(x_18); @@ -36439,7 +36437,7 @@ lean_inc(x_39); lean_dec(x_19); x_40 = l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; x_41 = lean_apply_1(x_39, x_40); -x_42 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_41, x_37); +x_42 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__2(x_41, x_37); lean_dec(x_41); x_43 = lean_unbox(x_17); lean_inc(x_18); @@ -36534,51 +36532,51 @@ return x_63; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(x_1, x_2, x_3, x_4); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__4(x_1, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(x_1, x_2, x_3, x_4); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__5(x_1, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_1, x_2); +x_3 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__3(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_1, x_2); +x_3 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__2(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_6); lean_dec(x_6); -x_9 = l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); +x_9 = l___private_Init_Lean_Parser_Parser_25__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); lean_dec(x_5); return x_9; } @@ -36587,7 +36585,7 @@ lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object* x_1, _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Parser_Parser_25__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } @@ -36637,7 +36635,7 @@ x_5 = l_Lean_registerBuiltinAttribute(x_4, x_3); return x_5; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -36645,23 +36643,23 @@ x_1 = lean_mk_string("invalid parser attribute implementation builder arguments" return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1; +x_1 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_2; } else @@ -36679,7 +36677,7 @@ if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_dec(x_3); -x_5 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_5 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_5; } else @@ -36713,7 +36711,7 @@ lean_object* x_12; lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_12 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_12 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_12; } } @@ -36723,7 +36721,7 @@ lean_object* x_13; lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_13 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_13 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_13; } } @@ -36733,13 +36731,13 @@ else lean_object* x_14; lean_dec(x_3); lean_dec(x_1); -x_14 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_14 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_14; } } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__1() { _start: { lean_object* x_1; @@ -36747,30 +36745,30 @@ x_1 = lean_mk_string("parserAttr"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1), 1, 0); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; -x_3 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3; +x_2 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__2; +x_3 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__3; x_4 = l_Lean_registerAttributeImplBuilder(x_2, x_3, x_1); return x_4; } @@ -36802,7 +36800,7 @@ lean_ctor_set(x_13, 1, x_12); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; +x_15 = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__2; x_16 = l_Lean_registerAttributeOfBuilder(x_8, x_15, x_14, x_9); return x_16; } @@ -38205,52 +38203,52 @@ l_Lean_Parser_pushNone___closed__2 = _init_l_Lean_Parser_pushNone___closed__2(); lean_mark_persistent(l_Lean_Parser_pushNone___closed__2); l_Lean_Parser_pushNone = _init_l_Lean_Parser_pushNone(); lean_mark_persistent(l_Lean_Parser_pushNone); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__1); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__2); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__5 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__5); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__6 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__6); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__8 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__8); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__9 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__9); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__5 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__5); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__6 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__6); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__7 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__7); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__8 = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__8); -l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr = _init_l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr); -l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__1 = _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__1); -l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2 = _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__2); -l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__3 = _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_12__antiquotExpr___closed__3); -l___private_Init_Lean_Parser_Parser_12__antiquotExpr = _init_l___private_Init_Lean_Parser_Parser_12__antiquotExpr(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_12__antiquotExpr); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__1 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__1); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__5 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__5); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__6 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__6); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__9 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__9); +l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10 = _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10); +l_Lean_Parser_antiquotNestedExpr___closed__1 = _init_l_Lean_Parser_antiquotNestedExpr___closed__1(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__1); +l_Lean_Parser_antiquotNestedExpr___closed__2 = _init_l_Lean_Parser_antiquotNestedExpr___closed__2(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__2); +l_Lean_Parser_antiquotNestedExpr___closed__3 = _init_l_Lean_Parser_antiquotNestedExpr___closed__3(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__3); +l_Lean_Parser_antiquotNestedExpr___closed__4 = _init_l_Lean_Parser_antiquotNestedExpr___closed__4(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__4); +l_Lean_Parser_antiquotNestedExpr___closed__5 = _init_l_Lean_Parser_antiquotNestedExpr___closed__5(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__5); +l_Lean_Parser_antiquotNestedExpr___closed__6 = _init_l_Lean_Parser_antiquotNestedExpr___closed__6(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__6); +l_Lean_Parser_antiquotNestedExpr___closed__7 = _init_l_Lean_Parser_antiquotNestedExpr___closed__7(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__7); +l_Lean_Parser_antiquotNestedExpr___closed__8 = _init_l_Lean_Parser_antiquotNestedExpr___closed__8(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr___closed__8); +l_Lean_Parser_antiquotNestedExpr = _init_l_Lean_Parser_antiquotNestedExpr(); +lean_mark_persistent(l_Lean_Parser_antiquotNestedExpr); +l_Lean_Parser_antiquotExpr___closed__1 = _init_l_Lean_Parser_antiquotExpr___closed__1(); +lean_mark_persistent(l_Lean_Parser_antiquotExpr___closed__1); +l_Lean_Parser_antiquotExpr___closed__2 = _init_l_Lean_Parser_antiquotExpr___closed__2(); +lean_mark_persistent(l_Lean_Parser_antiquotExpr___closed__2); +l_Lean_Parser_antiquotExpr___closed__3 = _init_l_Lean_Parser_antiquotExpr___closed__3(); +lean_mark_persistent(l_Lean_Parser_antiquotExpr___closed__3); +l_Lean_Parser_antiquotExpr = _init_l_Lean_Parser_antiquotExpr(); +lean_mark_persistent(l_Lean_Parser_antiquotExpr); l_Lean_Parser_mkAntiquot___closed__1 = _init_l_Lean_Parser_mkAntiquot___closed__1(); lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__1); l_Lean_Parser_mkAntiquot___closed__2 = _init_l_Lean_Parser_mkAntiquot___closed__2(); @@ -38396,30 +38394,30 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Parser_builtinParserCategoriesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_builtinParserCategoriesRef); lean_dec_ref(res); -l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2); +l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__1); +l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__throwParserCategoryAlreadyDefined___rarg___closed__2); l_Lean_Parser_ParserExtensionState_inhabited___closed__1 = _init_l_Lean_Parser_ParserExtensionState_inhabited___closed__1(); lean_mark_persistent(l_Lean_Parser_ParserExtensionState_inhabited___closed__1); l_Lean_Parser_ParserExtensionState_inhabited = _init_l_Lean_Parser_ParserExtensionState_inhabited(); lean_mark_persistent(l_Lean_Parser_ParserExtensionState_inhabited); -l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1); -l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2); -l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3); -l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1); -l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2); -l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3); +l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__1 = _init_l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__1); +l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__2 = _init_l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__2); +l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__3 = _init_l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_17__mergePrecendences___closed__3); +l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__1 = _init_l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__1); +l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__2 = _init_l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__2); +l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__3 = _init_l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_18__addTokenConfig___closed__3); l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1 = _init_l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1(); lean_mark_persistent(l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1 = _init_l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1); +l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens___closed__1 = _init_l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__updateBuiltinTokens___closed__1); l_Lean_Parser_compileParserDescr___main___closed__1 = _init_l_Lean_Parser_compileParserDescr___main___closed__1(); lean_mark_persistent(l_Lean_Parser_compileParserDescr___main___closed__1); l_Lean_Parser_compileParserDescr___main___closed__2 = _init_l_Lean_Parser_compileParserDescr___main___closed__2(); @@ -38506,27 +38504,27 @@ l_Lean_Parser_declareTrailingBuiltinParser___closed__1 = _init_l_Lean_Parser_dec lean_mark_persistent(l_Lean_Parser_declareTrailingBuiltinParser___closed__1); l_Lean_Parser_declareTrailingBuiltinParser___closed__2 = _init_l_Lean_Parser_declareTrailingBuiltinParser___closed__2(); lean_mark_persistent(l_Lean_Parser_declareTrailingBuiltinParser___closed__2); -l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1 = _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1); -l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2 = _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2); +l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__1 = _init_l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__1); +l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__2 = _init_l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_24__BuiltinParserAttribute_add___closed__2); l_Lean_Parser_registerBuiltinParserAttribute___closed__1 = _init_l_Lean_Parser_registerBuiltinParserAttribute___closed__1(); lean_mark_persistent(l_Lean_Parser_registerBuiltinParserAttribute___closed__1); -l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1); +l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1___closed__1(); +lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_25__ParserAttribute_add___spec__1___closed__1); l_Lean_Parser_mkParserAttributeImpl___closed__1 = _init_l_Lean_Parser_mkParserAttributeImpl___closed__1(); lean_mark_persistent(l_Lean_Parser_mkParserAttributeImpl___closed__1); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3); -res = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_io_mk_world()); +l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__1); +l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___lambda__1___closed__2); +l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__1 = _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__1); +l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__2 = _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__2); +l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__3 = _init_l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder___closed__3); +res = l___private_Init_Lean_Parser_Parser_26__registerParserAttributeImplBuilder(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_regBuiltinTermParserAttr___closed__1 = _init_l_Lean_Parser_regBuiltinTermParserAttr___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Parser/Syntax.c b/stage0/stdlib/Init/Lean/Parser/Syntax.c index 8121861a22..ac480c7b0d 100644 --- a/stage0/stdlib/Init/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Init/Lean/Parser/Syntax.c @@ -183,6 +183,7 @@ lean_object* l_Lean_Parser_Syntax_str___elambda__1___closed__6; lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_mixfix___closed__8; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_ident___closed__3; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1(lean_object*, lean_object*); @@ -213,6 +214,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Syntax_orelse(lean_object*); lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_macroArg___closed__1; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__5; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_macroTailCommand___closed__6; lean_object* l_Lean_Parser_Command_macroTailDefault___closed__7; lean_object* l_Lean_Parser_Command_infixl; @@ -248,13 +250,14 @@ lean_object* l_Lean_Parser_Syntax_sepBy1; lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; extern lean_object* l_Lean_Parser_quotedSymbol; lean_object* l_Lean_Parser_Syntax_num___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_sepBy1___closed__2; lean_object* l_Lean_Parser_precedence___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__4; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_postfix; lean_object* l_Lean_Parser_Command_infix___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_strLitPrec___closed__4; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); @@ -301,7 +304,6 @@ lean_object* l_Lean_Parser_Syntax_paren___closed__5; extern lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__1; lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__3; lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__9; lean_object* l_Lean_Parser_precedence___elambda__1___closed__5; @@ -339,6 +341,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Syntax_str(lean_object*); lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__5; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_Syntax_char___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_mixfixKind___closed__1; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__3; @@ -388,6 +391,7 @@ lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__5; lean_object* l_Lean_Parser_Syntax_many___closed__3; lean_object* l_Lean_Parser_Syntax_optional___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_num___elambda__1___closed__6; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Command_macro___closed__1; lean_object* l_Lean_Parser_Command_mixfix___closed__1; lean_object* l_Lean_Parser_Syntax_atom___closed__4; @@ -403,6 +407,7 @@ extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__1; lean_object* l_Lean_Parser_Command_reserve___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_paren(lean_object*); +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_char___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__3; @@ -414,7 +419,6 @@ lean_object* l_Lean_Parser_precedenceLit___closed__3; lean_object* l_Lean_Parser_Syntax_optional; lean_object* l_Lean_Parser_Syntax_atom___closed__1; lean_object* l_Lean_Parser_Command_macroTailTactic___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_mixfix___closed__2; extern lean_object* l_Lean_Parser_appPrec; @@ -497,7 +501,6 @@ lean_object* l_Lean_Parser_Command_macroTailDefault; lean_object* l_Lean_Parser_Command_mixfix___closed__6; extern lean_object* l_Lean_Parser_unquotedSymbol; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_Syntax_ident___closed__1; extern lean_object* l_Lean_Parser_Term_typeAscription___closed__1; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__8; @@ -573,7 +576,6 @@ lean_object* l_Lean_Parser_Command_macro__rules___closed__3; lean_object* l_Lean_Parser_Command_syntaxCat___closed__4; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__7; lean_object* l_Lean_Parser_Syntax_char___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Command_macroTailCommand; lean_object* l_Lean_Parser_Command_syntaxCat___closed__1; @@ -628,7 +630,6 @@ lean_object* l_Lean_Parser_Syntax_optional___closed__1; lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_optional(lean_object*); lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__8; lean_object* l_Lean_Parser_Syntax_many1___elambda__1(lean_object*, lean_object*); @@ -652,7 +653,6 @@ lean_object* l_Lean_Parser_Command_macroTailTactic___closed__7; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__2; lean_object* l_Lean_Parser_optPrecedence___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_many1(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_precedence___closed__1; lean_object* l_Lean_Parser_Command_macroTail___closed__3; lean_object* l_Lean_Parser_Command_macroTail___closed__1; @@ -1699,13 +1699,13 @@ lean_object* x_56; lean_object* x_57; uint8_t x_58; x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); -x_57 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_57 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_58 = lean_string_dec_eq(x_56, x_57); lean_dec(x_56); if (x_58 == 0) { lean_object* x_59; lean_object* x_60; -x_59 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_59 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_59, x_51); x_35 = x_60; goto block_50; @@ -1721,7 +1721,7 @@ else { lean_object* x_61; lean_object* x_62; lean_dec(x_55); -x_61 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_61 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_61, x_51); x_35 = x_62; goto block_50; @@ -1731,7 +1731,7 @@ else { lean_object* x_63; lean_object* x_64; lean_dec(x_53); -x_63 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_63 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_63, x_51); x_35 = x_64; goto block_50; @@ -1762,13 +1762,13 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_16 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_18, x_10); x_20 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_7); @@ -1787,7 +1787,7 @@ else { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_14); -x_24 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_24 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_24, x_10); x_26 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_7); @@ -1798,7 +1798,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_12); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_28, x_10); x_30 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); @@ -1929,13 +1929,13 @@ lean_object* x_129; lean_object* x_130; uint8_t x_131; x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); lean_dec(x_128); -x_130 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_130 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_131 = lean_string_dec_eq(x_129, x_130); lean_dec(x_129); if (x_131 == 0) { lean_object* x_132; lean_object* x_133; -x_132 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_132 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_67); x_133 = l_Lean_Parser_ParserState_mkErrorsAt(x_125, x_132, x_67); x_108 = x_133; @@ -1951,7 +1951,7 @@ else { lean_object* x_134; lean_object* x_135; lean_dec(x_128); -x_134 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_134 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_67); x_135 = l_Lean_Parser_ParserState_mkErrorsAt(x_125, x_134, x_67); x_108 = x_135; @@ -1962,7 +1962,7 @@ else { lean_object* x_136; lean_object* x_137; lean_dec(x_126); -x_136 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_136 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_67); x_137 = l_Lean_Parser_ParserState_mkErrorsAt(x_125, x_136, x_67); x_108 = x_137; @@ -1994,13 +1994,13 @@ lean_object* x_83; lean_object* x_84; uint8_t x_85; x_83 = lean_ctor_get(x_82, 1); lean_inc(x_83); lean_dec(x_82); -x_84 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_84 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_85 = lean_string_dec_eq(x_83, x_84); lean_dec(x_83); if (x_85 == 0) { lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_86 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_86 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_87 = l_Lean_Parser_ParserState_mkErrorsAt(x_79, x_86, x_78); x_88 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; x_89 = l_Lean_Parser_ParserState_mkNode(x_87, x_88, x_75); @@ -2023,7 +2023,7 @@ else { lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_dec(x_82); -x_94 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_94 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_95 = l_Lean_Parser_ParserState_mkErrorsAt(x_79, x_94, x_78); x_96 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; x_97 = l_Lean_Parser_ParserState_mkNode(x_95, x_96, x_75); @@ -2036,7 +2036,7 @@ else { lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_dec(x_80); -x_99 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_99 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_100 = l_Lean_Parser_ParserState_mkErrorsAt(x_79, x_99, x_78); x_101 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; x_102 = l_Lean_Parser_ParserState_mkNode(x_100, x_101, x_75); @@ -2129,7 +2129,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Syntax_paren___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -2138,7 +2138,7 @@ lean_object* _init_l_Lean_Parser_Syntax_paren___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__1; x_2 = l_Lean_Parser_Syntax_paren___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -8649,7 +8649,7 @@ lean_object* _init_l_Lean_Parser_Command_mixfix___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_mixfix___closed__1; @@ -13059,13 +13059,13 @@ lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_14 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_15 = lean_string_dec_eq(x_13, x_14); lean_dec(x_13); if (x_15 == 0) { lean_object* x_16; lean_object* x_17; -x_16 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_16 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_17 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_16, x_8); return x_17; } @@ -13079,7 +13079,7 @@ else { lean_object* x_18; lean_object* x_19; lean_dec(x_12); -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_18, x_8); return x_19; } @@ -13088,7 +13088,7 @@ else { lean_object* x_20; lean_object* x_21; lean_dec(x_10); -x_20 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_20 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_21 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_20, x_8); return x_21; } @@ -13479,13 +13479,13 @@ lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_11 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_12 = lean_string_dec_eq(x_10, x_11); lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_13 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_14 = l_Lean_Parser_ParserState_mkErrorsAt(x_6, x_13, x_5); return x_14; } @@ -13499,7 +13499,7 @@ else { lean_object* x_15; lean_object* x_16; lean_dec(x_9); -x_15 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_15 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_16 = l_Lean_Parser_ParserState_mkErrorsAt(x_6, x_15, x_5); return x_16; } @@ -13508,7 +13508,7 @@ else { lean_object* x_17; lean_object* x_18; lean_dec(x_7); -x_17 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_17 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_18 = l_Lean_Parser_ParserState_mkErrorsAt(x_6, x_17, x_5); return x_18; } @@ -13810,7 +13810,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_stxQuot___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -14099,13 +14099,13 @@ lean_object* x_32; lean_object* x_33; uint8_t x_34; x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); -x_33 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_33 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_34 = lean_string_dec_eq(x_32, x_33); lean_dec(x_32); if (x_34 == 0) { lean_object* x_35; lean_object* x_36; -x_35 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_35 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_36 = l_Lean_Parser_ParserState_mkErrorsAt(x_28, x_35, x_27); x_10 = x_36; goto block_20; @@ -14121,7 +14121,7 @@ else { lean_object* x_37; lean_object* x_38; lean_dec(x_31); -x_37 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_37 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_38 = l_Lean_Parser_ParserState_mkErrorsAt(x_28, x_37, x_27); x_10 = x_38; goto block_20; @@ -14131,7 +14131,7 @@ else { lean_object* x_39; lean_object* x_40; lean_dec(x_29); -x_39 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_39 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_40 = l_Lean_Parser_ParserState_mkErrorsAt(x_28, x_39, x_27); x_10 = x_40; goto block_20; @@ -14296,7 +14296,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macroTailDefault___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -14315,7 +14315,7 @@ lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_macroTailDefault___closed__3; diff --git a/stage0/stdlib/Init/Lean/Parser/Tactic.c b/stage0/stdlib/Init/Lean/Parser/Tactic.c index db152c55d5..889615dbae 100644 --- a/stage0/stdlib/Init/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Init/Lean/Parser/Tactic.c @@ -93,7 +93,6 @@ lean_object* l_Lean_Parser_Tactic_induction___elambda__1(lean_object*, lean_obje lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__2; lean_object* l_Lean_Parser_Tactic_underscore___closed__1; lean_object* l_Lean_Parser_Tactic_usingRec___closed__2; -extern lean_object* l_Lean_Parser_Term_subtype___closed__1; lean_object* l_Lean_Parser_Tactic_skip___closed__2; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_apply___closed__4; @@ -165,6 +164,7 @@ lean_object* l_Lean_Parser_Tactic_clear___closed__2; lean_object* l_Lean_Parser_Tactic_clear; lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_case___closed__4; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_subst___closed__1; lean_object* l_Lean_Parser_Tactic_induction; lean_object* l_Lean_Parser_Tactic_generalizingVars___elambda__1___closed__5; @@ -183,6 +183,7 @@ lean_object* l_Lean_Parser_Tactic_subst___closed__2; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_generalizingVars___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_usingRec___elambda__1___closed__4; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_traceState___closed__5; extern lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__5; @@ -225,14 +226,15 @@ lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_assumption___closed__1; lean_object* l_Lean_Parser_Tactic_apply___closed__3; lean_object* l_Lean_Parser_Tactic_clear___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__2; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__7(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Tactic_revert; lean_object* l_Lean_Parser_Tactic_generalize; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__3; lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__3; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_usingRec___elambda__1___closed__1; @@ -262,7 +264,6 @@ lean_object* l_Lean_Parser_Tactic_generalize___elambda__1(lean_object*, lean_obj lean_object* l_Lean_Parser_Tactic_induction___closed__7; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_revert___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_traceState___closed__4; lean_object* l_Lean_Parser_Tactic_skip___closed__5; lean_object* l_Lean_Parser_Tactic_withIds___closed__4; @@ -303,6 +304,7 @@ lean_object* l_Lean_Parser_Tactic_majorPremise___closed__5; lean_object* l_Lean_Parser_Tactic_exact___closed__3; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__3; lean_object* l_Lean_Parser_Tactic_paren___closed__5; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_assumption___closed__2; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__8; @@ -347,6 +349,7 @@ lean_object* l_Lean_Parser_Tactic_assumption___closed__5; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_failIfSuccess; lean_object* l_Lean_Parser_Tactic_paren___closed__1; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Tactic_generalize___closed__10; lean_object* l_Lean_Parser_Tactic_paren___closed__2; lean_object* l_Lean_Parser_Tactic_subst___closed__3; @@ -362,6 +365,7 @@ lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_orelse; lean_object* l_Lean_Parser_Tactic_allGoals___closed__6; lean_object* l_Lean_Parser_Tactic_subst___closed__5; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5; lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_subst; @@ -377,7 +381,6 @@ lean_object* l_Lean_Parser_Tactic_usingRec___elambda__1(lean_object*, lean_objec lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_withIds___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_injection___elambda__1___closed__1; @@ -438,7 +441,6 @@ lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__4; lean_object* l_Lean_Parser_Tactic_assumption___closed__3; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__11; lean_object* l_Lean_Parser_Tactic_majorPremise___elambda__1___closed__4; lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -473,6 +475,7 @@ lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_Tactic_nonEmptySeq___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_apply___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_assumption(lean_object*); +extern lean_object* l_Lean_Parser_Term_implicitBinder___closed__1; extern lean_object* l_Lean_Parser_Term_matchAlts___closed__1; lean_object* l_Lean_Parser_Tactic_underscoreFn___closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__13; @@ -490,7 +493,6 @@ extern lean_object* l_Lean_Parser_Tactic_seq___closed__1; lean_object* l_Lean_Parser_Tactic_exact___closed__2; lean_object* l_Lean_Parser_Tactic_intro___closed__2; extern lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__17; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___closed__5; lean_object* l_Lean_Parser_Tactic_cases___elambda__1(lean_object*, lean_object*); @@ -550,7 +552,6 @@ lean_object* l_Lean_Parser_Tactic_traceState; lean_object* l_Lean_Parser_Tactic_subst___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_traceState(lean_object*); lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_paren; @@ -566,7 +567,6 @@ lean_object* l_Lean_Parser_Tactic_seq___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__3; extern lean_object* l_Lean_ppGoal___closed__7; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__8; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_refine(lean_object*); lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__5; @@ -3071,7 +3071,7 @@ lean_object* _init_l_Lean_Parser_Tactic_apply___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Tactic_apply___closed__1; @@ -3357,7 +3357,7 @@ lean_object* _init_l_Lean_Parser_Tactic_exact___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Tactic_exact___closed__1; @@ -3643,7 +3643,7 @@ lean_object* _init_l_Lean_Parser_Tactic_refine___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Tactic_refine___closed__1; @@ -7047,7 +7047,7 @@ lean_object* _init_l_Lean_Parser_Tactic_majorPremise___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_optIdent___closed__2; @@ -11264,7 +11264,7 @@ lean_object* _init_l_Lean_Parser_Tactic_injection___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Tactic_withIds; @@ -11414,13 +11414,13 @@ lean_object* x_44; lean_object* x_45; uint8_t x_46; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_45 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_46 = lean_string_dec_eq(x_44, x_45); lean_dec(x_44); if (x_46 == 0) { lean_object* x_47; lean_object* x_48; -x_47 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_47 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_48 = l_Lean_Parser_ParserState_mkErrorsAt(x_40, x_47, x_39); x_8 = x_48; goto block_38; @@ -11436,7 +11436,7 @@ else { lean_object* x_49; lean_object* x_50; lean_dec(x_43); -x_49 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_49 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_50 = l_Lean_Parser_ParserState_mkErrorsAt(x_40, x_49, x_39); x_8 = x_50; goto block_38; @@ -11446,7 +11446,7 @@ else { lean_object* x_51; lean_object* x_52; lean_dec(x_41); -x_51 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_51 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_52 = l_Lean_Parser_ParserState_mkErrorsAt(x_40, x_51, x_39); x_8 = x_52; goto block_38; @@ -11484,13 +11484,13 @@ lean_object* x_17; lean_object* x_18; uint8_t x_19; x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_19 = lean_string_dec_eq(x_17, x_18); lean_dec(x_17); if (x_19 == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_20 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_21 = l_Lean_Parser_ParserState_mkErrorsAt(x_13, x_20, x_12); x_22 = l_Lean_Parser_Tactic_paren___elambda__1___closed__1; x_23 = l_Lean_Parser_ParserState_mkNode(x_21, x_22, x_7); @@ -11509,7 +11509,7 @@ else { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_dec(x_16); -x_26 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_26 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_27 = l_Lean_Parser_ParserState_mkErrorsAt(x_13, x_26, x_12); x_28 = l_Lean_Parser_Tactic_paren___elambda__1___closed__1; x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_7); @@ -11520,7 +11520,7 @@ else { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_14); -x_30 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_30 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_31 = l_Lean_Parser_ParserState_mkErrorsAt(x_13, x_30, x_12); x_32 = l_Lean_Parser_Tactic_paren___elambda__1___closed__1; x_33 = l_Lean_Parser_ParserState_mkNode(x_31, x_32, x_7); @@ -11613,13 +11613,13 @@ lean_object* x_105; lean_object* x_106; uint8_t x_107; x_105 = lean_ctor_get(x_104, 1); lean_inc(x_105); lean_dec(x_104); -x_106 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_106 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_107 = lean_string_dec_eq(x_105, x_106); lean_dec(x_105); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; -x_108 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_108 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_55); x_109 = l_Lean_Parser_ParserState_mkErrorsAt(x_101, x_108, x_55); x_64 = x_109; @@ -11635,7 +11635,7 @@ else { lean_object* x_110; lean_object* x_111; lean_dec(x_104); -x_110 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_110 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_55); x_111 = l_Lean_Parser_ParserState_mkErrorsAt(x_101, x_110, x_55); x_64 = x_111; @@ -11646,7 +11646,7 @@ else { lean_object* x_112; lean_object* x_113; lean_dec(x_102); -x_112 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_112 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_55); x_113 = l_Lean_Parser_ParserState_mkErrorsAt(x_101, x_112, x_55); x_64 = x_113; @@ -11685,13 +11685,13 @@ lean_object* x_73; lean_object* x_74; uint8_t x_75; x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); lean_dec(x_72); -x_74 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_74 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_75 = lean_string_dec_eq(x_73, x_74); lean_dec(x_73); if (x_75 == 0) { lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_76 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_76 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_77 = l_Lean_Parser_ParserState_mkErrorsAt(x_69, x_76, x_68); x_78 = l_Lean_Parser_Tactic_paren___elambda__1___closed__1; x_79 = l_Lean_Parser_ParserState_mkNode(x_77, x_78, x_63); @@ -11714,7 +11714,7 @@ else { lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_dec(x_72); -x_84 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_84 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_85 = l_Lean_Parser_ParserState_mkErrorsAt(x_69, x_84, x_68); x_86 = l_Lean_Parser_Tactic_paren___elambda__1___closed__1; x_87 = l_Lean_Parser_ParserState_mkNode(x_85, x_86, x_63); @@ -11727,7 +11727,7 @@ else { lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_dec(x_70); -x_89 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_89 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_90 = l_Lean_Parser_ParserState_mkErrorsAt(x_69, x_89, x_68); x_91 = l_Lean_Parser_Tactic_paren___elambda__1___closed__1; x_92 = l_Lean_Parser_ParserState_mkNode(x_90, x_91, x_63); @@ -11772,7 +11772,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_nonEmptySeq; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -11781,7 +11781,7 @@ lean_object* _init_l_Lean_Parser_Tactic_paren___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__1; x_2 = l_Lean_Parser_Tactic_paren___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -12801,7 +12801,7 @@ lean_object* _init_l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___closed__1; +x_1 = l_Lean_Parser_Term_implicitBinder___closed__1; x_2 = l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Init/Lean/Parser/Term.c b/stage0/stdlib/Init/Lean/Parser/Term.c index 2a2e801c84..762e0c8d48 100644 --- a/stage0/stdlib/Init/Lean/Parser/Term.c +++ b/stage0/stdlib/Init/Lean/Parser/Term.c @@ -332,6 +332,7 @@ lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_o lean_object* l_Lean_Parser_Term_tacticStxQuot___closed__3; lean_object* l_Lean_Parser_Term_equiv___closed__2; lean_object* l_Lean_Parser_Term_suffices___closed__9; +extern lean_object* l_Lean_optionToExpr___rarg___lambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_andthen(lean_object*); lean_object* l_Lean_Parser_Term_ge___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_darrow; @@ -576,6 +577,7 @@ lean_object* l_Lean_Parser_Term_infixR___elambda__1(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_div___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__9; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_arrayLit___closed__6; lean_object* l_Lean_Parser_Term_str; lean_object* l_Lean_Parser_Term_decide___closed__5; @@ -647,6 +649,7 @@ lean_object* l_Lean_Parser_Term_binderDefault; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_levelStxQuot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__9; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_sort___closed__1; @@ -766,7 +769,6 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_ lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ge___elambda__1___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Term_have___closed__11; lean_object* l_Lean_Parser_Term_doSeq___closed__1; lean_object* l_Lean_Parser_Term_or___elambda__1___closed__1; @@ -785,10 +787,12 @@ lean_object* l_Lean_Parser_Term_modN___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_ge___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Term_typeSpec___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_andM(lean_object*); lean_object* l_Lean_Parser_Term_parenSpecial___closed__3; lean_object* l_Lean_Parser_Term_ne___elambda__1___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Term_doId___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_decide___closed__3; @@ -906,6 +910,7 @@ lean_object* l_Lean_Parser_Term_fun___closed__1; lean_object* l_Lean_Parser_Term_bne___closed__3; lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_sorry___closed__5; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_Term_sub___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_show___closed__4; @@ -913,7 +918,6 @@ extern lean_object* l_Lean_Parser_nameLit; lean_object* l_Lean_Parser_Term_subtype; lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_nativeDecide___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_str___closed__3; lean_object* l_Lean_Parser_Term_equiv___elambda__1___closed__2; @@ -1057,6 +1061,7 @@ lean_object* l_Lean_Parser_Term_andM___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_band___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__1; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_object* l___regBuiltinParser_Lean_Parser_Term_num(lean_object*); lean_object* l_Lean_Parser_Term_ne___closed__2; lean_object* l_Lean_Parser_Term_fcomp___elambda__1___closed__1; @@ -1250,6 +1255,7 @@ lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__1; extern lean_object* l_Lean_formatEntry___closed__1; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_have(lean_object*); +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_cdot(lean_object*); lean_object* l_Lean_Parser_Term_mapRev___elambda__1(lean_object*, lean_object*); @@ -1309,6 +1315,7 @@ lean_object* l_Lean_Parser_Term_liftMethod___elambda__1___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_beq(lean_object*); lean_object* l_Lean_Parser_Term_tparser_x21___closed__5; lean_object* l_Lean_Parser_Term_binderTactic___closed__4; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_prop___closed__5; lean_object* l_Lean_Parser_Term_dollarProj___closed__5; lean_object* l_Lean_Parser_Term_append___elambda__1___closed__4; @@ -1370,7 +1377,6 @@ lean_object* l_Lean_Parser_Term_emptyC___closed__4; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__3; lean_object* l_Lean_Parser_Term_band___closed__3; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_mapRev; lean_object* l_Lean_Parser_Term_cons___closed__3; lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__6; @@ -1407,6 +1413,7 @@ lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_binderIdent; lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_implicitBinder___closed__3; lean_object* l_Lean_Parser_Term_infixR(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_seqLeft___closed__3; lean_object* l_Lean_Parser_charLit___elambda__1(lean_object*, lean_object*); @@ -1613,7 +1620,6 @@ lean_object* l_Lean_Parser_Term_fun___closed__5; lean_object* l_Lean_Parser_Term_seqRight___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_explicitUniv___closed__2; extern lean_object* l_Lean_Parser_epsilonInfo; -extern lean_object* l_Lean_listToExpr___rarg___closed__7; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_have___closed__4; lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__3; @@ -1623,7 +1629,6 @@ lean_object* l_Lean_Parser_Term_num___closed__3; lean_object* l_Lean_Parser_Term_letIdDecl___closed__5; lean_object* l_Lean_Parser_Term_match___closed__4; lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_checkRBPGreaterFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_if___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_explicitUniv___closed__1; @@ -1858,9 +1863,7 @@ lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__17; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_where___closed__2; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_namedHole___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_listLit(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); @@ -2030,7 +2033,6 @@ lean_object* l_Lean_Parser_Term_modN___elambda__1___closed__1; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__8(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__9; lean_object* l___regBuiltinParser_Lean_Parser_Term_or(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Term_iff___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doPat___closed__5; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__4; @@ -2087,12 +2089,10 @@ lean_object* l_Lean_Parser_Term_binderTactic___closed__3; lean_object* l_Lean_Parser_Term_doId___closed__6; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_unicodeInfixR___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_dollar___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_unicodeInfixL___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nativeRefl___elambda__1___closed__9; -lean_object* l_Lean_Parser_Term_subtype___closed__11; lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_levelStxQuot___closed__2; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__7; @@ -2108,6 +2108,7 @@ extern lean_object* l_Lean_Parser_strLit; lean_object* l_Lean_Parser_Term_equiv___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_dollar___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_char___elambda__1___closed__1; +extern lean_object* l_Lean_Parser_Level_addLit___closed__1; lean_object* l_Lean_Parser_Term_bnot___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let; @@ -8679,7 +8680,7 @@ lean_object* _init_l_Lean_Parser_Term_typeAscription___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_typeAscription___closed__1; @@ -9242,7 +9243,7 @@ lean_object* _init_l_Lean_Parser_Term_tupleTail___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_explicitUniv___closed__2; @@ -9544,13 +9545,13 @@ lean_object* x_70; lean_object* x_71; uint8_t x_72; x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec(x_69); -x_71 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_71 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_72 = lean_string_dec_eq(x_70, x_71); lean_dec(x_70); if (x_72 == 0) { lean_object* x_73; lean_object* x_74; -x_73 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_73 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_74 = l_Lean_Parser_ParserState_mkErrorsAt(x_66, x_73, x_65); x_35 = x_74; goto block_64; @@ -9566,7 +9567,7 @@ else { lean_object* x_75; lean_object* x_76; lean_dec(x_69); -x_75 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_75 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_76 = l_Lean_Parser_ParserState_mkErrorsAt(x_66, x_75, x_65); x_35 = x_76; goto block_64; @@ -9576,7 +9577,7 @@ else { lean_object* x_77; lean_object* x_78; lean_dec(x_67); -x_77 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_77 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; x_78 = l_Lean_Parser_ParserState_mkErrorsAt(x_66, x_77, x_65); x_35 = x_78; goto block_64; @@ -9607,13 +9608,13 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_16 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_18, x_10); x_20 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_7); @@ -9632,7 +9633,7 @@ else { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_14); -x_24 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_24 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_24, x_10); x_26 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_7); @@ -9643,7 +9644,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_12); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_28, x_10); x_30 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); @@ -9828,13 +9829,13 @@ lean_object* x_157; lean_object* x_158; uint8_t x_159; x_157 = lean_ctor_get(x_156, 1); lean_inc(x_157); lean_dec(x_156); -x_158 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_158 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_159 = lean_string_dec_eq(x_157, x_158); lean_dec(x_157); if (x_159 == 0) { lean_object* x_160; lean_object* x_161; -x_160 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_160 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_81); x_161 = l_Lean_Parser_ParserState_mkErrorsAt(x_153, x_160, x_81); x_122 = x_161; @@ -9850,7 +9851,7 @@ else { lean_object* x_162; lean_object* x_163; lean_dec(x_156); -x_162 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_162 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_81); x_163 = l_Lean_Parser_ParserState_mkErrorsAt(x_153, x_162, x_81); x_122 = x_163; @@ -9861,7 +9862,7 @@ else { lean_object* x_164; lean_object* x_165; lean_dec(x_154); -x_164 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_164 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_81); x_165 = l_Lean_Parser_ParserState_mkErrorsAt(x_153, x_164, x_81); x_122 = x_165; @@ -9893,13 +9894,13 @@ lean_object* x_97; lean_object* x_98; uint8_t x_99; x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); lean_dec(x_96); -x_98 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_98 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_99 = lean_string_dec_eq(x_97, x_98); lean_dec(x_97); if (x_99 == 0) { lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_100 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_100 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_101 = l_Lean_Parser_ParserState_mkErrorsAt(x_93, x_100, x_92); x_102 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_103 = l_Lean_Parser_ParserState_mkNode(x_101, x_102, x_89); @@ -9922,7 +9923,7 @@ else { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_dec(x_96); -x_108 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_108 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_109 = l_Lean_Parser_ParserState_mkErrorsAt(x_93, x_108, x_92); x_110 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_111 = l_Lean_Parser_ParserState_mkNode(x_109, x_110, x_89); @@ -9935,7 +9936,7 @@ else { lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_dec(x_94); -x_113 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_113 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_114 = l_Lean_Parser_ParserState_mkErrorsAt(x_93, x_113, x_92); x_115 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_116 = l_Lean_Parser_ParserState_mkNode(x_114, x_115, x_89); @@ -10069,7 +10070,7 @@ lean_object* _init_l_Lean_Parser_Term_paren___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_parenSpecial; @@ -10093,7 +10094,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_paren___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -10709,7 +10710,7 @@ lean_object* _init_l_Lean_Parser_Term_anonymousCtor___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_explicitUniv___closed__2; @@ -11946,7 +11947,7 @@ lean_object* _init_l_Lean_Parser_Term_if___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_if___closed__4; @@ -11958,7 +11959,7 @@ lean_object* _init_l_Lean_Parser_Term_if___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_if___closed__5; @@ -11980,7 +11981,7 @@ lean_object* _init_l_Lean_Parser_Term_if___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_if___closed__7; @@ -12412,7 +12413,7 @@ lean_object* _init_l_Lean_Parser_Term_fromTerm___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_fromTerm___closed__1; @@ -12802,7 +12803,7 @@ lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_haveAssign___closed__1; @@ -13628,7 +13629,7 @@ lean_object* _init_l_Lean_Parser_Term_have___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Tactic_seq___closed__2; @@ -13650,7 +13651,7 @@ lean_object* _init_l_Lean_Parser_Term_have___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_have___closed__4; @@ -14330,7 +14331,7 @@ lean_object* _init_l_Lean_Parser_Term_suffices___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_suffices___closed__2; @@ -14798,7 +14799,7 @@ lean_object* _init_l_Lean_Parser_Term_show___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_fromTerm; @@ -15417,7 +15418,7 @@ lean_object* _init_l_Lean_Parser_Term_structInstArrayRef___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_structInstArrayRef___closed__2; @@ -18305,7 +18306,7 @@ lean_object* _init_l_Lean_Parser_Term_structInst___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_structInst___closed__2; @@ -18357,7 +18358,7 @@ lean_object* _init_l_Lean_Parser_Term_structInst___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_typeAscription___closed__1; @@ -19633,7 +19634,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__5; +x_2 = l_Lean_Parser_Term_subtype___elambda__1___closed__6; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } @@ -19641,18 +19642,8 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_subtype___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_subtype___elambda__1___closed__6; -x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_subtype___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_explicitUniv___closed__4; @@ -19660,21 +19651,33 @@ x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_subtype___closed__4() { +lean_object* _init_l_Lean_Parser_Term_subtype___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___closed__2; -x_2 = l_Lean_Parser_Term_subtype___closed__3; +x_1 = l_Lean_Parser_Term_subtype___closed__1; +x_2 = l_Lean_Parser_Term_subtype___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } +lean_object* _init_l_Lean_Parser_Term_subtype___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_optType; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_subtype___closed__3; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} lean_object* _init_l_Lean_Parser_Term_subtype___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_optType; +x_1 = l_Lean_Parser_ident; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_subtype___closed__4; @@ -19685,48 +19688,36 @@ return x_4; lean_object* _init_l_Lean_Parser_Term_subtype___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_ident; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_subtype___closed__5; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_structInst___closed__1; +x_2 = l_Lean_Parser_Term_subtype___closed__5; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_subtype___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___closed__1; +x_1 = l_Lean_Parser_Term_subtype___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_subtype___closed__6; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } lean_object* _init_l_Lean_Parser_Term_subtype___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_subtype___closed__7; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_subtype___closed__9() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_subtype___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_subtype___closed__8; +x_3 = l_Lean_Parser_Term_subtype___closed__7; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_subtype___closed__10() { +lean_object* _init_l_Lean_Parser_Term_subtype___closed__9() { _start: { lean_object* x_1; @@ -19734,12 +19725,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_subtype___elambda__1), 2, 0) return x_1; } } -lean_object* _init_l_Lean_Parser_Term_subtype___closed__11() { +lean_object* _init_l_Lean_Parser_Term_subtype___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___closed__9; -x_2 = l_Lean_Parser_Term_subtype___closed__10; +x_1 = l_Lean_Parser_Term_subtype___closed__8; +x_2 = l_Lean_Parser_Term_subtype___closed__9; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -19750,7 +19741,7 @@ lean_object* _init_l_Lean_Parser_Term_subtype() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_subtype___closed__11; +x_1 = l_Lean_Parser_Term_subtype___closed__10; return x_1; } } @@ -20487,7 +20478,7 @@ lean_object* _init_l_Lean_Parser_Term_listLit___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_listLit___closed__2; @@ -21711,13 +21702,13 @@ lean_object* x_19; lean_object* x_20; uint8_t x_21; x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); lean_dec(x_18); -x_20 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_20 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_21 = lean_string_dec_eq(x_19, x_20); lean_dec(x_19); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_22 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_23 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_22, x_14); x_24 = l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_7); @@ -21736,7 +21727,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_18); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_28, x_14); x_30 = l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); @@ -21747,7 +21738,7 @@ else { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_dec(x_16); -x_32 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_32 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_32, x_14); x_34 = l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_7); @@ -21914,13 +21905,13 @@ lean_object* x_77; lean_object* x_78; uint8_t x_79; x_77 = lean_ctor_get(x_76, 1); lean_inc(x_77); lean_dec(x_76); -x_78 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_78 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_79 = lean_string_dec_eq(x_77, x_78); lean_dec(x_77); if (x_79 == 0) { lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_80 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_80 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_81 = l_Lean_Parser_ParserState_mkErrorsAt(x_73, x_80, x_72); x_82 = l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; x_83 = l_Lean_Parser_ParserState_mkNode(x_81, x_82, x_65); @@ -21943,7 +21934,7 @@ else { lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_dec(x_76); -x_88 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_88 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_89 = l_Lean_Parser_ParserState_mkErrorsAt(x_73, x_88, x_72); x_90 = l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; x_91 = l_Lean_Parser_ParserState_mkNode(x_89, x_90, x_65); @@ -21956,7 +21947,7 @@ else { lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_dec(x_74); -x_93 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_93 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_94 = l_Lean_Parser_ParserState_mkErrorsAt(x_73, x_93, x_72); x_95 = l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; x_96 = l_Lean_Parser_ParserState_mkNode(x_94, x_95, x_65); @@ -22009,7 +22000,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_inaccessible___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__4; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -23638,7 +23629,7 @@ lean_object* _init_l_Lean_Parser_Term_explicitBinder___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -23706,7 +23697,7 @@ lean_object* _init_l_Lean_Parser_Term_explicitBinder___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -23717,7 +23708,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_explicitBinder___closed__5; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -23758,7 +23749,7 @@ x_12 = l_Lean_Parser_Term_explicitBinder___closed__2; x_13 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_13, 0, x_12); lean_closure_set(x_13, 1, x_10); -x_14 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +x_14 = l_Lean_Parser_antiquotNestedExpr___closed__1; x_15 = l_Lean_Parser_andthenInfo(x_14, x_11); x_16 = l_Lean_Parser_Term_explicitBinder___closed__1; x_17 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); @@ -23905,6 +23896,16 @@ return x_18; lean_object* _init_l_Lean_Parser_Term_implicitBinder___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__5; +x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_implicitBinder___closed__2() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__5; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); @@ -23912,7 +23913,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_Term_implicitBinder___closed__2() { +lean_object* _init_l_Lean_Parser_Term_implicitBinder___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -23937,7 +23938,7 @@ x_7 = l_Lean_Parser_andthenInfo(x_5, x_6); x_8 = lean_ctor_get(x_4, 1); lean_inc(x_8); lean_dec(x_4); -x_9 = l_Lean_Parser_Term_implicitBinder___closed__2; +x_9 = l_Lean_Parser_Term_implicitBinder___closed__3; x_10 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_10, 0, x_8); lean_closure_set(x_10, 1, x_9); @@ -23946,9 +23947,9 @@ x_12 = l_Lean_Parser_Term_explicitBinder___closed__2; x_13 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_13, 0, x_12); lean_closure_set(x_13, 1, x_10); -x_14 = l_Lean_Parser_Term_subtype___closed__1; +x_14 = l_Lean_Parser_Term_implicitBinder___closed__1; x_15 = l_Lean_Parser_andthenInfo(x_14, x_11); -x_16 = l_Lean_Parser_Term_implicitBinder___closed__1; +x_16 = l_Lean_Parser_Term_implicitBinder___closed__2; x_17 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_17, 0, x_16); lean_closure_set(x_17, 1, x_13); @@ -24981,7 +24982,7 @@ lean_object* _init_l_Lean_Parser_Term_depArrow___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_depArrow___closed__1; @@ -26262,7 +26263,7 @@ lean_object* _init_l_Lean_Parser_Term_forall___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_explicitUniv___closed__2; @@ -27040,7 +27041,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Parser_darrow; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); @@ -27153,7 +27154,7 @@ lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_explicitUniv___closed__2; @@ -27190,7 +27191,7 @@ lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_darrow; @@ -31506,7 +31507,7 @@ lean_object* _init_l_Lean_Parser_Term_nomatch___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_nomatch___closed__1; @@ -31916,7 +31917,7 @@ lean_object* _init_l_Lean_Parser_Term_parser_x21___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_parser_x21___closed__1; @@ -32326,7 +32327,7 @@ lean_object* _init_l_Lean_Parser_Term_tparser_x21___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_tparser_x21___closed__1; @@ -33512,7 +33513,7 @@ lean_object* _init_l_Lean_Parser_Term_match__syntax___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_match___closed__3; @@ -33800,7 +33801,7 @@ lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letIdDecl___closed__4; @@ -34103,7 +34104,7 @@ lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letPatDecl___closed__2; @@ -34115,7 +34116,7 @@ lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letPatDecl___closed__3; @@ -34917,7 +34918,7 @@ lean_object* _init_l_Lean_Parser_Term_let___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Tactic_seq___closed__2; @@ -36443,7 +36444,7 @@ lean_object* _init_l_Lean_Parser_Term_doId___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_doId___closed__2; @@ -37257,7 +37258,7 @@ lean_object* _init_l_Lean_Parser_Term_doPat___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_leftArrow; @@ -37281,7 +37282,7 @@ lean_object* _init_l_Lean_Parser_Term_doPat___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_doPat___closed__2; @@ -37302,7 +37303,7 @@ lean_object* _init_l_Lean_Parser_Term_doPat___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_doPat___closed__4; @@ -37499,7 +37500,7 @@ lean_object* _init_l_Lean_Parser_Term_doExpr___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; @@ -38504,7 +38505,7 @@ lean_object* _init_l_Lean_Parser_Term_bracketedDoSeq___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_subtype___closed__1; +x_1 = l_Lean_Parser_Term_implicitBinder___closed__1; x_2 = l_Lean_Parser_Term_bracketedDoSeq___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -38728,7 +38729,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Parser_Term_leftArrow; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); @@ -41705,9 +41706,9 @@ lean_object* _init_l_Lean_Parser_Term_uminus___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_uminus___elambda__1___closed__5; -x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); +x_1 = l_Lean_Parser_Term_uminus___elambda__1___closed__5; +x_2 = l_Lean_Parser_Level_addLit___closed__1; +x_3 = l_Lean_Parser_symbolInfo(x_1, x_2); return x_3; } } @@ -41871,13 +41872,13 @@ lean_object* x_90; lean_object* x_91; uint8_t x_92; x_90 = lean_ctor_get(x_89, 1); lean_inc(x_90); lean_dec(x_89); -x_91 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_91 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_92 = lean_string_dec_eq(x_90, x_91); lean_dec(x_90); if (x_92 == 0) { lean_object* x_93; lean_object* x_94; -x_93 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_93 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_7); x_94 = l_Lean_Parser_ParserState_mkErrorsAt(x_86, x_93, x_7); x_49 = x_94; @@ -41893,7 +41894,7 @@ else { lean_object* x_95; lean_object* x_96; lean_dec(x_89); -x_95 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_95 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_7); x_96 = l_Lean_Parser_ParserState_mkErrorsAt(x_86, x_95, x_7); x_49 = x_96; @@ -41904,7 +41905,7 @@ else { lean_object* x_97; lean_object* x_98; lean_dec(x_87); -x_97 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_97 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_7); x_98 = l_Lean_Parser_ParserState_mkErrorsAt(x_86, x_97, x_7); x_49 = x_98; @@ -41945,13 +41946,13 @@ lean_object* x_20; lean_object* x_21; uint8_t x_22; x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); -x_21 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_21 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_22 = lean_string_dec_eq(x_20, x_21); lean_dec(x_20); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_23 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_24 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_23, x_15); x_25 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_8); @@ -41970,7 +41971,7 @@ else { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_19); -x_29 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_29 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_29, x_15); x_31 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_8); @@ -41981,7 +41982,7 @@ else { lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec(x_17); -x_33 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_33 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_34 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_33, x_15); x_35 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; x_36 = l_Lean_Parser_ParserState_mkNode(x_34, x_35, x_8); @@ -42254,13 +42255,13 @@ lean_object* x_198; lean_object* x_199; uint8_t x_200; x_198 = lean_ctor_get(x_197, 1); lean_inc(x_198); lean_dec(x_197); -x_199 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__3; +x_199 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; x_200 = lean_string_dec_eq(x_198, x_199); lean_dec(x_198); if (x_200 == 0) { lean_object* x_201; lean_object* x_202; -x_201 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_201 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_100); x_202 = l_Lean_Parser_ParserState_mkErrorsAt(x_194, x_201, x_100); x_157 = x_202; @@ -42276,7 +42277,7 @@ else { lean_object* x_203; lean_object* x_204; lean_dec(x_197); -x_203 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_203 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_100); x_204 = l_Lean_Parser_ParserState_mkErrorsAt(x_194, x_203, x_100); x_157 = x_204; @@ -42287,7 +42288,7 @@ else { lean_object* x_205; lean_object* x_206; lean_dec(x_195); -x_205 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__10; +x_205 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__10; lean_inc(x_100); x_206 = l_Lean_Parser_ParserState_mkErrorsAt(x_194, x_205, x_100); x_157 = x_206; @@ -42328,13 +42329,13 @@ lean_object* x_122; lean_object* x_123; uint8_t x_124; x_122 = lean_ctor_get(x_121, 1); lean_inc(x_122); lean_dec(x_121); -x_123 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_123 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_124 = lean_string_dec_eq(x_122, x_123); lean_dec(x_122); if (x_124 == 0) { lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_125 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_125 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_126 = l_Lean_Parser_ParserState_mkErrorsAt(x_118, x_125, x_117); x_127 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; x_128 = l_Lean_Parser_ParserState_mkNode(x_126, x_127, x_110); @@ -42357,7 +42358,7 @@ else { lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_dec(x_121); -x_133 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_133 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_134 = l_Lean_Parser_ParserState_mkErrorsAt(x_118, x_133, x_117); x_135 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; x_136 = l_Lean_Parser_ParserState_mkNode(x_134, x_135, x_110); @@ -42370,7 +42371,7 @@ else { lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_dec(x_119); -x_138 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_138 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_139 = l_Lean_Parser_ParserState_mkErrorsAt(x_118, x_138, x_117); x_140 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; x_141 = l_Lean_Parser_ParserState_mkNode(x_139, x_140, x_110); @@ -42596,7 +42597,7 @@ lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__1; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__1; x_2 = l_Lean_Parser_Term_namedArgument___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -42607,7 +42608,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_namedArgument___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__4; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__4; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -44039,7 +44040,7 @@ lean_object* _init_l_Lean_Parser_Term_dollar___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_dollar___closed__1; @@ -48261,7 +48262,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_listToExpr___rarg___closed__7; +x_2 = l_Lean_optionToExpr___rarg___lambda__1___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -50818,13 +50819,13 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_16 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_18 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_18, x_10); x_20 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_4); @@ -50843,7 +50844,7 @@ else { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_14); -x_24 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_24 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_24, x_10); x_26 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_4); @@ -50854,7 +50855,7 @@ else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_12); -x_28 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_28 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_28, x_10); x_30 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_4); @@ -50898,7 +50899,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_nonEmptySeq___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_2 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -51129,13 +51130,13 @@ lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_17 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_18 = lean_string_dec_eq(x_16, x_17); lean_dec(x_16); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_19 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_20 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_19, x_11); x_21 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_4); @@ -51154,7 +51155,7 @@ else { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_15); -x_25 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_25 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_25, x_11); x_27 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_4); @@ -51165,7 +51166,7 @@ else { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_13); -x_29 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_29 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_12, x_29, x_11); x_31 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_4); @@ -51428,13 +51429,13 @@ lean_object* x_14; lean_object* x_15; uint8_t x_16; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__4; +x_15 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_16 = lean_string_dec_eq(x_14, x_15); lean_dec(x_14); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_17 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_18 = l_Lean_Parser_ParserState_mkErrorsAt(x_10, x_17, x_9); x_19 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_4); @@ -51453,7 +51454,7 @@ else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_dec(x_13); -x_23 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_23 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_24 = l_Lean_Parser_ParserState_mkErrorsAt(x_10, x_23, x_9); x_25 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_4); @@ -51464,7 +51465,7 @@ else { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_11); -x_27 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___elambda__1___closed__7; +x_27 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; x_28 = l_Lean_Parser_ParserState_mkErrorsAt(x_10, x_27, x_9); x_29 = l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__2; x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_4); @@ -51510,7 +51511,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_funBinder; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__3; +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -52745,8 +52746,6 @@ l_Lean_Parser_Term_subtype___closed__9 = _init_l_Lean_Parser_Term_subtype___clos lean_mark_persistent(l_Lean_Parser_Term_subtype___closed__9); l_Lean_Parser_Term_subtype___closed__10 = _init_l_Lean_Parser_Term_subtype___closed__10(); lean_mark_persistent(l_Lean_Parser_Term_subtype___closed__10); -l_Lean_Parser_Term_subtype___closed__11 = _init_l_Lean_Parser_Term_subtype___closed__11(); -lean_mark_persistent(l_Lean_Parser_Term_subtype___closed__11); l_Lean_Parser_Term_subtype = _init_l_Lean_Parser_Term_subtype(); lean_mark_persistent(l_Lean_Parser_Term_subtype); res = l___regBuiltinParser_Lean_Parser_Term_subtype(lean_io_mk_world()); @@ -52994,6 +52993,8 @@ l_Lean_Parser_Term_implicitBinder___closed__1 = _init_l_Lean_Parser_Term_implici lean_mark_persistent(l_Lean_Parser_Term_implicitBinder___closed__1); l_Lean_Parser_Term_implicitBinder___closed__2 = _init_l_Lean_Parser_Term_implicitBinder___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_implicitBinder___closed__2); +l_Lean_Parser_Term_implicitBinder___closed__3 = _init_l_Lean_Parser_Term_implicitBinder___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_implicitBinder___closed__3); l_Lean_Parser_Term_instBinder___elambda__1___closed__1 = _init_l_Lean_Parser_Term_instBinder___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_instBinder___elambda__1___closed__1); l_Lean_Parser_Term_instBinder___elambda__1___closed__2 = _init_l_Lean_Parser_Term_instBinder___elambda__1___closed__2(); diff --git a/stage0/stdlib/Init/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Init/Lean/PrettyPrinter/Parenthesizer.c index c94710ad71..d38dde6565 100644 --- a/stage0/stdlib/Init/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Init/Lean/PrettyPrinter/Parenthesizer.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.PrettyPrinter.Parenthesizer -// Imports: Init.Lean.Parser Init.Lean.Elab.Command Init.Lean.Delaborator +// Imports: Init.Lean.Parser Init.Lean.Elab.Command Init.Lean.Elab.Quotation Init.Lean.Delaborator #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,66 +14,84 @@ extern "C" { #endif lean_object* l_Lean_PrettyPrinter_Parenthesizer_try_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer___closed__3; +lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_try_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalName___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Term_andthen___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer___rarg___closed__3; -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_quotedSymbol_parenthesizer(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__1; extern lean_object* l_Lean_nullKind; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer___closed__2; +extern lean_object* l_Lean_optionToExpr___rarg___lambda__1___closed__4; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolAux_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer___lambda__2(lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__1; -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_try_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer(lean_object*); +extern lean_object* l_Lean_Expr_hasSorry___main___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Delaborator_delabLam___lambda__1___closed__5; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__9; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_up(lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goRight___rarg(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_sepBy_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Module_2__mkEOI___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer___closed__3; +lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__7; lean_object* l_AssocList_find_x3f___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__7(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__3; lean_object* l_Lean_Syntax_MonadTraverser_getCur___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goRight___rarg___lambda__1(lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,21 +101,30 @@ extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goRight(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___closed__2; lean_object* lean_environment_find(lean_object*, lean_object*); +lean_object* l_Lean_fmt___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4(lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___closed__3; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__6___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Util_1__mkPanicMessage(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__5; extern lean_object* l_Lean_fieldIdxKind___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Name_toExprAux___main___closed__1; -lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___closed__1; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Quotation_10__toPreterm___main___closed__5; +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_regTacticParserAttribute___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goUp___boxed(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__4; lean_object* l_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__6(lean_object*, lean_object*); @@ -108,26 +135,32 @@ lean_object* l_Lean_SMap_empty___at_Lean_PrettyPrinter_parenthesizerAttribute___ lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__7; lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer___closed__2; lean_object* lean_array_get_size(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer(lean_object*); extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goRight___rarg___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer___closed__2; lean_object* l_List_range(lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_parenthesizeCommand(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; lean_object* l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolNoWsAux_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizeTerm(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___rarg(lean_object*, lean_object*, lean_object*); @@ -135,9 +168,12 @@ extern lean_object* l_Lean_Name_toExprAux___main___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___boxed(lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___closed__5; lean_object* l_Lean_Expr_appArg_x21(lean_object*); +extern lean_object* l_Lean_optionToExpr___rarg___lambda__1___closed__1; extern lean_object* l_Lean_mkAppStx___closed__4; +lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___lambda__2(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___rarg___closed__1; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -154,55 +190,70 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_paren lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalName___main___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4___boxed(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__13; -lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_monadQuotation___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__11; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolAux_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___closed__1; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___closed__2; +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___elambda__1___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__1; +extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalName___main___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_setCur(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___rarg___lambda__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__3; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___closed__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalName___main___closed__4; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___lambda__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__2; lean_object* l_Lean_Syntax_MonadTraverser_setCur___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__2; extern lean_object* l_Lean_Option_format___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__4; extern lean_object* l_Lean_Nat_HasQuote___closed__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___closed__1; extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); @@ -212,6 +263,8 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolAux_parenthesizer(lean_object*); +extern lean_object* l_Lean_choiceKind___closed__2; +extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_getIdx(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -222,13 +275,17 @@ lean_object* l_Lean_MonadTracerAdapter_addTrace___at_Lean_PrettyPrinter_Parenthe lean_object* l_Lean_Meta_evalNat___main(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_monadQuotation___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_monadQuotation; +extern lean_object* l_Lean_Parser_Tactic_seq___elambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___rarg(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_sepBy_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer(lean_object*); extern lean_object* l_Lean_Parser_regTermParserAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__2; @@ -239,8 +296,10 @@ lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___closed__5; extern lean_object* l_Lean_Unhygienic_MonadQuotation___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -251,15 +310,18 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_monadQuotation___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer___boxed(lean_object*); size_t l_Lean_Name_hash(lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalOptPrec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__2; +extern lean_object* l_Lean_Parser_regCommandParserAttribute___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalOptPrec___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__1___boxed(lean_object*); @@ -275,6 +337,8 @@ lean_object* l_Lean_MonadTracerAdapter_addTrace___at_Lean_PrettyPrinter_Parenthe lean_object* l_Lean_fmt___at_Lean_Level_LevelToFormat_Result_format___main___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer___rarg___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___boxed(lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___closed__3; extern lean_object* l_Lean_Delaborator_delabLam___lambda__1___closed__2; lean_object* l_Lean_Meta_addContext(lean_object*, lean_object*, lean_object*); @@ -283,14 +347,20 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__1 lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___closed__3; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_monadQuotation___spec__1(lean_object*); lean_object* l_ReaderT_lift___at_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_quotedSymbol_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goDown___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__2; lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l_Lean_attrParamSyntaxToIdentifier(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___rarg___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer___rarg___closed__1; +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer___closed__2; size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_PrettyPrinter_parenthesizerAttribute___spec__1___closed__2; @@ -300,12 +370,17 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_par lean_object* l___private_Init_Lean_PrettyPrinter_Parenthesizer_1__regTraceClasses(lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__3; +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Option_format___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__5(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__18; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalName___main___closed__5; +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(lean_object*); lean_object* l_mkHashMapImp___rarg(lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___boxed(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolAux_parenthesizer___closed__2; lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___spec__3(lean_object*, lean_object*); lean_object* l_StateT_get___at_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -314,6 +389,7 @@ lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__9; lean_object* l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Elab_Term_Quotation_isAntiquot(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__1; @@ -321,17 +397,18 @@ uint8_t l_Lean_Expr_isAppOfArity___main(lean_object*, lean_object*, lean_object* lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolNoWsAux_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___lambda__1___closed__2; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___rarg___lambda__1(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___elambda__1___closed__5; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__5; lean_object* l_Lean_Syntax_MonadTraverser_goUp(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer(lean_object*, lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_monadQuotation___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__2; @@ -349,20 +426,28 @@ lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_many1_pa lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer(lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_PrettyPrinter_parenthesizerAttribute___spec__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__6; +lean_object* l_Lean_Syntax_getHeadInfo___main(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___closed__4; lean_object* l_StateT_get___at_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_quotedSymbol_parenthesizer___closed__2; lean_object* l_ReaderT_bind___at_Lean_Level_quote___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_appPrec; lean_object* l_AssocList_find_x3f___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__7___boxed(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolAux_parenthesizer___closed__3; -lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__1; +lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__4; +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Option_format___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__6(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___closed__2; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_monadQuotation___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__8; +extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___closed__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(lean_object*); @@ -370,19 +455,22 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer___box lean_object* l_Lean_Syntax_Traverser_down(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___closed__3; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___rarg___lambda__1(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer___closed__1; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_quotedSymbol_parenthesizer___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer___closed__3; lean_object* l_Lean_Expr_getRevArg_x21___main(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoWsAux_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___closed__2; -lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___boxed(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer___rarg___closed__4; @@ -393,29 +481,33 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_pa lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__4; lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Syntax_Traverser_right(lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_monadQuotation___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_Monad___rarg(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_quotedSymbol_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__15; +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1___closed__4; +extern lean_object* l_Lean_Parser_quotedSymbolFn___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___closed__3; lean_object* l_Lean_Syntax_MonadTraverser_goRight___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___rarg___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___elambda__1___closed__4; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_PrettyPrinter_parenthesizerAttribute___spec__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__1; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -425,18 +517,23 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_termParser_parenthe extern lean_object* l_Lean_Parser_unicodeSymbolFn___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolNoWsAux_parenthesizer(lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_tacticParser_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*); lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x3f(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_PrettyPrinter_parenthesizerAttribute___spec__2(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_quotedSymbol_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_OpenDecl_HasToString___closed__2; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___closed__3; extern lean_object* l_PUnit_Inhabited; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__3; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer(lean_object*); extern lean_object* l_Lean_Option_format___rarg___closed__3; lean_object* l_Lean_Syntax_MonadTraverser_goUp___rarg___lambda__1(lean_object*); @@ -444,8 +541,13 @@ lean_object* l_String_trim(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolAux_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__4; lean_object* lean_array_pop(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer___closed__3; lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_arrayExpr_toMessageData___main___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer(lean_object*); @@ -456,14 +558,23 @@ lean_object* l_Lean_Syntax_MonadTraverser_goUp___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer(lean_object*); +extern lean_object* l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses___closed__1; lean_object* l_Lean_PrettyPrinter_parenthesizeTerm___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___rarg___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__5; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__16; lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__7; @@ -471,9 +582,12 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_monadQuotation___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1___closed__1; extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalName___main___closed__3; extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___main___rarg___closed__1; +lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Nat_Inhabited; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -481,47 +595,50 @@ lean_object* l_ReaderT_lift___at_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_depArrow_parenthesizer(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_commentBody_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27; lean_object* l_Nat_min(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__12; lean_object* l_Lean_PrettyPrinter_parenthesizeTerm___closed__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoWsAux_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__6; -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__10; lean_object* l_Lean_Syntax_Traverser_left(lean_object*); -lean_object* l_Lean_fmt___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__5(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_quotedSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___elambda__1___closed__1; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalOptPrec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2(lean_object*); -lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___boxed(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_lift___at_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getTailInfo___main(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__4; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_depArrow_x27___elambda__1___closed__6; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; -lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___main___at_Lean_PrettyPrinter_Parenthesizer_sepBy_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_levelParser_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_11__antiquotNestedExpr___closed__2; extern lean_object* l___private_Init_Lean_Syntax_9__quoteOption___rarg___closed__5; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_unquotedSymbol_parenthesizer(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___closed__1; extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_symbolNoWsAux_parenthesizer___closed__3; +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___rarg___lambda__1___boxed(lean_object*); +extern lean_object* l_Lean_Parser_Level_paren___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_try_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -531,6 +648,7 @@ lean_object* l_List_forM___main___at_Lean_PrettyPrinter_Parenthesizer_sepBy_pare lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__4(lean_object*, size_t, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ParenthesizerM_monadTraverser; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_termParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_fromSyntax(lean_object* x_1) { @@ -1575,24 +1693,27 @@ return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_11 = lean_ctor_get(x_3, 1); x_12 = lean_ctor_get(x_3, 2); +x_13 = lean_ctor_get(x_3, 3); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_dec(x_3); -x_13 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_11); -lean_ctor_set(x_13, 2, x_12); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); +x_14 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_11); +lean_ctor_set(x_14, 2, x_12); +lean_ctor_set(x_14, 3, x_13); +x_15 = lean_box(0); x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_5); -return x_16; +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_5); +return x_17; } } } @@ -1638,42 +1759,45 @@ return x_16; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_17 = lean_ctor_get(x_4, 0); x_18 = lean_ctor_get(x_4, 1); x_19 = lean_ctor_get(x_4, 2); +x_20 = lean_ctor_get(x_4, 3); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_dec(x_4); -x_20 = lean_apply_1(x_2, x_17); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +x_21 = lean_apply_1(x_2, x_17); +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_23 = x_20; +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_24 = x_21; } else { - lean_dec_ref(x_20); - x_23 = lean_box(0); + lean_dec_ref(x_21); + x_24 = lean_box(0); } -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_18); -lean_ctor_set(x_24, 2, x_19); -if (lean_is_scalar(x_23)) { - x_25 = lean_alloc_ctor(0, 2, 0); +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 2, x_19); +lean_ctor_set(x_25, 3, x_20); +if (lean_is_scalar(x_24)) { + x_26 = lean_alloc_ctor(0, 2, 0); } else { - x_25 = x_23; + x_26 = x_24; } -lean_ctor_set(x_25, 0, x_21); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_6); -return x_26; +lean_ctor_set(x_26, 0, x_22); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_6); +return x_27; } } } @@ -1800,7 +1924,7 @@ lean_dec(x_3); return x_7; } } -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -1818,14 +1942,427 @@ lean_ctor_set(x_7, 1, x_3); return x_7; } } -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1(lean_object* x_1) { +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg___boxed), 3, 0); return x_2; } } +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_1, 0); +x_6 = l_Lean_Syntax_Traverser_left(x_5); +lean_ctor_set(x_1, 0, x_6); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_3); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 2); +x_13 = lean_ctor_get(x_1, 3); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_1); +x_14 = l_Lean_Syntax_Traverser_left(x_10); +x_15 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); +lean_ctor_set(x_15, 2, x_12); +lean_ctor_set(x_15, 3, x_13); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +return x_18; +} +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_3, 0); +x_8 = l_Lean_Syntax_Traverser_down(x_7, x_1); +lean_ctor_set(x_3, 0, x_8); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_5); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); +x_14 = lean_ctor_get(x_3, 2); +x_15 = lean_ctor_get(x_3, 3); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_3); +x_16 = l_Lean_Syntax_Traverser_down(x_12, x_1); +x_17 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_13); +lean_ctor_set(x_17, 2, x_14); +lean_ctor_set(x_17, 3, x_15); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_5); +return x_20; +} +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_1, 0); +x_6 = l_Lean_Syntax_Traverser_up(x_5); +lean_ctor_set(x_1, 0, x_6); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_3); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 2); +x_13 = lean_ctor_get(x_1, 3); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_1); +x_14 = l_Lean_Syntax_Traverser_up(x_10); +x_15 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); +lean_ctor_set(x_15, 2, x_12); +lean_ctor_set(x_15, 3, x_13); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +return x_18; +} +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_6 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = l_Lean_Syntax_getArgs(x_9); +lean_dec(x_9); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec(x_2); +lean_dec(x_1); +x_15 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_10, x_4, x_8); +lean_dec(x_4); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_12, x_16); +lean_dec(x_12); +x_18 = l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(x_17, x_2, x_10, x_4, x_8); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_4); +x_22 = lean_apply_4(x_1, x_2, x_21, x_4, x_20); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(x_25, x_4, x_24); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_29, x_4, x_28); +lean_dec(x_4); +return x_30; +} +else +{ +uint8_t x_31; +lean_dec(x_4); +x_31 = !lean_is_exclusive(x_22); +if (x_31 == 0) +{ +return x_22; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_22, 0); +x_33 = lean_ctor_get(x_22, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_22); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_6; +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_eq(x_2, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_sub(x_2, x_9); +lean_dec(x_2); +x_11 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(x_4, x_5, x_6); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = l_Lean_Syntax_getKind(x_14); +x_17 = lean_box(0); +x_18 = l_Lean_mkConst(x_16, x_17); +lean_inc(x_5); +lean_inc(x_3); +x_19 = l_Lean_PrettyPrinter_Parenthesizer_visit___main(x_18, x_3, x_15, x_5, x_13); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_2 = x_10; +x_4 = x_22; +x_6 = x_21; +goto _start; +} +else +{ +uint8_t x_24; +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_3); +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +return x_19; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_19); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_4); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_6); +return x_30; +} +} +} lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -2324,7 +2861,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_visit___main(lean_object* x_1, l _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___rarg(x_3, x_4, x_5); +x_6 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(x_3, x_4, x_5); x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); x_8 = lean_ctor_get(x_6, 1); @@ -2340,7 +2877,7 @@ lean_inc(x_4); x_12 = l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(x_1, x_4, x_8); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_107; lean_object* x_108; lean_object* x_137; uint8_t x_138; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_93; lean_object* x_94; lean_object* x_123; uint8_t x_124; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -2349,1002 +2886,906 @@ lean_dec(x_12); x_15 = l_Lean_Expr_getAppFn___main(x_13); x_16 = l_Lean_Expr_constName_x3f(x_15); lean_dec(x_15); -x_137 = lean_ctor_get(x_14, 4); -lean_inc(x_137); -x_138 = lean_ctor_get_uint8(x_137, sizeof(void*)*1); -lean_dec(x_137); -if (x_138 == 0) +x_123 = lean_ctor_get(x_14, 4); +lean_inc(x_123); +x_124 = lean_ctor_get_uint8(x_123, sizeof(void*)*1); +lean_dec(x_123); +if (x_124 == 0) { -uint8_t x_139; lean_object* x_140; -x_139 = 0; -x_140 = lean_box(x_139); -lean_ctor_set(x_7, 0, x_140); -x_107 = x_7; -x_108 = x_14; -goto block_136; +uint8_t x_125; lean_object* x_126; +x_125 = 0; +x_126 = lean_box(x_125); +lean_ctor_set(x_7, 0, x_126); +x_93 = x_7; +x_94 = x_14; +goto block_122; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_141 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; -x_142 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_141, x_4, x_14); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -lean_ctor_set(x_7, 0, x_143); -x_107 = x_7; -x_108 = x_144; -goto block_136; +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_127 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; +x_128 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_127, x_4, x_14); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +lean_ctor_set(x_7, 0, x_129); +x_93 = x_7; +x_94 = x_130; +goto block_122; } -block_106: +block_92: { -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_19; lean_object* x_20; +lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -lean_inc(x_4); -lean_inc(x_13); -x_20 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_13, x_4, x_18); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -lean_dec(x_19); -lean_dec(x_4); -lean_dec(x_2); -x_22 = !lean_is_exclusive(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_20, 0); -lean_dec(x_23); -x_24 = lean_expr_dbg_to_string(x_13); -lean_dec(x_13); -x_25 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_26 = lean_string_append(x_25, x_24); -lean_dec(x_24); -x_27 = l_Char_HasRepr___closed__1; -x_28 = lean_string_append(x_26, x_27); -x_29 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set_tag(x_20, 1); -lean_ctor_set(x_20, 0, x_29); -return x_20; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_30 = lean_ctor_get(x_20, 1); -lean_inc(x_30); -lean_dec(x_20); -x_31 = lean_expr_dbg_to_string(x_13); -lean_dec(x_13); -x_32 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_33 = lean_string_append(x_32, x_31); -lean_dec(x_31); -x_34 = l_Char_HasRepr___closed__1; -x_35 = lean_string_append(x_33, x_34); -x_36 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_36, 0, x_35); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_30); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; -lean_dec(x_13); -x_38 = lean_ctor_get(x_20, 1); -lean_inc(x_38); -lean_dec(x_20); -x_39 = lean_ctor_get(x_21, 0); -lean_inc(x_39); -lean_dec(x_21); -x_1 = x_39; -x_3 = x_19; -x_5 = x_38; -goto _start; -} -} -else -{ -uint8_t x_41; -lean_dec(x_19); -lean_dec(x_13); -lean_dec(x_4); -lean_dec(x_2); -x_41 = !lean_is_exclusive(x_20); -if (x_41 == 0) -{ -return x_20; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_20, 0); -x_43 = lean_ctor_get(x_20, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_20); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_45 = lean_ctor_get(x_17, 1); -lean_inc(x_45); -lean_dec(x_17); -x_46 = lean_ctor_get(x_16, 0); -lean_inc(x_46); -lean_dec(x_16); -x_47 = lean_ctor_get(x_18, 0); -lean_inc(x_47); -x_48 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -x_50 = l_Lean_PersistentEnvExtension_getState___rarg(x_49, x_47); -lean_dec(x_47); -lean_dec(x_49); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__2(x_51, x_46); -lean_dec(x_46); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; -lean_inc(x_4); -lean_inc(x_13); -x_53 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_13, x_4, x_18); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -if (lean_obj_tag(x_54) == 0) -{ -uint8_t x_55; -lean_dec(x_45); -lean_dec(x_4); -lean_dec(x_2); -x_55 = !lean_is_exclusive(x_53); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_56 = lean_ctor_get(x_53, 0); -lean_dec(x_56); -x_57 = lean_expr_dbg_to_string(x_13); -lean_dec(x_13); -x_58 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_59 = lean_string_append(x_58, x_57); -lean_dec(x_57); -x_60 = l_Char_HasRepr___closed__1; -x_61 = lean_string_append(x_59, x_60); -x_62 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set_tag(x_53, 1); -lean_ctor_set(x_53, 0, x_62); -return x_53; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_63 = lean_ctor_get(x_53, 1); -lean_inc(x_63); -lean_dec(x_53); -x_64 = lean_expr_dbg_to_string(x_13); -lean_dec(x_13); -x_65 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_66 = lean_string_append(x_65, x_64); -lean_dec(x_64); -x_67 = l_Char_HasRepr___closed__1; -x_68 = lean_string_append(x_66, x_67); -x_69 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_63); -return x_70; -} -} -else -{ -lean_object* x_71; lean_object* x_72; -lean_dec(x_13); -x_71 = lean_ctor_get(x_53, 1); -lean_inc(x_71); -lean_dec(x_53); -x_72 = lean_ctor_get(x_54, 0); -lean_inc(x_72); -lean_dec(x_54); -x_1 = x_72; -x_3 = x_45; -x_5 = x_71; -goto _start; -} -} -else -{ -uint8_t x_74; -lean_dec(x_45); -lean_dec(x_13); -lean_dec(x_4); -lean_dec(x_2); -x_74 = !lean_is_exclusive(x_53); -if (x_74 == 0) -{ -return x_53; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_53, 0); -x_76 = lean_ctor_get(x_53, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_53); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -else -{ -lean_object* x_78; -x_78 = lean_ctor_get(x_52, 0); -lean_inc(x_78); -lean_dec(x_52); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; -lean_inc(x_4); -lean_inc(x_13); -x_79 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_13, x_4, x_18); -if (lean_obj_tag(x_79) == 0) +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +if (lean_obj_tag(x_16) == 0) { lean_object* x_80; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -if (lean_obj_tag(x_80) == 0) +lean_dec(x_20); +x_80 = lean_box(0); +x_21 = x_80; +goto block_79; +} +else { -uint8_t x_81; -lean_dec(x_45); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_81 = lean_ctor_get(x_16, 0); +lean_inc(x_81); +x_82 = l_Lean_PrettyPrinter_parenthesizerAttribute; +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +x_84 = l_Lean_PersistentEnvExtension_getState___rarg(x_83, x_20); +lean_dec(x_20); +lean_dec(x_83); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_86 = l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__2(x_85, x_81); +lean_dec(x_81); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; +x_87 = lean_box(0); +x_21 = x_87; +goto block_79; +} +else +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +lean_dec(x_86); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; +x_89 = lean_box(0); +x_21 = x_89; +goto block_79; +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_16); +lean_dec(x_10); +x_90 = lean_ctor_get(x_88, 0); +lean_inc(x_90); +lean_dec(x_88); +x_91 = lean_apply_5(x_90, x_13, x_2, x_19, x_4, x_18); +return x_91; +} +} +} +block_79: +{ +lean_dec(x_21); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_22; +lean_dec(x_10); +lean_inc(x_4); +lean_inc(x_13); +x_22 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_13, x_4, x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +lean_dec(x_19); lean_dec(x_4); lean_dec(x_2); -x_81 = !lean_is_exclusive(x_79); -if (x_81 == 0) +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_82 = lean_ctor_get(x_79, 0); -lean_dec(x_82); -x_83 = lean_expr_dbg_to_string(x_13); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); +x_26 = lean_expr_dbg_to_string(x_13); lean_dec(x_13); -x_84 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_85 = lean_string_append(x_84, x_83); -lean_dec(x_83); -x_86 = l_Char_HasRepr___closed__1; -x_87 = lean_string_append(x_85, x_86); -x_88 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set_tag(x_79, 1); -lean_ctor_set(x_79, 0, x_88); -return x_79; +x_27 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; +x_28 = lean_string_append(x_27, x_26); +lean_dec(x_26); +x_29 = l_Char_HasRepr___closed__1; +x_30 = lean_string_append(x_28, x_29); +x_31 = lean_alloc_ctor(22, 1, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set_tag(x_22, 1); +lean_ctor_set(x_22, 0, x_31); +return x_22; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_89 = lean_ctor_get(x_79, 1); -lean_inc(x_89); -lean_dec(x_79); -x_90 = lean_expr_dbg_to_string(x_13); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_dec(x_22); +x_33 = lean_expr_dbg_to_string(x_13); lean_dec(x_13); -x_91 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_92 = lean_string_append(x_91, x_90); -lean_dec(x_90); -x_93 = l_Char_HasRepr___closed__1; -x_94 = lean_string_append(x_92, x_93); -x_95 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_89); -return x_96; +x_34 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; +x_35 = lean_string_append(x_34, x_33); +lean_dec(x_33); +x_36 = l_Char_HasRepr___closed__1; +x_37 = lean_string_append(x_35, x_36); +x_38 = lean_alloc_ctor(22, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_32); +return x_39; } } else { -lean_object* x_97; lean_object* x_98; +lean_object* x_40; lean_object* x_41; lean_dec(x_13); -x_97 = lean_ctor_get(x_79, 1); -lean_inc(x_97); -lean_dec(x_79); -x_98 = lean_ctor_get(x_80, 0); -lean_inc(x_98); -lean_dec(x_80); -x_1 = x_98; -x_3 = x_45; -x_5 = x_97; +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_dec(x_22); +x_41 = lean_ctor_get(x_23, 0); +lean_inc(x_41); +lean_dec(x_23); +x_1 = x_41; +x_3 = x_19; +x_5 = x_40; goto _start; } } else { -uint8_t x_100; -lean_dec(x_45); +uint8_t x_43; +lean_dec(x_19); lean_dec(x_13); lean_dec(x_4); lean_dec(x_2); -x_100 = !lean_is_exclusive(x_79); -if (x_100 == 0) +x_43 = !lean_is_exclusive(x_22); +if (x_43 == 0) { -return x_79; +return x_22; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_79, 0); -x_102 = lean_ctor_get(x_79, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_79); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_22, 0); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_22); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_78, 0); -lean_inc(x_104); -lean_dec(x_78); -x_105 = lean_apply_5(x_104, x_13, x_2, x_45, x_4, x_18); -return x_105; -} -} -} -} -block_136: +lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_16, 0); +lean_inc(x_47); +lean_dec(x_16); +x_48 = l_Lean_choiceKind___closed__2; +x_49 = lean_name_eq(x_47, x_48); +lean_dec(x_47); +if (x_49 == 0) { -lean_object* x_109; uint8_t x_110; -x_109 = lean_ctor_get(x_107, 0); -lean_inc(x_109); -x_110 = lean_unbox(x_109); -lean_dec(x_109); -if (x_110 == 0) -{ -uint8_t x_111; +lean_object* x_50; lean_dec(x_10); -x_111 = !lean_is_exclusive(x_107); -if (x_111 == 0) -{ -lean_object* x_112; lean_object* x_113; -x_112 = lean_ctor_get(x_107, 0); -lean_dec(x_112); -x_113 = lean_box(0); -lean_ctor_set(x_107, 0, x_113); -x_17 = x_107; -x_18 = x_108; -goto block_106; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_107, 1); -lean_inc(x_114); -lean_dec(x_107); -x_115 = lean_box(0); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -x_17 = x_116; -x_18 = x_108; -goto block_106; -} -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_117 = lean_ctor_get(x_107, 1); -lean_inc(x_117); -lean_dec(x_107); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_10); -x_119 = l_Lean_MessageData_ofList___closed__3; -x_120 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = lean_unsigned_to_nat(2u); -x_122 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_120); -x_123 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__7; -x_124 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_119); -x_126 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__10; -x_127 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); +lean_inc(x_4); lean_inc(x_13); -x_128 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_128, 0, x_13); -x_129 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_129, 0, x_119); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_130, 0, x_121); -lean_ctor_set(x_130, 1, x_129); -x_131 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_131, 0, x_127); -lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; -x_133 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__8(x_132, x_131, x_2, x_117, x_4, x_108); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_17 = x_134; -x_18 = x_135; -goto block_106; +x_50 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_13, x_4, x_18); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +if (lean_obj_tag(x_51) == 0) +{ +uint8_t x_52; +lean_dec(x_19); +lean_dec(x_4); +lean_dec(x_2); +x_52 = !lean_is_exclusive(x_50); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_53 = lean_ctor_get(x_50, 0); +lean_dec(x_53); +x_54 = lean_expr_dbg_to_string(x_13); +lean_dec(x_13); +x_55 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; +x_56 = lean_string_append(x_55, x_54); +lean_dec(x_54); +x_57 = l_Char_HasRepr___closed__1; +x_58 = lean_string_append(x_56, x_57); +x_59 = lean_alloc_ctor(22, 1, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set_tag(x_50, 1); +lean_ctor_set(x_50, 0, x_59); +return x_50; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_ctor_get(x_50, 1); +lean_inc(x_60); +lean_dec(x_50); +x_61 = lean_expr_dbg_to_string(x_13); +lean_dec(x_13); +x_62 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; +x_63 = lean_string_append(x_62, x_61); +lean_dec(x_61); +x_64 = l_Char_HasRepr___closed__1; +x_65 = lean_string_append(x_63, x_64); +x_66 = lean_alloc_ctor(22, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_60); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_13); +x_68 = lean_ctor_get(x_50, 1); +lean_inc(x_68); +lean_dec(x_50); +x_69 = lean_ctor_get(x_51, 0); +lean_inc(x_69); +lean_dec(x_51); +x_1 = x_69; +x_3 = x_19; +x_5 = x_68; +goto _start; +} +} +else +{ +uint8_t x_71; +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_4); +lean_dec(x_2); +x_71 = !lean_is_exclusive(x_50); +if (x_71 == 0) +{ +return x_50; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_50, 0); +x_73 = lean_ctor_get(x_50, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_50); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } else { -uint8_t x_145; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_13); +x_75 = l_Lean_Syntax_getArgs(x_10); +lean_dec(x_10); +x_76 = lean_array_get_size(x_75); +lean_dec(x_75); +lean_inc(x_76); +x_77 = lean_alloc_closure((void*)(l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___boxed), 6, 2); +lean_closure_set(x_77, 0, x_76); +lean_closure_set(x_77, 1, x_76); +x_78 = l_Lean_PrettyPrinter_Parenthesizer_visitArgs(x_77, x_2, x_19, x_4, x_18); +return x_78; +} +} +} +} +block_122: +{ +lean_object* x_95; uint8_t x_96; +x_95 = lean_ctor_get(x_93, 0); +lean_inc(x_95); +x_96 = lean_unbox(x_95); +lean_dec(x_95); +if (x_96 == 0) +{ +uint8_t x_97; +x_97 = !lean_is_exclusive(x_93); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_93, 0); +lean_dec(x_98); +x_99 = lean_box(0); +lean_ctor_set(x_93, 0, x_99); +x_17 = x_93; +x_18 = x_94; +goto block_92; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_93, 1); +lean_inc(x_100); +lean_dec(x_93); +x_101 = lean_box(0); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_17 = x_102; +x_18 = x_94; +goto block_92; +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_103 = lean_ctor_get(x_93, 1); +lean_inc(x_103); +lean_dec(x_93); +lean_inc(x_10); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_10); +x_105 = l_Lean_MessageData_ofList___closed__3; +x_106 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = lean_unsigned_to_nat(2u); +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__7; +x_110 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_105); +x_112 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__10; +x_113 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +lean_inc(x_13); +x_114 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_114, 0, x_13); +x_115 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_115, 0, x_105); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_116, 0, x_107); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_117, 0, x_113); +lean_ctor_set(x_117, 1, x_116); +x_118 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; +x_119 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__8(x_118, x_117, x_2, x_103, x_4, x_94); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_17 = x_120; +x_18 = x_121; +goto block_92; +} +} +} +else +{ +uint8_t x_131; lean_free_object(x_7); lean_dec(x_11); lean_dec(x_10); lean_dec(x_4); lean_dec(x_2); -x_145 = !lean_is_exclusive(x_12); -if (x_145 == 0) +x_131 = !lean_is_exclusive(x_12); +if (x_131 == 0) { return x_12; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_12, 0); -x_147 = lean_ctor_get(x_12, 1); -lean_inc(x_147); -lean_inc(x_146); +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_12, 0); +x_133 = lean_ctor_get(x_12, 1); +lean_inc(x_133); +lean_inc(x_132); lean_dec(x_12); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; } } } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_7, 0); -x_150 = lean_ctor_get(x_7, 1); -lean_inc(x_150); -lean_inc(x_149); +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_7, 0); +x_136 = lean_ctor_get(x_7, 1); +lean_inc(x_136); +lean_inc(x_135); lean_dec(x_7); lean_inc(x_4); -x_151 = l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(x_1, x_4, x_8); -if (lean_obj_tag(x_151) == 0) +x_137 = l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(x_1, x_4, x_8); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_225; lean_object* x_226; lean_object* x_253; uint8_t x_254; -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = l_Lean_Expr_getAppFn___main(x_152); -x_155 = l_Lean_Expr_constName_x3f(x_154); -lean_dec(x_154); -x_253 = lean_ctor_get(x_153, 4); -lean_inc(x_253); -x_254 = lean_ctor_get_uint8(x_253, sizeof(void*)*1); -lean_dec(x_253); -if (x_254 == 0) +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_204; lean_object* x_205; lean_object* x_232; uint8_t x_233; +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); +x_140 = l_Lean_Expr_getAppFn___main(x_138); +x_141 = l_Lean_Expr_constName_x3f(x_140); +lean_dec(x_140); +x_232 = lean_ctor_get(x_139, 4); +lean_inc(x_232); +x_233 = lean_ctor_get_uint8(x_232, sizeof(void*)*1); +lean_dec(x_232); +if (x_233 == 0) { -uint8_t x_255; lean_object* x_256; lean_object* x_257; -x_255 = 0; -x_256 = lean_box(x_255); -x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_150); -x_225 = x_257; -x_226 = x_153; -goto block_252; +uint8_t x_234; lean_object* x_235; lean_object* x_236; +x_234 = 0; +x_235 = lean_box(x_234); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_136); +x_204 = x_236; +x_205 = x_139; +goto block_231; } else { -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_258 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; -x_259 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_258, x_4, x_153); -x_260 = lean_ctor_get(x_259, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_259, 1); -lean_inc(x_261); -lean_dec(x_259); -x_262 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_150); -x_225 = x_262; -x_226 = x_261; -goto block_252; +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_237 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; +x_238 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_237, x_4, x_139); +x_239 = lean_ctor_get(x_238, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_238, 1); +lean_inc(x_240); +lean_dec(x_238); +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_239); +lean_ctor_set(x_241, 1, x_136); +x_204 = x_241; +x_205 = x_240; +goto block_231; } -block_224: +block_203: { -if (lean_obj_tag(x_155) == 0) +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = lean_ctor_get(x_143, 0); +lean_inc(x_145); +if (lean_obj_tag(x_141) == 0) { -lean_object* x_158; lean_object* x_159; -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); -lean_dec(x_156); -lean_inc(x_4); -lean_inc(x_152); -x_159 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_152, x_4, x_157); -if (lean_obj_tag(x_159) == 0) -{ -lean_object* x_160; -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -if (lean_obj_tag(x_160) == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_158); -lean_dec(x_4); -lean_dec(x_2); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_162 = x_159; -} else { - lean_dec_ref(x_159); - x_162 = lean_box(0); -} -x_163 = lean_expr_dbg_to_string(x_152); -lean_dec(x_152); -x_164 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_165 = lean_string_append(x_164, x_163); -lean_dec(x_163); -x_166 = l_Char_HasRepr___closed__1; -x_167 = lean_string_append(x_165, x_166); -x_168 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_168, 0, x_167); -if (lean_is_scalar(x_162)) { - x_169 = lean_alloc_ctor(1, 2, 0); -} else { - x_169 = x_162; - lean_ctor_set_tag(x_169, 1); -} -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_161); -return x_169; +lean_object* x_191; +lean_dec(x_145); +x_191 = lean_box(0); +x_146 = x_191; +goto block_190; } else { -lean_object* x_170; lean_object* x_171; -lean_dec(x_152); -x_170 = lean_ctor_get(x_159, 1); -lean_inc(x_170); -lean_dec(x_159); -x_171 = lean_ctor_get(x_160, 0); -lean_inc(x_171); -lean_dec(x_160); -x_1 = x_171; -x_3 = x_158; -x_5 = x_170; -goto _start; -} -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -lean_dec(x_158); -lean_dec(x_152); -lean_dec(x_4); -lean_dec(x_2); -x_173 = lean_ctor_get(x_159, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_159, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_175 = x_159; -} else { - lean_dec_ref(x_159); - x_175 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(1, 2, 0); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_174); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_177 = lean_ctor_get(x_156, 1); -lean_inc(x_177); -lean_dec(x_156); -x_178 = lean_ctor_get(x_155, 0); -lean_inc(x_178); -lean_dec(x_155); -x_179 = lean_ctor_get(x_157, 0); -lean_inc(x_179); -x_180 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -x_182 = l_Lean_PersistentEnvExtension_getState___rarg(x_181, x_179); -lean_dec(x_179); -lean_dec(x_181); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -lean_dec(x_182); -x_184 = l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__2(x_183, x_178); -lean_dec(x_178); -if (lean_obj_tag(x_184) == 0) -{ -lean_object* x_185; -lean_inc(x_4); -lean_inc(x_152); -x_185 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_152, x_4, x_157); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -if (lean_obj_tag(x_186) == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -lean_dec(x_177); -lean_dec(x_4); -lean_dec(x_2); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_188 = x_185; -} else { - lean_dec_ref(x_185); - x_188 = lean_box(0); -} -x_189 = lean_expr_dbg_to_string(x_152); -lean_dec(x_152); -x_190 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_191 = lean_string_append(x_190, x_189); -lean_dec(x_189); -x_192 = l_Char_HasRepr___closed__1; -x_193 = lean_string_append(x_191, x_192); -x_194 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_194, 0, x_193); -if (lean_is_scalar(x_188)) { - x_195 = lean_alloc_ctor(1, 2, 0); -} else { - x_195 = x_188; - lean_ctor_set_tag(x_195, 1); -} -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_187); -return x_195; -} -else -{ -lean_object* x_196; lean_object* x_197; -lean_dec(x_152); -x_196 = lean_ctor_get(x_185, 1); +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_192 = lean_ctor_get(x_141, 0); +lean_inc(x_192); +x_193 = l_Lean_PrettyPrinter_parenthesizerAttribute; +x_194 = lean_ctor_get(x_193, 1); +lean_inc(x_194); +x_195 = l_Lean_PersistentEnvExtension_getState___rarg(x_194, x_145); +lean_dec(x_145); +lean_dec(x_194); +x_196 = lean_ctor_get(x_195, 1); lean_inc(x_196); -lean_dec(x_185); -x_197 = lean_ctor_get(x_186, 0); -lean_inc(x_197); -lean_dec(x_186); -x_1 = x_197; -x_3 = x_177; -x_5 = x_196; -goto _start; -} +lean_dec(x_195); +x_197 = l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__2(x_196, x_192); +lean_dec(x_192); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; +x_198 = lean_box(0); +x_146 = x_198; +goto block_190; } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_177); -lean_dec(x_152); -lean_dec(x_4); -lean_dec(x_2); -x_199 = lean_ctor_get(x_185, 0); +lean_object* x_199; +x_199 = lean_ctor_get(x_197, 0); lean_inc(x_199); -x_200 = lean_ctor_get(x_185, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_201 = x_185; -} else { - lean_dec_ref(x_185); - x_201 = lean_box(0); +lean_dec(x_197); +if (lean_obj_tag(x_199) == 0) +{ +lean_object* x_200; +x_200 = lean_box(0); +x_146 = x_200; +goto block_190; } -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(1, 2, 0); -} else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); +else +{ +lean_object* x_201; lean_object* x_202; +lean_dec(x_141); +lean_dec(x_135); +x_201 = lean_ctor_get(x_199, 0); +lean_inc(x_201); +lean_dec(x_199); +x_202 = lean_apply_5(x_201, x_138, x_2, x_144, x_4, x_143); return x_202; } } -else +} +block_190: { -lean_object* x_203; -x_203 = lean_ctor_get(x_184, 0); -lean_inc(x_203); -lean_dec(x_184); -if (lean_obj_tag(x_203) == 0) +lean_dec(x_146); +if (lean_obj_tag(x_141) == 0) { -lean_object* x_204; +lean_object* x_147; +lean_dec(x_135); lean_inc(x_4); -lean_inc(x_152); -x_204 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_152, x_4, x_157); -if (lean_obj_tag(x_204) == 0) +lean_inc(x_138); +x_147 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_138, x_4, x_143); +if (lean_obj_tag(x_147) == 0) { -lean_object* x_205; -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -if (lean_obj_tag(x_205) == 0) +lean_object* x_148; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +if (lean_obj_tag(x_148) == 0) { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -lean_dec(x_177); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_144); lean_dec(x_4); lean_dec(x_2); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_207 = x_204; +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_150 = x_147; } else { - lean_dec_ref(x_204); - x_207 = lean_box(0); + lean_dec_ref(x_147); + x_150 = lean_box(0); } -x_208 = lean_expr_dbg_to_string(x_152); -lean_dec(x_152); -x_209 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; -x_210 = lean_string_append(x_209, x_208); -lean_dec(x_208); -x_211 = l_Char_HasRepr___closed__1; -x_212 = lean_string_append(x_210, x_211); -x_213 = lean_alloc_ctor(22, 1, 0); -lean_ctor_set(x_213, 0, x_212); -if (lean_is_scalar(x_207)) { - x_214 = lean_alloc_ctor(1, 2, 0); +x_151 = lean_expr_dbg_to_string(x_138); +lean_dec(x_138); +x_152 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; +x_153 = lean_string_append(x_152, x_151); +lean_dec(x_151); +x_154 = l_Char_HasRepr___closed__1; +x_155 = lean_string_append(x_153, x_154); +x_156 = lean_alloc_ctor(22, 1, 0); +lean_ctor_set(x_156, 0, x_155); +if (lean_is_scalar(x_150)) { + x_157 = lean_alloc_ctor(1, 2, 0); } else { - x_214 = x_207; - lean_ctor_set_tag(x_214, 1); + x_157 = x_150; + lean_ctor_set_tag(x_157, 1); } -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_206); -return x_214; +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_149); +return x_157; } else { -lean_object* x_215; lean_object* x_216; -lean_dec(x_152); -x_215 = lean_ctor_get(x_204, 1); -lean_inc(x_215); -lean_dec(x_204); -x_216 = lean_ctor_get(x_205, 0); -lean_inc(x_216); -lean_dec(x_205); -x_1 = x_216; -x_3 = x_177; -x_5 = x_215; +lean_object* x_158; lean_object* x_159; +lean_dec(x_138); +x_158 = lean_ctor_get(x_147, 1); +lean_inc(x_158); +lean_dec(x_147); +x_159 = lean_ctor_get(x_148, 0); +lean_inc(x_159); +lean_dec(x_148); +x_1 = x_159; +x_3 = x_144; +x_5 = x_158; goto _start; } } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -lean_dec(x_177); -lean_dec(x_152); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_144); +lean_dec(x_138); lean_dec(x_4); lean_dec(x_2); -x_218 = lean_ctor_get(x_204, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_204, 1); -lean_inc(x_219); +x_161 = lean_ctor_get(x_147, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_147, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_163 = x_147; +} else { + lean_dec_ref(x_147); + x_163 = lean_box(0); +} +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 2, 0); +} else { + x_164 = x_163; +} +lean_ctor_set(x_164, 0, x_161); +lean_ctor_set(x_164, 1, x_162); +return x_164; +} +} +else +{ +lean_object* x_165; lean_object* x_166; uint8_t x_167; +x_165 = lean_ctor_get(x_141, 0); +lean_inc(x_165); +lean_dec(x_141); +x_166 = l_Lean_choiceKind___closed__2; +x_167 = lean_name_eq(x_165, x_166); +lean_dec(x_165); +if (x_167 == 0) +{ +lean_object* x_168; +lean_dec(x_135); +lean_inc(x_4); +lean_inc(x_138); +x_168 = l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(x_138, x_4, x_143); +if (lean_obj_tag(x_168) == 0) +{ +lean_object* x_169; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +if (lean_obj_tag(x_169) == 0) +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec(x_144); +lean_dec(x_4); +lean_dec(x_2); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_171 = x_168; +} else { + lean_dec_ref(x_168); + x_171 = lean_box(0); +} +x_172 = lean_expr_dbg_to_string(x_138); +lean_dec(x_138); +x_173 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__4; +x_174 = lean_string_append(x_173, x_172); +lean_dec(x_172); +x_175 = l_Char_HasRepr___closed__1; +x_176 = lean_string_append(x_174, x_175); +x_177 = lean_alloc_ctor(22, 1, 0); +lean_ctor_set(x_177, 0, x_176); +if (lean_is_scalar(x_171)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_171; + lean_ctor_set_tag(x_178, 1); +} +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_170); +return x_178; +} +else +{ +lean_object* x_179; lean_object* x_180; +lean_dec(x_138); +x_179 = lean_ctor_get(x_168, 1); +lean_inc(x_179); +lean_dec(x_168); +x_180 = lean_ctor_get(x_169, 0); +lean_inc(x_180); +lean_dec(x_169); +x_1 = x_180; +x_3 = x_144; +x_5 = x_179; +goto _start; +} +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_144); +lean_dec(x_138); +lean_dec(x_4); +lean_dec(x_2); +x_182 = lean_ctor_get(x_168, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_168, 1); +lean_inc(x_183); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_184 = x_168; +} else { + lean_dec_ref(x_168); + x_184 = lean_box(0); +} +if (lean_is_scalar(x_184)) { + x_185 = lean_alloc_ctor(1, 2, 0); +} else { + x_185 = x_184; +} +lean_ctor_set(x_185, 0, x_182); +lean_ctor_set(x_185, 1, x_183); +return x_185; +} +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_138); +x_186 = l_Lean_Syntax_getArgs(x_135); +lean_dec(x_135); +x_187 = lean_array_get_size(x_186); +lean_dec(x_186); +lean_inc(x_187); +x_188 = lean_alloc_closure((void*)(l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___boxed), 6, 2); +lean_closure_set(x_188, 0, x_187); +lean_closure_set(x_188, 1, x_187); +x_189 = l_Lean_PrettyPrinter_Parenthesizer_visitArgs(x_188, x_2, x_144, x_4, x_143); +return x_189; +} +} +} +} +block_231: +{ +lean_object* x_206; uint8_t x_207; +x_206 = lean_ctor_get(x_204, 0); +lean_inc(x_206); +x_207 = lean_unbox(x_206); +lean_dec(x_206); +if (x_207 == 0) +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_208 = lean_ctor_get(x_204, 1); +lean_inc(x_208); if (lean_is_exclusive(x_204)) { lean_ctor_release(x_204, 0); lean_ctor_release(x_204, 1); - x_220 = x_204; + x_209 = x_204; } else { lean_dec_ref(x_204); - x_220 = lean_box(0); + x_209 = lean_box(0); } -if (lean_is_scalar(x_220)) { - x_221 = lean_alloc_ctor(1, 2, 0); +x_210 = lean_box(0); +if (lean_is_scalar(x_209)) { + x_211 = lean_alloc_ctor(0, 2, 0); } else { - x_221 = x_220; -} -lean_ctor_set(x_221, 0, x_218); -lean_ctor_set(x_221, 1, x_219); -return x_221; + x_211 = x_209; } +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_208); +x_142 = x_211; +x_143 = x_205; +goto block_203; } else { -lean_object* x_222; lean_object* x_223; -x_222 = lean_ctor_get(x_203, 0); -lean_inc(x_222); -lean_dec(x_203); -x_223 = lean_apply_5(x_222, x_152, x_2, x_177, x_4, x_157); -return x_223; -} -} -} -} -block_252: -{ -lean_object* x_227; uint8_t x_228; -x_227 = lean_ctor_get(x_225, 0); -lean_inc(x_227); -x_228 = lean_unbox(x_227); -lean_dec(x_227); -if (x_228 == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -lean_dec(x_149); -x_229 = lean_ctor_get(x_225, 1); +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_212 = lean_ctor_get(x_204, 1); +lean_inc(x_212); +lean_dec(x_204); +lean_inc(x_135); +x_213 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_213, 0, x_135); +x_214 = l_Lean_MessageData_ofList___closed__3; +x_215 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = lean_unsigned_to_nat(2u); +x_217 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_215); +x_218 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__7; +x_219 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_217); +x_220 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_214); +x_221 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__10; +x_222 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +lean_inc(x_138); +x_223 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_223, 0, x_138); +x_224 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_224, 0, x_214); +lean_ctor_set(x_224, 1, x_223); +x_225 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_225, 0, x_216); +lean_ctor_set(x_225, 1, x_224); +x_226 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_226, 0, x_222); +lean_ctor_set(x_226, 1, x_225); +x_227 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; +x_228 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__8(x_227, x_226, x_2, x_212, x_4, x_205); +x_229 = lean_ctor_get(x_228, 0); lean_inc(x_229); -if (lean_is_exclusive(x_225)) { - lean_ctor_release(x_225, 0); - lean_ctor_release(x_225, 1); - x_230 = x_225; -} else { - lean_dec_ref(x_225); - x_230 = lean_box(0); -} -x_231 = lean_box(0); -if (lean_is_scalar(x_230)) { - x_232 = lean_alloc_ctor(0, 2, 0); -} else { - x_232 = x_230; -} -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_229); -x_156 = x_232; -x_157 = x_226; -goto block_224; -} -else -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_233 = lean_ctor_get(x_225, 1); -lean_inc(x_233); -lean_dec(x_225); -x_234 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_234, 0, x_149); -x_235 = l_Lean_MessageData_ofList___closed__3; -x_236 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = lean_unsigned_to_nat(2u); -x_238 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_236); -x_239 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__7; -x_240 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -x_241 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -x_242 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__10; -x_243 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set(x_243, 1, x_242); -lean_inc(x_152); -x_244 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_244, 0, x_152); -x_245 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_245, 0, x_235); -lean_ctor_set(x_245, 1, x_244); -x_246 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_246, 0, x_237); -lean_ctor_set(x_246, 1, x_245); -x_247 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_247, 0, x_243); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lean_PrettyPrinter_Parenthesizer_visit___main___closed__3; -x_249 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__8(x_248, x_247, x_2, x_233, x_4, x_226); -x_250 = lean_ctor_get(x_249, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_249, 1); -lean_inc(x_251); -lean_dec(x_249); -x_156 = x_250; -x_157 = x_251; -goto block_224; +x_230 = lean_ctor_get(x_228, 1); +lean_inc(x_230); +lean_dec(x_228); +x_142 = x_229; +x_143 = x_230; +goto block_203; } } } else { -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -lean_dec(x_150); -lean_dec(x_149); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_136); +lean_dec(x_135); lean_dec(x_4); lean_dec(x_2); -x_263 = lean_ctor_get(x_151, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_151, 1); -lean_inc(x_264); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - x_265 = x_151; +x_242 = lean_ctor_get(x_137, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_137, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_244 = x_137; } else { - lean_dec_ref(x_151); - x_265 = lean_box(0); + lean_dec_ref(x_137); + x_244 = lean_box(0); } -if (lean_is_scalar(x_265)) { - x_266 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_244)) { + x_245 = lean_alloc_ctor(1, 2, 0); } else { - x_266 = x_265; + x_245 = x_244; } -lean_ctor_set(x_266, 0, x_263); -lean_ctor_set(x_266, 1, x_264); -return x_266; +lean_ctor_set(x_245, 0, x_242); +lean_ctor_set(x_245, 1, x_243); +return x_245; } } } } -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_4; -x_4 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___rarg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1(x_1); +lean_object* x_7; +x_7 = l_Nat_forMAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); -return x_2; +return x_7; } } lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_PrettyPrinter_Parenthesizer_visit___main___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -3514,6 +3955,339 @@ lean_dec(x_2); return x_6; } } +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_6 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_9, x_4, x_8); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_13, x_4, x_12); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_Lean_PrettyPrinter_Parenthesizer_visit___main(x_1, x_2, x_17, x_4, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_19, 1); +x_22 = lean_ctor_get(x_19, 0); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_18, 0); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_21, 2); +lean_dec(x_26); +x_27 = lean_ctor_get(x_21, 1); +lean_dec(x_27); +x_28 = l_Lean_Parser_Level_paren___closed__1; +lean_ctor_set(x_21, 2, x_28); +lean_ctor_set(x_21, 1, x_28); +x_29 = lean_box(0); +lean_ctor_set(x_19, 0, x_29); +return x_18; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_21, 0); +x_31 = lean_ctor_get(x_21, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_21); +x_32 = l_Lean_Parser_Level_paren___closed__1; +x_33 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_32); +lean_ctor_set(x_33, 3, x_31); +x_34 = lean_box(0); +lean_ctor_set(x_19, 1, x_33); +lean_ctor_set(x_19, 0, x_34); +return x_18; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_35 = lean_ctor_get(x_18, 1); +lean_inc(x_35); +lean_dec(x_18); +x_36 = lean_ctor_get(x_21, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_21, 3); +lean_inc(x_37); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + lean_ctor_release(x_21, 2); + lean_ctor_release(x_21, 3); + x_38 = x_21; +} else { + lean_dec_ref(x_21); + x_38 = lean_box(0); +} +x_39 = l_Lean_Parser_Level_paren___closed__1; +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(0, 4, 0); +} else { + x_40 = x_38; +} +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_39); +lean_ctor_set(x_40, 3, x_37); +x_41 = lean_box(0); +lean_ctor_set(x_19, 1, x_40); +lean_ctor_set(x_19, 0, x_41); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_19); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_18, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_45 = x_18; +} else { + lean_dec_ref(x_18); + x_45 = lean_box(0); +} +x_46 = lean_ctor_get(x_43, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_43, 3); +lean_inc(x_47); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_48 = x_43; +} else { + lean_dec_ref(x_43); + x_48 = lean_box(0); +} +x_49 = l_Lean_Parser_Level_paren___closed__1; +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 4, 0); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_49); +lean_ctor_set(x_50, 3, x_47); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +if (lean_is_scalar(x_45)) { + x_53 = lean_alloc_ctor(0, 2, 0); +} else { + x_53 = x_45; +} +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_44); +return x_53; +} +} +else +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_18); +if (x_54 == 0) +{ +return x_18; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_18, 0); +x_56 = lean_ctor_get(x_18, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_18); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("not an antiquotation"); +return x_1; +} +} +lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__1; +x_2 = lean_alloc_ctor(22, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("antiquotExpr"); +return x_1; +} +} +lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__4; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__4; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___lambda__1), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(x_2, x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = l_Lean_Elab_Term_Quotation_isAntiquot(x_9); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_1); +x_12 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__2; +lean_ctor_set_tag(x_5, 1); +lean_ctor_set(x_5, 0, x_12); +return x_5; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_free_object(x_5); +x_13 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__6; +x_14 = l_Lean_PrettyPrinter_Parenthesizer_visitArgs(x_13, x_1, x_10, x_3, x_8); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_5, 0); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_5); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = l_Lean_Elab_Term_Quotation_isAntiquot(x_17); +lean_dec(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_3); +lean_dec(x_1); +x_20 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_16); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = l_Lean_PrettyPrinter_Parenthesizer_visitAntiquot___closed__6; +x_23 = l_Lean_PrettyPrinter_Parenthesizer_visitArgs(x_22, x_1, x_18, x_3, x_16); +return x_23; +} +} +} +} lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -3564,85 +4338,34 @@ return x_11; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_12 = lean_ctor_get(x_3, 0); x_13 = lean_ctor_get(x_3, 1); x_14 = lean_ctor_get(x_3, 2); +x_15 = lean_ctor_get(x_3, 3); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_dec(x_3); -x_15 = l_Lean_Syntax_Traverser_setCur(x_12, x_1); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_13); -lean_ctor_set(x_16, 2, x_14); -x_17 = lean_box(0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); +x_16 = l_Lean_Syntax_Traverser_setCur(x_12, x_1); +x_17 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_13); +lean_ctor_set(x_17, 2, x_14); +lean_ctor_set(x_17, 3, x_15); +x_18 = lean_box(0); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_5); -return x_19; +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_5); +return x_20; } } } -lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_1, 0); -x_6 = l_Lean_Syntax_Traverser_left(x_5); -lean_ctor_set(x_1, 0, x_6); -x_7 = lean_box(0); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_1); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_3); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = lean_ctor_get(x_1, 0); -x_11 = lean_ctor_get(x_1, 1); -x_12 = lean_ctor_get(x_1, 2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_1); -x_13 = l_Lean_Syntax_Traverser_left(x_10); -x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -lean_ctor_set(x_14, 2, x_12); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_3); -return x_17; -} -} -} -lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -3664,39 +4387,42 @@ return x_9; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_10 = lean_ctor_get(x_1, 0); x_11 = lean_ctor_get(x_1, 1); x_12 = lean_ctor_get(x_1, 2); +x_13 = lean_ctor_get(x_1, 3); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_dec(x_1); -x_13 = l_Lean_Syntax_Traverser_right(x_10); -x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -lean_ctor_set(x_14, 2, x_12); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); +x_14 = l_Lean_Syntax_Traverser_right(x_10); +x_15 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); +lean_ctor_set(x_15, 2, x_12); +lean_ctor_set(x_15, 3, x_13); +x_16 = lean_box(0); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_3); -return x_17; +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +return x_18; } } } -lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4(lean_object* x_1) { +lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__3___rarg___boxed), 3, 0); return x_2; } } -lean_object* l_Lean_Option_format___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__6(lean_object* x_1) { +lean_object* l_Lean_Option_format___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__5(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3722,11 +4448,11 @@ return x_7; } } } -lean_object* l_Lean_fmt___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__5(lean_object* x_1) { +lean_object* l_Lean_fmt___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Option_format___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__6(x_1); +x_2 = l_Lean_Option_format___at_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___spec__5(x_1); return x_2; } } @@ -3779,7 +4505,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__4; -x_2 = lean_unsigned_to_nat(234u); +x_2 = lean_unsigned_to_nat(264u); x_3 = lean_unsigned_to_nat(4u); x_4 = l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__5; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -3790,7 +4516,7 @@ lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("...precedences are "); +x_1 = lean_mk_string("parenthesized: "); return x_1; } } @@ -3818,7 +4544,7 @@ lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___clo _start: { lean_object* x_1; -x_1 = lean_mk_string(" >? "); +x_1 = lean_mk_string("...precedences are "); return x_1; } } @@ -3846,7 +4572,7 @@ lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___clo _start: { lean_object* x_1; -x_1 = lean_mk_string(" ? "); return x_1; } } @@ -3870,11 +4596,39 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } +lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_visitParenthesizable___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Init(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_mk_io_result(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_mk_io_result(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Util.c b/stage0/stdlib/Lean/Util.c new file mode 100644 index 0000000000..33eba75e6a --- /dev/null +++ b/stage0/stdlib/Lean/Util.c @@ -0,0 +1,29 @@ +// Lean compiler output +// Module: Lean.Util +// Imports: Init +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Init(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Util(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_mk_io_result(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_mk_io_result(lean_box(0)); +} +#ifdef __cplusplus +} +#endif