The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
%semantic token N = /(\d+)/ W = /([a-z]\w*)/

%%

s:   s N
   | s W
   | N
   | W
;

%%