Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Support direct tuple access operators "tuple.N"


On Tue, 17 Jul 2018 08:57:58 +0000, Quentin Carbonneaux <quentin@xxxxxx> wrote:

> Hi myrddin-dev,
> 
> From the original mail:
> > This patch adds tuple access expressions. If t is a tuple, its
> > N-th component can be retrieved with the syntax t.N.  Of course,
> > the components are zero indexed.  I believe the code also works
> > if 't' is a pointer to a tuple (but I have not checked this).
> X-Spam-Status: No, hits=0.000000 required=0.900000
> 
> Thanks for the review, Ori; I updated the patch to make it properly
> support tuple access lvalues. Thanks to a lexer hack I added, one
> can now write 't.0.1' instead of '(t.0).1'.

Iffy about that part, but let's see how it goes for now :)

Pushed.

-- 
    Ori Bernstein

References:
[PATCH] Support direct tuple access operators "tuple.N"Quentin Carbonneaux <quentin@xxxxxx>
Re: [PATCH] Support direct tuple access operators "tuple.N"Ori Bernstein <ori@xxxxxxxxxxxxxx>
[PATCH] Support direct tuple access operators "tuple.N"Quentin Carbonneaux <quentin@xxxxxx>