EvaluateExpressionDelegate type

Delegate to evaluate an expression. Evaluators should verify runtime arguments when appropriate and return an error rather than throw exceptions if possible.

type EvaluateExpressionDelegate = (
  expression: Expression,
  state: MemoryInterface,
  options: Options
) => ValueWithError