Interpreter and evaluator of terms in infix notation