lua-users home
lua-l archive

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

On Feb 27, 2013, at 9:56 PM, D. Matt Placek <> wrote:

> This is one of the greatest strengths of Lua, IMO; yes, ruby and perl etc.
> have a larger base of ready-made packages, but try integrating your own
> custom C++ class. Ouch!  Lua is so straightforward and simple to integrate
> with C/C++ code that for most purposes, any C or C++ library is ready to
> use with Lua.

Also, perhaps worth mentioning, an alternative approach to binding to external libraries is to use Lua to, well, script other tools. Remember, io.popen is your friend. An handful of command line tools here and there, all driven by Lua, can be a potent combination.

For example:

addrlist, extract, iconv, lynx, reformail, reformime, sqlite, a bit of Lua, and voila, a full email processor :D