-# Which scripts to run. Note the ordering: embed.pl must run after
-# opcode.pl, since it depends on pp.sym
+my $tap = $ARGV[0] && $ARGV[0] eq '--tap' ? '# ' : '';
+foreach my $pl (map {chomp; "regen/$_"} <DATA>) {
+ my @command = ($^X, $pl, @ARGV);
+ print "$tap@command\n";
+ system @command
+ and die "@command failed: $?"
+}