The util/update-rule-pmc script is used to
generate lib/Pugs/Grammar/Rule.pmc from
this file.
This script does the following:
Use v6.pm to compile this file and
post-process it after compiling:
- remove all references to:
Data::Bind
- replace the header with:
package Pugs::Grammar::Rule;
use utf8;
no strict 'refs';
use Pugs::Runtime::Match;
use Pugs::Runtime::Regex;
The post-processing thing is done
by the Perl 5 script util/patch-rule-pmc.pl