lua-users home
lua-l archive

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


On Sat, Apr 9, 2011 at 01:53, Henning Diedrich <hd2010@eonblast.com> wrote:

> does anybody know who contributed the stringifier at the top of
> http://lua-users.org/wiki/TableUtils ?

> If I use that in an MIT licensed Open Sourced project, how do I best
> attribute that source? I checked out the charter but am not sure what to
> make of it.

Consider using my MIT-licensed tstr() instead:

https://github.com/lua-nucleo/lua-nucleo/blob/master/lua-nucleo/tstr.lua

It is fast, proven, and covers all corner-cases.

If you need serialization of self-referencing tables, use larger but
still fast tserialize:

https://github.com/lua-nucleo/lua-nucleo/blob/master/lua-nucleo/tserialize.lua

Alexander.