lua-users home
lua-l archive

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



You got me interested on what you're actually trying to gain.

Lanes has similar stuff, when it dumps functions between Lua states. What's your particular itch on this?

-asko



John Hind kirjoitti 2.2.2009 kello 19:54:

You are right of course, but I am just starting with this. I can see no way, other than generating and compiling a source code string or poking about in
the internals, of getting the run-time value of a variable into a
string.dump.

I am going somewhere with this - I'll explain in more detail when I get
further down the line. My Wiki post here:

http://lua-users.org/wiki/DeferredCall

Will give some clues!

(If this is a correct rendition of your C code, then it all seems
pointless
because engram(f) behaves just as f, doesn't it?)