[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: A major problem with the Lua ecosystem
- From: Sean Conner <sean@...>
- Date: Thu, 1 Feb 2018 15:48:31 -0500
It was thus said that the Great Dirk Laurie once stated:
> The problem has two parts:
> 1. The name of the module is often a common word like "paths"
> which may easily be non-unique.
> 2. The name under which the module is contributed to LuaRocks
> is not the same as the name that comes in "require".
The worst example of #2 that which I've found is Lua XML. The LuaRocks
module is "luaxml". The file is "LuaXml", which creates (at least under Lua
5.1 which I'm still using) a global "xml". It's a real mess.