added while/for "()" for condition and replace "end" with"{}" and "local" with "var"