add const folding in command-line; simplify the op1 and op2 evalution