diff options
Diffstat (limited to 'lib/IRC/Grammar/Actions.pm6')
-rw-r--r-- | lib/IRC/Grammar/Actions.pm6 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/IRC/Grammar/Actions.pm6 b/lib/IRC/Grammar/Actions.pm6 new file mode 100644 index 0000000..039f11e --- /dev/null +++ b/lib/IRC/Grammar/Actions.pm6 @@ -0,0 +1,6 @@ +class IRC::Grammar::Actions { + method class ($/) { $/.make: ~$/ } + method rules ($/) { $/.make: ~$/ } + method pair ($/) { $/.make: $<class>.made => $<rules>.made } + method TOP ($/) { $/.make: $<pair>ยป.made } +} |