moved expression evaluator to core.