Fix Lurk.DSL -> Lurk.Syntax.DSL import and fix the namespaces. This is common throughout the Transpiler fixes, so I'll group them here.
Yatima.Transpiler.Utils
Above fixes
Added a couple functions that were used before we had mut rec but were taken out of the Lurk.lean repo. This is only a temporary fix for now because I imagine the refactor will mean we won't actually need them. In particular added back mkMutualBlock and toImplicitLambda back
Yatima.Transpiler.Transpiler
Above fixes
change in .app₀/.app -> .app were fixed (adding in extra logic around Option args)
Add in the extra comm, commit, and hide constructors with no logic behind them
Yatima.Cli
RBMap.fold -> RBMap.foldl
Lurk.Eval -> Lurk.Evaluation.Eval
TestUtils
Deleted ExprGenerator (it's unusued, broken, badly coded, and doesn't seem very helpful)
Lurk.Eval -> Lurk.Evaluation.Eval
Fixtures
implementedBy -> implemented_by
RBMap now needs the comparison explicitly
Expr -> TC.Expr name change
Not fixed: prelude.lean is the old prelude. Do we want to use the new one? (obviously the prelude typechecking test is failing because of this)
Tests
Lurk DSL namespace changes
Thunks don't seem to have a coercion from α to Thunk α anymore? (using Thunk.pure now)
Changes and notes
lakefile
defaultTarget
->default_target
[] ≠ []
withcmd ≠ []
)Yatima.Datatypes.Lean
auxDecl
is no longer a validBinderInfo
so I eliminated references to it everywhere (in this file, and others)Yatima.Datatypes.Cid
matchPattern
->match_pattern
Yatima.Datatypes.Store
RBTree
->RBSet
renameRBMap.fold
->RBMap.foldl
renameYatima.Ipld.To/FromIpld
auxDecl
referencesRBTree
->RBSet
Yatima.Ipld.PrimCids
RBMap
now needs explicit comparisonYatima.Compiler.Compiler
RBMap
now needs explicit comparisonYatima.Compiler.Printing
auxDecl
referencesYatima.Compiler.Utils
Lean.SMap
is built out ofLean.Hashmap
, so no migratin of the Hashmaps to the Std namespacePersistentHashMap
, so changeStd
toLean
namespaces for those as wellYatima.Transpiler.Simp/Yatima.Transpiler.LurkFunctions/TranspileM/
Lurk.DSL
->Lurk.Syntax.DSL
import and fix the namespaces. This is common throughout the Transpiler fixes, so I'll group them here.Yatima.Transpiler.Utils
mut rec
but were taken out of the Lurk.lean repo. This is only a temporary fix for now because I imagine the refactor will mean we won't actually need them. In particular added backmkMutualBlock
andtoImplicitLambda
backYatima.Transpiler.Transpiler
.app₀/.app
->.app
were fixed (adding in extra logic around Option args)comm
,commit
, andhide
constructors with no logic behind themYatima.Cli
RBMap.fold
->RBMap.foldl
Lurk.Eval
->Lurk.Evaluation.Eval
TestUtils
Lurk.Eval
->Lurk.Evaluation.Eval
Fixtures
implementedBy
->implemented_by
RBMap
now needs the comparison explicitlyExpr
->TC.Expr
name changeprelude.lean
is the old prelude. Do we want to use the new one? (obviously the prelude typechecking test is failing because of this)Tests
Lurk
DSL namespace changesα
toThunk α
anymore? (usingThunk.pure
now)