RE: Serializing Closures in Lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: RE: Serializing Closures in Lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 5 Mar 2002 09:13:05 -0300
>Another solution might be to serialise any Lua modifications as source text.
>eg. if you create a closure, remember the function source string in a table
dostring already remembers source text:
dostring"function f() print'1' end"
local a=getinfo(f)
print(a.source)
--lhf