lua-users home
lua-l archive

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


Ok: the Lua 5.0 compiler will not rearrange commutativity/associativity
operators.

To allow an important optimization, the concatenation operator will be
right associative (always). (It already is that way since 4.0, but the
manual disguised that fact.) We still can use parentheses to force
explicit associtations.

-- Roberto