lua-users home
lua-l archive

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


currently we can require code. but it'd be nice to be able to require resources, using (mostly) the same module machinery.
'
require("foo.bar", "res.txt") would look for "res.txt" as a file in module "foo.bar", regardless of what 'module "foo.bar"' is - except that it must be a module.