Edited east and semantics and compiler

To work with program triple
Edited codegen