Would someone implement the #Ruby equivalent of #Perl6 grammars, please?

By tomorrow morning would be fine.

Thanks.