function in a programming language, which evaluates a string as though it were an expression and returns a result