lua-users home
lua-l archive

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


2010/5/4 spir ☣ <denis.spir@gmail.com>:
> This would allow having most array/sequence methods we miss now without polluting general (associative) table.

Ah, but mostly it doesn't feel like 'pollution'.  Consider this little
excerpt from a utility I'm working on:

layout {
    form = form,
    TOP = layout.down {layout.across{input,btn},5,combo},
    CENTER = scroll(text),
    BOTTOM = layout{LEFT=status1}
}

Lua's roots in data description makes this kind of flexible
declarative style possible.

steve d.