r30510 - docs/Perl6/Spec

2010-04-29 Thread pugs-commits
Author: lwall Date: 2010-04-30 01:53:50 +0200 (Fri, 30 Apr 2010) New Revision: 30510 Modified: docs/Perl6/Spec/S03-operators.pod docs/Perl6/Spec/S06-routines.pod Log: [S03] remove p5=> description since it's not supported in core Modified: docs/Perl6/Spec/S03-operators.pod

Re: optional rules cluttering parse trees

2010-04-29 Thread Moritz Lenz
Am 28.04.2010 18:08, schrieb cognominal: On Apr 28, 2:05 pm, mor...@faui2k3.org (Moritz Lenz) wrote: Am 27.04.2010 06:31, schrieb Stéphane Payrard: There's also another problem with your approach: If you have ? in your regex, and it matches the empty string, it is still a successful match -

Re: optional rules cluttering parse trees

2010-04-29 Thread cognominal
On Apr 28, 2:05 pm, mor...@faui2k3.org (Moritz Lenz) wrote: > Am 27.04.2010 06:31, schrieb 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