in reply to COBOL to Perl

The other respondents are correct, this is a huge task. On the positive side, it is possible to define COBOL (COBOL-85 at least) in a yacc grammar, it's been done.