#!/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
Standard input is empty
Nil
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!