The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Parrot::Optimizer - The Parrot Optimizer

SYNOPSIS

  use Parrot::Optimizer;

  my $opt = Parrot::Optimizer->new();
  $opt->read($file);
  $opt->optimize();
  $opt->write($file.".opt");

DESCRIPTION

Takes a parrot assembler file after macro expansion, and optimizes it. Currently does basic constant folding, strength reduction, and one peephole optimization.

AUTHOR

Jeffrey Goff, drforr@hargray.com

SEE ALSO

parrot