lua-users home
lua-l archive

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

As I recall from PiL2, if they're designed with the proper _G[...] pattern, it shouldn't be a problem to simply rename the modules you load with a hyphen.

From: "Vaughan McAlley" <>
Sent: Thursday, January 28, 2010 A5:59
Newsgroups: gmane.comp.lang.lua.general
To: "Lua list" <>
Subject: Re: Lua 5.2

You may want to use two bitLibs simultaneously, for a particular
combination of compatibility, ease of use, new features or whatever.
In that case it would be good if they had different names.


2010/1/28 Jerome Vuarand <>

2010/1/28 Alexander Gladysh <>:
> If someone wants to replace existing library, he should pick another
> name for the replacement. Especially if that someone is not people who
> develop the language.

As long as the library has the same API, I see no reason not to use
the same name. This is especially important if you want a third party
module to use the modified version.