intermediate code generator and parser are the same file