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?

Stephan Herrmann wrote:
[description of seperate table with function/source pairs]
>Does this in some way or other meet your requirements?

This is clever but I need something that will work in
all cases.

I think I need a new event in Lua something like:

  compileFunction(source, sourceFile)

Would this be difficult to add?

Steve Dekorte