lua-users home
lua-l archive

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


On Sun, Aug 16, 2009 at 2:06 PM, Alexander Gladysh wrote:
> I usually use this idiom in my DSLs:
>    has "x" { is = 'rw', isa = 'number', default = 0 }

or just

  has.x { is = 'rw', isa = 'number', default = 0 }

[1] http://lua-users.org/lists/lua-l/2009-08/msg00357.html