Untitled
#!/usr/bin/env perl6
use v6;
grammar TcronGrammar {
token TOP { ^^ <recursive>? <path> (\s+ <rgx>)? \n }
token recursive { '*' }
token path { \S+ }
token rgx { \N+ }
};
say TcronGrammar.parse('* /tmp/electron regex');INFO