On Mon Sep 08 08:46:20 2008, cjfie...@illinois.edu wrote:
> The following is an example:
> 
> grammar Foo {
>     rule TOP {\d+};
> };
> 
> my $x = '12345';
> 
> $x ~~ Foo;     # Is $x a Foo? (No)

This now today will do a type-check. (Note that .new on grammars is
still a bit kinky, but .parse and .parsefile are the official ways to do
matching of a grammar now - .new will be dealt with by pm during other
PGE changes, I expect :-)).

So I think the main issue in this ticket is now resolved.

Thanks!

Jonathan

Reply via email to