Re: [pugs] Quoting constructs

2005-04-17 Thread Roie Marianer
On Saturday 16 April 2005 7:40 pm, Larry Wall wrote: > : Basically I'm wondering if there's a detailed > : specification of how <<>> should work. > > That's a really good question, and since I don't offhand know the > right answer, I'll put this up onto the fence so it can topple over > into p6l-la

Re: [pugs] Quoting constructs

2005-04-16 Thread Larry Wall
On Sat, Apr 16, 2005 at 03:14:50AM +0300, Roie Marianer wrote: : I actually knew that, but in my head $key_b and $value_b were single words. : But according to S02, the interpolation is protected by quotes. That is, if : $key_b is q0/printf "Hello, world\n" or die"/, that's four words, correct? O

Re: [pugs] Quoting constructs

2005-04-16 Thread Patrick R. Michaud
On Sat, Apr 16, 2005 at 03:14:50AM +0300, Roie Marianer wrote: > > By the way, something tells me perl6-compiler isn't the best place for this > discussion. Is there a secret group of people that discusses cornercases for > perl6, and if so could someone tell me on what list they live? perl6-co

Re: [pugs] Quoting constructs

2005-04-15 Thread Steven Philip Schubiger
On 16 Apr, Roie Marianer wrote: : By the way, something tells me perl6-compiler isn't the best place for this : discussion. Is there a secret group of people that discusses cornercases for : perl6, and if so could someone tell me on what list they live? You most likely want perl6-language, where

Re: [pugs] Quoting constructs

2005-04-15 Thread Roie Marianer
On Friday 15 April 2005 3:27 am, Larry Wall wrote: > On Fri, Apr 15, 2005 at 03:27:27AM +0300, Roie Marianer wrote: > : > %hash<< a $key_b c >> :key<< a $value_b c >> > : > %hash« a $key_b c »:key« a $value_b c » > : > : Just to be certain, these are both equivalent to > : > : @hash{'

Re: [pugs] Quoting constructs

2005-04-14 Thread Autrijus Tang
On Thu, Apr 14, 2005 at 10:04:42PM +0300, Roie Marianer wrote: > On Tuesday 12 April 2005 12:03 am, you wrote: > > I would rather give you commit rights (we give them out quite > > liberally) and you could apply it yourself actually. But you should > > first test your patch against the latest SVN r

Re: [pugs] Quoting constructs

2005-04-14 Thread Larry Wall
On Fri, Apr 15, 2005 at 03:27:27AM +0300, Roie Marianer wrote: : > %hash<< a $key_b c >> :key<< a $value_b c >> : > %hash« a $key_b c »:key« a $value_b c » : Just to be certain, these are both equivalent to : : @hash{'a', $key_b, 'c'} key => ['a', $value_b, 'c'] : : in Perl 5, righ

Re: [pugs] Quoting constructs

2005-04-14 Thread Roie Marianer
On Friday 15 April 2005 3:06 am, Larry Wall wrote: > Do you mean the behavior of > > "%hash" ":key" > > or > > %hash< a $key_b c > :key< a $value_b c > > Thanks. I meant the latter (I got the former right), and that's what I thought. I'm still not sure exactly how to get it to work, I'll

Re: [pugs] Quoting constructs

2005-04-14 Thread Larry Wall
On Thu, Apr 14, 2005 at 10:04:42PM +0300, Roie Marianer wrote: : I did hit a snag with %hash and :key notation for hashes and : pairs; I'm not sure how to make them interpolate, so for now they just don't. Do you mean the behavior of "%hash" ":key" or %hash< a $key_b c > :key< a $val

Re: [pugs] Quoting constructs

2005-04-14 Thread Roie Marianer
On Tuesday 12 April 2005 12:03 am, you wrote: > I would rather give you commit rights (we give them out quite > liberally) and you could apply it yourself actually. But you should > first test your patch against the latest SVN revision since many many > many things have changed the past few days. S

Re: [pugs] Quoting constructs

2005-04-11 Thread Stevan Little
Roie, On Apr 11, 2005, at 2:17 PM, Roie Marianer wrote: Hi all. I'm new here, just downloaded pugs the other day. I noticed only q//, qq// and qw// were implemented of the quoting constructs, so I tried my hand at implementing most of the quoting constructs as specified in S6. Excellent. It's not

[pugs] Quoting constructs

2005-04-11 Thread Roie Marianer
Hi all. I'm new here, just downloaded pugs the other day. I noticed only q//, qq// and qw// were implemented of the quoting constructs, so I tried my hand at implementing most of the quoting constructs as specified in S6. It's not the best code in the world (and I think I broke qw// on the way)