aboutsummaryrefslogtreecommitdiff
path: root/lib/IRC/Client/Grammar.pm6
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2016-06-04 23:20:01 -0400
committerZoffix Znet <cpan@zoffix.com>2016-06-04 23:20:01 -0400
commitc56f8b4359f2730bb9e8bccd40bf2c9fa840f433 (patch)
tree24d2021ab2794647aad2f44d802be160edfc485d /lib/IRC/Client/Grammar.pm6
parent5a2196b2c8f2ac2eacb3ddaf40b3e75b9c38bb62 (diff)
First working rewrite
Diffstat (limited to 'lib/IRC/Client/Grammar.pm6')
-rw-r--r--lib/IRC/Client/Grammar.pm64
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IRC/Client/Grammar.pm6 b/lib/IRC/Client/Grammar.pm6
index a258e56..feec9fd 100644
--- a/lib/IRC/Client/Grammar.pm6
+++ b/lib/IRC/Client/Grammar.pm6
@@ -1,6 +1,6 @@
unit grammar IRC::Client::Grammar;
-token TOP { <message>+ <leftovers> }
-token leftovers { \N* }
+token TOP { <message>+ <left-overs> }
+token left-overs { \N* }
token SPACE { ' '+ }
token message { [':' <prefix> <SPACE> ]? <command> <params> \n }
token prefix {