Evaluating primitives and built-in functions