chore: move to new frontend
@Kha another significant milestone: all files at `src/Lean/Meta` are being compiled with the new frontend.
This commit is contained in:
parent
0f126dd566
commit
80a0200ab2
4 changed files with 323 additions and 335 deletions
|
|
@ -31,6 +31,8 @@ import Lean.Syntax
|
|||
import Lean.Elab.Term
|
||||
|
||||
namespace Lean
|
||||
namespace Meta end Meta -- HACK for old frontend
|
||||
open Meta (MetaM) -- HACK for old frontend
|
||||
|
||||
-- TODO: move, maybe
|
||||
namespace Level
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -15,6 +15,9 @@ import Lean.ParserCompiler.Attribute
|
|||
import Lean.Parser.Extension
|
||||
|
||||
namespace Lean
|
||||
namespace Meta end Meta -- HACK for old frontend
|
||||
open Meta (MetaM) -- HACK for old frontend
|
||||
|
||||
namespace ParserCompiler
|
||||
|
||||
structure Context (α : Type) :=
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ import Lean.PrettyPrinter.Formatter
|
|||
import Lean.Parser.Module
|
||||
|
||||
namespace Lean
|
||||
namespace Meta end Meta -- HACK for old frontend
|
||||
open Meta (MetaM) -- HACK for old frontend
|
||||
|
||||
def PPContext.runCoreM {α : Type} (ppCtx : PPContext) (x : CoreM α) : IO α :=
|
||||
Prod.fst <$> x.toIO { options := ppCtx.opts } { env := ppCtx.env }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue