git-subtree-dir: golang-lean git-subtree-mainline:6487c7046fgit-subtree-split:f5f1701922
18 lines
507 B
Text
18 lines
507 B
Text
import GolangLean.AST
|
||
import GolangLean.Value
|
||
import GolangLean.Env
|
||
|
||
namespace GolangLean
|
||
|
||
/-! # Pure (non-IO) evaluator.
|
||
|
||
Mirror of octive-lean's `PureEval`. Strips IO so that the evaluator becomes
|
||
a `def` (not `partial def`) over a finite fuel parameter, suitable for
|
||
reasoning. The relationship to `Eval.evalExpr` is captured by `ValueEquiv`.
|
||
|
||
Stub for now — fill in once `Eval` is non-trivial. -/
|
||
|
||
def evalExprP (_fuel : Nat) (_env : Env) (_e : Expr) : Option (Value × Env) :=
|
||
none
|
||
|
||
end GolangLean
|