diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-05-19 19:49:39 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-05-19 19:49:39 -0400 |
commit | 3f65d48264430428a2165f6a9f5a4e16f823f6b8 (patch) | |
tree | 6da1f46181c3070b3eeb4ede56c3cba3623d0258 /lib/old-IRC/Parser.pm6 | |
parent | e997c1b0b5ad796425abfc9f81b91947357172ce (diff) |
Start new design docs
Diffstat (limited to 'lib/old-IRC/Parser.pm6')
-rw-r--r-- | lib/old-IRC/Parser.pm6 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/old-IRC/Parser.pm6 b/lib/old-IRC/Parser.pm6 new file mode 100644 index 0000000..dda05e6 --- /dev/null +++ b/lib/old-IRC/Parser.pm6 @@ -0,0 +1,7 @@ +use IRC::Grammar; +use IRC::Grammar::Actions; +unit class IRC::Parser; + +sub parse-irc (Str:D $input) is export { + IRC::Grammar.parse($input, actions => IRC::Grammar::Actions).made // []; +} |