I want a public Go library function vm.Eval(ctx expr.EvalContext, arg expr.Node) (value.Value, bool) that…
I want a public Go library function vm.Eval(ctx expr.EvalContext, arg expr.Node) (value.Value, bool) that…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For vm.Eval(ctx, expr.MustParse("int5 + 5")) , it should return a value.IntValue whose underlying value is…
The task
For `vm.Eval(ctx, expr.MustParse("int5 + 5"))`, it should return a `value.IntValue` whose underlying value is `int64(10)` and `ok == true`. For `vm.Eval(ctx, expr.MustParse("toint(str5) + 6"))` after `builtins.LoadAllBuiltins()`, it should return `int64(11)` with `ok == true`, meaning function nodes evaluate their…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.