eval-utility 0.1.2

Wrapper function of the evaluator crate. Provides python-like built-in functions.
Documentation
eval-utility-0.1.2 has been yanked.

Eval Utility

Wrapper function of the eval crate. Provides python-like built-in functions.

Example

See test cases in lib.rs for more examples.


use eval_utility::eval_wrapper::{expr_wrapper, EvalConfig};

fn main () {
    let expression = "float('42.42') == 42.42";
    let expr = expr_wrapper(
        eval::Expr::new(expression),
        EvalConfig::default(),
    );

    println!("{:?}", expr.exec());
}