makeEvaluator function Given a mode and expresion data, returns a function that evaluates that expression. source