University project to write a shell compiler.
The compiler which is a Perl program takes shell scripts as input and outputs Perl.
Outputs human-readable Perl code, preserves variable names and comments in a sensible format. Translates loops, control statements, various built-in shell programs and variables, file matching, shell arithmetic e.t.c.