lua-users home
lua-l archive

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

Is there any way to ask Lua for the source code of a function?
If not, what's the best way to add this feature?

This is an important feature for a dynamic system like Lua because you
never now if your external source matches what's in the system. So any
sort of graphical object browser(I'm working on one) is going to need this.

This would also allow Lua to be able to save an image of the system from
withing Lua.