lua-users home
lua-l archive

[ANN] Persistor, Transparent Persistence for Lua data!

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


From the README:
------------------------------------
local persistor = require 'persistor'
local p = persistor.new('path/to/the/object/folder')
-- store something
p.pi = 3.14
p.circle = {center={x=0, y=0}, radius=0.5}
-- read something (possibly much later)
print (2 * p.pi * p.circle.radius)
------------------------------------
https://github.com/xopxe/lua-persistor
Oh, you're going to be soooooo disappointed! :)
Jorge

AltStyle によって変換されたページ (->オリジナル) /