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', :rulehi) eq 'hi', Grammar.parse: :rulesomerule On

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 - :rulerulename works in Rakudo (though I don't know if it works in nqp-rx).

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

2010-07-18 Thread pugs-commits
Author: moritz Date: 2010-07-18 22:40:18 +0200 (Sun, 18 Jul 2010) New Revision: 31755 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] specifiy that .parse can invoke other subrules than TOP by name Modified: docs/Perl6/Spec/S05-regex.pod