r31964 -[S05] saner defaults for :c and :p; without a previous match, $/.to blows up

2010-08-12 Thread pugs-commits
Author: moritz Date: 2010-08-12 10:02:42 +0200 (Thu, 12 Aug 2010) New Revision: 31964 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] saner defaults for :c and :p; without a previous match, $/.to blows up Modified: docs/Perl6/Spec/S05-regex.pod ==

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Carl Mäsak
Oha (>): > after speaking with masak, i come up with some ideas about Buf > i would like to share with you, maybe you can find them usefull > > http://register.oha.it/buf.pod Just thought I'd weigh in here a bit. Oha's proposal consists of two parts, each of which is interesting in its own right:

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Aaron Sherman
On Thu, Aug 12, 2010 at 5:47 AM, Carl Mäsak wrote: > Oha (>): > > > * Grammars define a hierarchical structure that seems to be perfect > for encoding the packing of larger pieces of data, for example when > serializing an object structure. Could one use grammars, or something > very much like it

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Carl Mäsak
Carl (>>), Aaron (>): >> * Grammars define a hierarchical structure that seems to be perfect >> for encoding the packing of larger pieces of data, for example when >> serializing an object structure. Could one use grammars, or something >> very much like it, as a "modern" &pack template? > > A whil

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Nicholas Clark
On Thu, Aug 12, 2010 at 03:38:31PM +0200, Carl Mäsak wrote: > In fact, jnthn++ had a talk at YAPC::EU the other week where he showed > how nested signatures can be used to make hierarchical matches. A > proof-of-concept module could simply be some sugar around this already > existing functionality

r31972 -[S05] specify what .keys, .values and .kv do on Match objects

2010-08-12 Thread pugs-commits
Author: moritz Date: 2010-08-12 21:10:33 +0200 (Thu, 12 Aug 2010) New Revision: 31972 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] specify what .keys, .values and .kv do on Match objects Modified: docs/Perl6/Spec/S05-regex.pod =

r31973 -[S05] attempt to clarify wording, and add an example

2010-08-12 Thread pugs-commits
Author: moritz Date: 2010-08-12 21:23:14 +0200 (Thu, 12 Aug 2010) New Revision: 31973 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] attempt to clarify wording, and add an example Modified: docs/Perl6/Spec/S05-regex.pod === --

Re: r31972 -[S05] specify what .keys, .values and .kv do on Match objects

2010-08-12 Thread Jon Lang
How does a Match compare to a Parcel? -- Jonathan "Dataweaver" Lang