fix syntax errors; add function to optimize GetAttr
add op1 op2 in constant folding
add todo
merge