Steve Dekorte wrote:
> It would be really usefull to me to have a hook for when a function was
declared in Lua.
> Something like:
> function declarefunction(source)
Can't you use the setglobal tag method on nil? In the tag method just check
for the new value being a function. I'm doing this in my old overloaded
function example (http://www.egroups.com/files/lua-l/overloaded.lua).
Unfortunately with Lua as it stands now you'll have to extend assignment to
global and assignment to table separately...