add skeleton implementation for intermediate code generator