On Mon, Nov 10, 2008 at 03:21:47AM -0800, Ilya Belikin wrote:
> 
> grammar G {
>     token TOP { ':' <foo>+ };
>     token foo { \d };
> }
> 
> my $a = ":123" ~~ G::TOP;

The official syntax for matching against a rule or grammar
has not yet been determined.  So, I'm marking this ticket
as "stalled" until we have that.

In the meantime, I suggest:

    my $a = G::TOP(":123");

Pm

Reply via email to