view src/meta.pm @ 0:36dcba72eb2f

add
author ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
date Sat, 13 Feb 2021 22:14:15 +0900
parents
children
line wrap: on
line source

package meta;
use strict;
use warnings;

sub replaceMeta {
  return (
    [qr/PhilsImpl/ => \&generateMcMeta],
  );
}

sub generateRandomMeta {
  my ($context, $next) = @_;
  return "goto random($context, $next);";
}

sub generateMcMeta {
  my ($context, $next) = @_;
  return "goto mcMeta($context, $next);";
}

1;