parse expression for compiler