|
Thanks luiz, i will check those out
> In any case this can be done outside of the language as well but you
> have to be sure that you've taken every possible kind of reference
> (upvalues, table keys/values, etc.) into account. I remember there
> was some sort of code snippet to do this job but I can't remember a
> URL right now. Perhaps someone else can.
See luatraverse:
http://lua-users.org/lists/lua-l/2006-07/msg00110.html
http://lua-users.org/lists/lua-l/2012-04/msg00758.html