Parser and evaluator of Python expressions