@[reducible, inline]
Equations
- EvalAuto.EvalProc = IO.Process.Child { stdin := IO.Process.Stdio.piped, stdout := IO.Process.Stdio.null, stderr := IO.Process.Stdio.null }
Instances For
@[reducible, inline]
Equations
- EvalAuto.EvalTakenProc = IO.Process.Child { stdin := IO.Process.Stdio.null, stdout := IO.Process.Stdio.null, stderr := IO.Process.Stdio.null }
Instances For
Equations
- EvalAuto.EvalProc.create path args = IO.Process.spawn { stdin := IO.Process.Stdio.piped, stdout := IO.Process.Stdio.null, stderr := IO.Process.Stdio.null, cmd := path, args := args }
Instances For
Equations
- EvalAuto.bashRepr s = "\"" ++ String.join (List.map EvalAuto.bashRepr.go s.data) ++ "\""
Instances For
Equations
- EvalAuto.bashRepr.go '$' = "\\$"
- EvalAuto.bashRepr.go '`' = "\\`"
- EvalAuto.bashRepr.go '\"' = "\\\""
- EvalAuto.bashRepr.go '\\' = "\\\\"
- EvalAuto.bashRepr.go x✝ = { data := [x✝] }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
EvalAuto.runFunctionOnConstsUsingNewLeanProcess
(names : Array Lean.Name)
(funName : Lean.Name)
(funArgs : Array String)
(memoryLimitKb timeLimitS : Nat)
:
This function runs funName funArgs
on all constants in names
,
using a new Lean process
This should be run importing all the modules associated with constants in
names ++ #[funName]
, and should be run with a cwd
where lake env
creates an environment in which funName
and all the
constants in names
are available
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.