Re: Re: p6 variable binding in Parrot

2006-12-09 Thread Patrick R. Michaud
On Sat, Dec 09, 2006 at 12:59:35AM -0500, Matt Diephouse wrote: > Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > >On Fri, Dec 08, 2006 at 05:05:00PM -0500, Matt Diephouse wrote: > >> Sure. I think Tcl handles this pretty nicely at the moment (although > >> Leo disagrees - he likes the Ref PMC rout

Re: Re: p6 variable binding in Parrot

2006-12-08 Thread Matt Diephouse
Patrick R. Michaud <[EMAIL PROTECTED]> wrote: On Fri, Dec 08, 2006 at 05:05:00PM -0500, Matt Diephouse wrote: > Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > >Does anyone have any suggestions about what sort of PIR > >code and/or PMCs we need to be able to do make the following > >Perl 6 code w

Re: p6 variable binding in Parrot

2006-12-08 Thread Patrick R. Michaud
On Fri, Dec 08, 2006 at 05:05:00PM -0500, Matt Diephouse wrote: > Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > >Does anyone have any suggestions about what sort of PIR > >code and/or PMCs we need to be able to do make the following > >Perl 6 code work...? > > Sure. I think Tcl handles this pret

Re: p6 variable binding in Parrot

2006-12-08 Thread Leopold Toetsch
Am Freitag, 8. Dezember 2006 22:43 schrieb Patrick R. Michaud: > Does anyone have any suggestions about what sort of PIR > code and/or PMCs we need to be able to do make the following > Perl 6 code work...? > >     my @a; >     @a[4] = 'Hello'; > >     my $b := @a[4]; >     say $b;                #

Re: p6 variable binding in Parrot

2006-12-08 Thread Matt Diephouse
Patrick R. Michaud <[EMAIL PROTECTED]> wrote: Does anyone have any suggestions about what sort of PIR code and/or PMCs we need to be able to do make the following Perl 6 code work...? Sure. I think Tcl handles this pretty nicely at the moment (although Leo disagrees - he likes the Ref PMC route

p6 variable binding in Parrot

2006-12-08 Thread Patrick R. Michaud
Does anyone have any suggestions about what sort of PIR code and/or PMCs we need to be able to do make the following Perl 6 code work...? my @a; @a[4] = 'Hello'; my $b := @a[4]; say $b;# says "Hello" @a[4] = [1, 2]; say $b;# says "1 2"