[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work3) now available
- From: Hisham <h@...>
- Date: Tue, 24 Jun 2014 10:43:55 -0300
> Then given your (valid) concerns, "!.\lua\?.dll;!.\?\core.dll" seems very
> reasonable to me. Because "core.dll" is common and lua inturprets "_" as
> directories in the dll_exports name, nesting is a "thing" to deal with, no
> matter what. The only place where this would be an issue is if a dll had
> direct C entry points and as you say, that would be an application issue
> that can be dealt with.
Please no -- foo.core is a common pattern for C-based modules, but it
is explicitly required with require("foo.core") in the Lua-based foo
module. Making the "core" part of the name an implicit search would
break modules everywhere, starting with LuaSocket. One shouldn't be
"creative" with module paths like that; the naming hierarchy of
modules, apart from the top-level modules in the standard Lua library,
belongs to module authors.
-- Hisham