[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: table/function serialization
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 24 Mar 2009 11:43:58 -0300
> i made serialization function that can write out table with
> cross-references and (wow!) functions with (wow!) upvalues.
I could not make it run. Does it support *shared* upvalues as in the
program below? I mean, does it serialize f,g, and h correctly?
function f() x=x+1 return end
function g() x=x-1 return end
assert(f(g()) == g(f()))