[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Ecosystem
- From: Craig Barnes <craigbarnes85@...>
- Date: Mon, 25 Nov 2013 00:52:01 +0000
Has anyone toyed with the idea of something like Go's "go get" tool
for Lua? The benefits of that system seem to be many; it's
decentralized, enforces unique namespaces (in a way that doesn't
require top-down management), makes separate package metadata mostly
redundant etc. The fact that it's decentralized would also overcome
the scalability hurdle of manually submitting new/updated rocks to a
I don't buy into the notion that long namespaces are somehow ugly,
since module tables are usually bound to a (hopefully shorter) local
name anyway. URI-based namespaces also allow changing something like:
-- unmaintained / incomplete module:
local discount = require "com.github.asb.lua-discount"
local discount = require "com.github.craigbarnes.lua-discount"
To do that in luarocks, you'd either have to come to an agreement to
replace the old module, or give it a silly name like "lua-discount-2".