Hi,

refser is yet another table serialization library. It can save trivial
Lua types into strings and load them back. It is written in C and
works both with Lua 5.1 and Lua 5.2.
Main feature of refser is that it handles shared subtables correctly:

x = {}
x[x] = x
y = refser.load(refser.save(x))
assert(y == y[y]) -- OK

Here is the rockspec:

http://raw.github.com/lua4web/refser/master/refser-0.1-1.rockspec

I have tested it on Ubuntu 13.04 with Lua 5.1 and Lua 5.2 and on
Windows XP with Lua 5.1.

Thanks!

Peter

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to