lua-users home
lua-l archive

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


On Sat, Jan 5, 2013 at 5:41 AM,  <lihwa@gmx.com> wrote:
> Greetings to all Lua programmers,
>
> I want to save a complete table, as it is, to a file. According to the
> information at http://lua-users.org/wiki/SaveTableToFile, it is not
> possible, because "Userdata, Functions, Metatables" will not be saved. This
> is a serious restriction.
>
> Is there a way to save a complete table, without restrictions?

Are you sure that you need all this stuff to be saved? Arguably, this
requirement is a design flaw.

Anyway, check out https://github.com/hoelzro/pluto.

HTH,
Alexander.