|
|
||
|
'require' already decouples its process of finding a module, using loaders. This new function package.searchpath will easy the task of writing new loaders. (E.g., both the C loader and the Lua loader are just calls to searchpath.)
Should the loaders table be split into Lua and C loaders ?
Regards, Ignacio Burgueño