Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (18 sloc) 338 Bytes
# vim: ft=perl6
use MONKEY_TYPING;
grammar G {
token ws {
[
| \h+ <![\#\s\\]> { }
| <?before \w> <?after \w> :::
{ }
<.sorry: "Whitespace is required between alphanumeric tokens"> # must \s+ between words
]
||
[
| <.unsp>
| <.vws> <.heredoc>
| <.unv>
]*
}
}
Something went wrong with that request. Please try again.