lua-users home
lua-l archive

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


Hi,

following the require discussion on this list some time ago, I put together
an alternative for the require function (called "import") that handles the
package name/path parameters better (vs. _REQUIREDNAME) and can import
cyclically dependent packages if possible.

I put the script and some documentation on my site just now.  Have a look at
it at

    http://members.chello.nl/~w.couwenberg

and give it a spin if you like.  It may not fit your particular application
but maybe it contains some ideas that you might find useful.

Bye,
Wim