At Tue, 10 Oct 2000 23:38:58 +0900,
Aleksi Niemel? <aleksi.niemela / cinnober.com> wrote:
> I think we should change only multiple right hand side (or mrhs in parse.y),
> and leave left hand side (lhs) like it is nowadays.

Yes, that's exactly what I suggested in my original mail:

At Tue, 10 Oct 2000 14:17:24 +0900,
I wrote:
> Now, can Ruby's grammar be changed to accept *ary's in the middle of a
> camma separated list where it's not a part of L-value?
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> P.S.
> I also think it's nice to accept it even in an L-value like this:
> 
>   rev = "1.1.2.2"
>   *first, last = rev.split '.'
> 
> but I wouldn't insist that, as it must increase the complexity much.

For the moment I'm sort of pessimistic about this.

  *a, b, *c, d = [1,2,3,4,5] # a = [1,2,3], b = 4, c = [], d = 5

Feh, I'm getting sick. 8)

-- 
                           /
                          /__  __       
                         / )  )  ) )  /
Akinori -Aki- MUSHA aka / (_ /  ( (__(  @ idaemons.org / FreeBSD.org

"We're only at home when we're on the run, on the wing, on the fly"