lua-users home
lua-l archive

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


Mike Pall wrote:
> Hi,
> 
> I've updated my patch for Lua 5.1. Here is the download link:
>   http://luajit.luaforge.net/patches/lua-5.1-advanced-readline.patch

This is great, and I guess it would be nice to see it in Lua 5.2 as is,
but I'm wondering if we can do something more general.  Would it be
possible to make this a module?  Then we could reference it explicitly
when invoking the interpreter (i.e. "lua -ladvanced_readline") or
require it indirectly via LUA_INIT.  I'd like to open up possibilities
for user customizations, implementing the advanced support in Lua itself
(still via the readline library), and allowing Lua command lines other
than that of lua.c to have identical capabilities.

--John