lua-users home
lua-l archive

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


On Sat, Sep 25, 2010 at 1:26 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
> However, I already have my own all-purpose Lua library in the
> dependencies. Adding another one seems to be an overkill :-)

The story of our lives ;)  You're free to adapt config.lua for your
purposes, it only depends on utils.lua for a few things.

> Perhaps Penlight can be split to many rockspecs, one per module? (Not
> that I really need this, just an idea.)

I've thought about that.  All those times we just want a good robust
function to split a string into a list - bringing in a 8,000 line set
of libraries does feel like overkill.  That was the thinking behind
LuaSnippets - have a standard place to keep short & useful functions
and make it easy to search for them.

Of course, config.read only goes one way, unlike say the win32 API for
ini files which allows for writes as well.

steve d.