pascal.ijs: separated template from codegen