Evaluates infinitely long arithmetic expressions