diff options
author | Zoffix Znet <cpan@zoffix.com> | 2015-12-06 15:05:29 -0500 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2015-12-06 15:05:29 -0500 |
commit | ba793ec6d1d4c66300f40cbced25f9ffd23ec792 (patch) | |
tree | bc419699af8499c4b90026d605f72aa832325ef5 /lib/IRC/Parser.pm6 | |
parent | e0b2a598b9475edcfca40b7cb4faa7746232a30c (diff) |
Debug
Diffstat (limited to 'lib/IRC/Parser.pm6')
-rw-r--r-- | lib/IRC/Parser.pm6 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/IRC/Parser.pm6 b/lib/IRC/Parser.pm6 new file mode 100644 index 0000000..aa87fa7 --- /dev/null +++ b/lib/IRC/Parser.pm6 @@ -0,0 +1,7 @@ +use IRC::Grammar; +use IRC::Grammar::Actions; +unit class IRC::Parser:ver<1.001001>; + +sub parse-irc (Str:D $input) is export { + IRC::Grammar.parse($input, actions => IRC::Grammar::Actions).made // []; +} |