Re: r31755 -[S05] specifiy that .parse can invoke other subrules than TOP by name

2010-07-19 Thread Moritz Lenz
Hi, Am 19.07.2010 04:20, schrieb Stéphane Payrard: Note that I sent a patch to that effect to p6c Jun 2 in a mail titled "support of parsing from a non TOP rule" Either somebody applied it, or it was superfluous - :rule works in Rakudo (though I don't know if it works in nqp-rx). Anyway, th

Re: r31755 -[S05] specifiy that .parse can invoke other subrules than TOP by name

2010-07-19 Thread Stéphane Payrard
Note that I sent a patch to that effect to p6c Jun 2 in a mail titled "support of parsing from a non TOP rule" that has not been applied. It still works. Attached below. Testable by : use Test; grammar A { token hi { hi } }; ok A.parse( 'hi', :rule) eq 'hi', "Grammar.parse: :rule" On Sun, J