lua-users home
lua-l archive

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

On Mon, 2005-02-07 at 08:45, Mike Pall wrote:

> The 'require' namespace does not separate between Lua and C modules.
> But LuaSocket happens to be a mixed-language library. Thus:
> require("socket") is supposed to load socket.lua (Lua) which in turn does
> require("lsocket") which is supposed to load (C).

BTW: Python convention is 'libname' for script and '_libname' for
binary -- this is better than 'l' convention because it is
unambiguous iff script names don't start with '_', which is more
reasonable than prohibiting 'l' .. :)

John Skaller,
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language