lua-users home
lua-l archive

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


>Can any of you think/know about a better way to implement
>serializable callbacks ?

Try using the bytecode instead of the source. See string.dump.

>Does it make sense to have loadstring create a (...) function ?

Yes. It's in our plans for 5.1: chunks will be vararg functions.
--lhf