eval_file_with_table

Function eval_file_with_table 

Source
pub fn eval_file_with_table(
    path: impl AsRef<str>,
    table: SymTable,
) -> Result<Decimal, String>
Expand description

Evaluates an expression from a binary file with a custom symbol table.

ยงExamples

use expr_solver::{eval_file_with_table, SymTable};

let result = eval_file_with_table("expr.bin", SymTable::stdlib()).unwrap();