eval


eval(expr)
      

Return the value of evaluating the compiled expression expr.

Examples:


let e = expression(stream_tokenizer(false))
// enter the expression `2 + sqrt(10);`
eval(e)
// 5.16227766016838
      

Also see:

compile


Core Module Index | Contents