Function dc_ock::eval

source · []
pub fn eval(input: &str, stack: &mut VecDeque<f64>)
Expand description

eval takes a &str and a &mut VecDeque<f64>, evaluates the expression, and prints the result, pushing the results onto the stack.