lua-users home
lua-l archive

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

On Thu, Jan 19, 2012 at 1:24 PM, Egil Hjelmeland
<> wrote:
>  t[#] means t[#t]
>  t[# -1 ] means t[#t -1]
>  t[#  + 1 ] = 'syntactic sugar'

That feels better, and is more general than t[].  Although I suppose
it becomes a special case in the grammar, an implicit # operator, and
I know most Lua followers are reluctant to complicate the syntax

steve d.