Generates GPRM IR code from a Perl script