mxcl/homebrew — pull request #9228 by telemachus (2011-12-22 13:51:01+00:00)
Title: Add option for advanced readline support to Lua

Lua can be patched to provide better readline support.[1] On OSX the patch
will use libedit.

I am new to Lua, so I can't say how popular this patch is, but it builds
cleanly and easily with Homebrew, and I'm already finding that it makes
Lua's REPL much more friendly.

[1] See http://lua-users.org/wiki/LuaPowerPatches, under 'Advanced readline
support'.