lua-users home
lua-l archive

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


In message 
<CAPsVyB8OA6iK1Yx04D+DL+gxGmXuLd-h6qdEYWQ_GsufyGVtpg@mail.gmail.com> 
you wrote:

 > Only curious, How do you implement local ... in structure? just a code
> filter or a patch to Lua 5.2?

The latter. I have been using part of Peter Shook's patch, suitably
modified for RiscLua , since 2005 - now updated for Lua 5.2. 
See "Unpack Tables by Name" on http://lua-users.org/wiki/LuaPowerPatches .
 
-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/