lua-users home
lua-l archive

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


On Tue, Apr 17, 2012 at 11:11 AM, Mike Pall <mikelu-1204@mike.de> wrote:
> While you're at it: Lua uses a variant of the MIT license, not the
> MIT/X11 license.

Thanks, Mike; these things do matter, and 'MIT' is easier to type.

Latest push of luabuild provides an option to build against linenoise
(which is BSD)

$ lua lake LINENOISE=1

ditto for a static build

$ lua lake LINENOISE=1 STATIC=1

(In both cases linenoise is linked statically)

Also includes Rob Hoelz's lua-linenoise binding, and I've done an
example.lua [1] file in lieu of any actual documentation.

There was a discussion about using linenoise in Lua [2]; the feeling
was that it was underpowered for some more interesting uses like
intelligent completion. However, this situation has changed materially
since then, since there is now adequate completion support, which is
exposed by lua-linenoise.  Doing a little Lua interpreter with
context-sensitive completion would not be difficult, especially if we
start with a more fully-featured version like ilua.

steve d.

[1] https://github.com/stevedonovan/luabuild/blob/master/modules/lua-linenoise/example.lua
[2] http://lua-users.org/lists/lua-l/2010-03/msg00865.html