mxcl/homebrew — pull request #9255 by telemachus (2011-12-23 17:16:54+00:00)
Title: Add option for advanced readline support in 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'.