Mercurial > hg > Papers > 2021 > anatofuz-master
diff paper/src/meta.pm @ 20:284ddeee0f9a
...
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 Jan 2021 13:29:28 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/src/meta.pm Sat Jan 30 13:29:28 2021 +0900 @@ -0,0 +1,17 @@ +package meta; +use strict; +use warnings; + +sub replaceMeta { + return ( + [qr/PhilsImpl/ => \&generateMcMeta], + ); +} + +sub generateMcMeta { + my ($context, $next) = @_; + return "goto mcMeta($context, $next);"; +} + +1; +