lua-users home
lua-l archive

Re: Lua OS

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


Ok, I give up on innovating. 
Now someone is going to tell me my idea of somehow tracking references
between webpages for cataloging purposes is "described" somewhere.
Jorge
On mar, 2012年04月24日 at 20:49 +0200, Michal Kottman wrote:
> On 24 April 2012 20:33, Jorge <xxopxe@gmail.com> wrote:
> > Anything that is referenced in the the global "persistent" table will be
> > swapped.
> ....
> > Persisting then would mean keeping between restarts.
> 
> Some of what you want is already described here:
> http://lua-users.org/wiki/TableSerialization
> 
> For example, serialization using SQLite is described here:
> http://lua-users.org/wiki/PersistentTablesSqlite
> 
> You are using Lua tables, and all reads/changes are redirected to the
> SQLite database. Some more metatable magic, and you could get a fully
> "persistent" state as you describe (e.g. automatic "new_table()" and
> "get_table()").
> 

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