lua-users home
lua-l archive

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


Nice library, tons of useful bits.    Andrew

On Sat, Apr 18, 2009 at 8:31 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> Hi guys,
>
> Penlight is a set of pure Lua libraries designed to make some common
> tasks easier and more standard. The dependencies are just lfs and
> alien (if you're on Windows and want a path.copyfile that works
> properly)
>
> 1) Inspired by Nick Trout's Python-like List class, there are Lua
> ports of several useful Python libraries:
> List,extended string methods, path operations, directory operations
> (including the very useful dir.walk)
>
> 2) Support for functional programming, including Boost-style
> placeholder expressions:
>     tablex.map2(t1,t2,_1()+_2())
>     f = bind(g,_1,false)
>
> 3) Some libraries for handling common file formats, like delimited
> text files with headers, AWK-style field iterators and configuration
> files.  There is also SIP (Simple Input Patterns) which aims to be
> Regular Expressions for Dummies (which is a class I sometimes find
> myself in)
>
> Until LuaForge and I have a better day, some temporary hosting:
>
> Find it here at:
>
> http://mysite.mweb.co.za/residents/sdonovan/lua/penlight/pl.0.6b.zip
> (includes User Guide and module help)
>
> For the merely curious:
>
> Users Guide at:
> http://mysite.mweb.co.za/residents/sdonovan/lua/penlight/penlight.html
>
> LuaDoc help at:
> http://mysite.mweb.co.za/residents/sdonovan/lua/penlight/index.html
>
> steve d.
>