Re: [svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread Damian Conway
Larry wrote: > : I agree with Audrey that C is probably too useful in other > : contexts. C works fine for me. > > Aesthetically, I hate :w, actually...and the whole point of naming "token" > is that it is *not* a normal parser rule, but a lexer rule. > > But I agree that "parse" is probably the

Re: [svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread Audrey Tang
Patrick R. Michaud wrote: > Two other ideas (from a short walk)... how about something along > the lines of "phrase" or "sequence"? Parsec use the word "lexeme" to mean exactly the same thing... Audrey signature.asc Description: OpenPGP digital signature

Re: [svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread Patrick R. Michaud
On Thu, Apr 20, 2006 at 09:19:48AM -0700, Larry Wall wrote: > : > +Any other value causes the match to fail. In particular, shorter keys > : > +are not tried if a longer one matches and fails. > : > : Is there a way to say to continue with the next shortest key? > > Yeah, use <@rules> rather tha

Re: [svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread Larry Wall
On Thu, Apr 20, 2006 at 09:24:09AM -0500, Patrick R. Michaud wrote: : First, let me say I really like the changes to S05. Good work : once again. : : Here are my questions and comments. : : On Thu, Apr 20, 2006 at 02:07:51AM -0700, [EMAIL PROTECTED] wrote: : > -(To get rule interpolation use an

Re: [svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread Patrick R. Michaud
On Thu, Apr 20, 2006 at 09:24:09AM -0500, Patrick R. Michaud wrote: > First, let me say I really like the changes to S05. Good work > once again. > > Here are my questions and comments. > > On Thu, Apr 20, 2006 at 02:07:51AM -0700, [EMAIL PROTECTED] wrote: > > -(To get rule interpolation use an

Re: [svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread Patrick R. Michaud
First, let me say I really like the changes to S05. Good work once again. Here are my questions and comments. On Thu, Apr 20, 2006 at 02:07:51AM -0700, [EMAIL PROTECTED] wrote: > -(To get rule interpolation use an assertion - see below) > +However, if C<$var> contains a rule object, rather attem

Re: [svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread Daniel Hulme
> +but rather easier to read. The bare C<*>, C<+> and C quantifiers > +never backtrack in a C unless some outer rule has specified a > +C<:panic> option that applies. If you want to prevent even that, use > +C<*:>, C<+:> or C to prevent any backtracking into the quantifier. > +If you want to expl

[svn:perl6-synopsis] r8883 - doc/trunk/design/syn

2006-04-20 Thread larry
Author: larry Date: Thu Apr 20 02:07:51 2006 New Revision: 8883 Modified: doc/trunk/design/syn/S05.pod Log: Various clarifications. Documented that null first alternative is ignored. Removed colon separator after last modifier, now just use space. Deleted the :once modifier. (A state variable