pub fn eval_ctx(
e: &Expr,
x: f64,
resolve: &dyn Fn(&str) -> f64,
) -> Result<f64, String>Expand description
Lower e to a fusevm chunk (with x and resolved fields baked in), run it on
the VM, and return the resulting number. resolve maps a field name to its
numeric value.