lua-users home
lua-l archive

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


From: "Doug Currie" <e@flavors.com>
> Wouldn't it be nice if the binary module semantics were the same as
> import semantics? This would make binary modules less dependent and
> less intrusive on a global name space. [Binary modules don't usually
> have the circular dependencies problem.]
>
> Also, this would also make it possible for import to work with either
> Lua or binary code. Should the user care how the import module is
> implemented?

Well, we are trying to tackle something like this with the LuaCheia project.
A 'module' should be transparently loadable by the 'user' w/o any need to
know if it is binary, script or otherwise...

-Martin