blob: 16cc8b139c4b654795f8e5b5253ff7df34cbed1c (
plain)
1
2
3
4
5
6
7
|
use IRC::Grammar;
use IRC::Grammar::Actions;
unit class IRC::Parser:ver<2.002001>;
sub parse-irc (Str:D $input) is export {
IRC::Grammar.parse($input, actions => IRC::Grammar::Actions).made // [];
}
|