lua-users home
lua-l archive

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

On Sat, May 14, 2011 at 5:10 PM, Benoit Germain <> wrote:
> Since 'dofile' is a global identifier, any code that references it
> should call yours instead.

Yes, the good old monkey-patching trick. But I get the impression that
'do-node' is under your direct control.  So it is a classic problem of
finding all the dependencies that a particular node depends on, and
squishing these together.  For instance, if the nodes were all little
files, then one could build a file which is a Lua table, where the
keys are the UIDs and the values are the contents of the files, and so

What is your granularity of re-use? A single function exported per node?

steve d.