lua-users home
lua-l archive

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


On Wed, Apr 9, 2014 at 2:01 AM, Thomas Jericke <tjericke@indel.ch> wrote:
> local a, b, c in some_table
> local t_concat, t_insert = concat, insert in table
>
> I am sure the parser will be able to distinguish a RHS "in" from a LHS "in".

I had thought about this, and it would be nice -- I just wasn't sure
if it should look so similar when dealing with rvalues and lvalues.
Lua doesn't show any distinguishing trait between what's an object and
what's a reference, so perhaps it would be okay in that vein.

> Could all be done with a preprocessor :-)

I am not your biggest fan anymore.