ref: babf901b4a508c3ec5d1f89655f10377bbdf9637
dir: /appl/lib/plumbing.m/
Plumbing: module
{
PATH: con "/dis/lib/plumbing.dis";
Pattern: adt
{
field: string;
pred: string;
arg: string;
extra: list of string;
expand: int;
regex: Regex->Re;
};
Rule: adt
{
pattern: array of ref Pattern;
action: array of ref Pattern;
};
init: fn(regexmod: Regex, args: list of string): (list of ref Rule, string);
};