From ccbd5ff10ce1fa1a2025a540635bc1c939484098 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Sat, 5 Dec 2015 14:52:45 -0500 Subject: Barely-working grammar --- lib/IRC/Grammar/Actions.pm6 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/IRC/Grammar/Actions.pm6 (limited to 'lib/IRC/Grammar/Actions.pm6') 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: $.made => $.made } + method TOP ($/) { $/.make: $ยป.made } +} -- cgit v1.1