#!/usr/bin/perl6
grammar A {
rule TOP {
^ < \w || \s > + $
}
}
my $str = 'the quick brown fox jumps over the lazy dog';
say A.parse($str);
# Nil
IyEvdXNyL2Jpbi9wZXJsNgpncmFtbWFyIEEgewogICAgICAgIHJ1bGUgVE9QIHsKICAgICAgICAgICAgICAgIF4gPCBcdyB8fCBccyA+ICsgJAogICAgICAgIH0KfQpteSAkc3RyID0gJ3RoZSBxdWljayBicm93biBmb3gganVtcHMgb3ZlciB0aGUgbGF6eSBkb2cnOwpzYXkgQS5wYXJzZSgkc3RyKTsKIyBOaWw=