optional rules cluttering parse trees

2010-04-27 Thread Stéphane Payrard
When doing an analyse of a sample parse tree, I note that it is cluttered by the reduction of optional subrules to generate a zero length parse subtree. That is, rules with a '?' quantifier matching zero time. Suppressing such matching rules from the parse tree would make it easier to read. Additi

r30483 - in docs/Perl6/Spec: . S32-setting-library

2010-04-27 Thread pugs-commits
Author: colomon Date: 2010-04-27 18:36:16 +0200 (Tue, 27 Apr 2010) New Revision: 30483 Modified: docs/Perl6/Spec/S03-operators.pod docs/Perl6/Spec/S32-setting-library/Containers.pod Log: [Spec] Note that the various minmax methods, subs, and operators return a Range. Modified: docs/Perl6/Sp

r30484 - docs/Perl6/Spec

2010-04-27 Thread pugs-commits
Author: colomon Date: 2010-04-27 18:38:35 +0200 (Tue, 27 Apr 2010) New Revision: 30484 Modified: docs/Perl6/Spec/S03-operators.pod Log: [Spec] Range.minmax is now Range.bounds. Modified: docs/Perl6/Spec/S03-operators.pod === --- d

r30486 - docs/Perl6/Spec

2010-04-27 Thread pugs-commits
Author: colomon Date: 2010-04-27 19:41:29 +0200 (Tue, 27 Apr 2010) New Revision: 30486 Modified: docs/Perl6/Spec/S03-operators.pod Log: [Spec] .bound should have been .bounds. Modified: docs/Perl6/Spec/S03-operators.pod === --- do

r30488 - docs/Perl6/Spec

2010-04-27 Thread pugs-commits
Author: lwall Date: 2010-04-27 20:35:06 +0200 (Tue, 27 Apr 2010) New Revision: 30488 Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S04-control.pod Log: [S04] clarify that state is shared by recursion to the same clone remove some ::= fossils Modified: docs/Perl6/Spec/S02-bits.pod

Re: optional rules cluttering parse trees

2010-04-27 Thread Stefan O'Rear
On Tue, Apr 27, 2010 at 06:31:01AM +0200, Stéphane Payrard wrote: > When doing an analyse of a sample parse tree, I note that it is > cluttered by the reduction of optional subrules > to generate a zero length parse subtree. That is, rules with a '?' > quantifier matching zero time. > Suppressing