[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] luaprompt 0.3.1
- From: Dimitris Papavasiliou <dpapavas@...>
- Date: Tue, 02 Sep 2014 17:15:12 +0300
luaprompt is a simple library that provides a Lua command prompt
that can be embedded in a host application. It's meant for
applications that use Lua as a configuration or interface
language and can therefore benefit from an interactive prompt for
debugging or regular use.
Also included is luap, an interactive interpreter which tries to
mimic the standard lua interpreter as much as possible while
providing the extra set of features described below. Some
tweaking of the makefile may be required to get it to build.
luaprompt features:
* Readline-based input with history and completion: In
particular all keywords, global variables and table
accesses (with string or integer keys) can be completed in
addition to readline's standard file completion.
* Persistent command history (retained across sessions).
* Proper value pretty-printing for interactive use.
* Color highlighting of error messages and variable printouts.
This is mostly a bug-fix release fixing several memory leaks as well
as bug in the file name completion generator. As a result the sources
now hold up to scrutiny by Valgrind.
Additionally, the use of wordexp() to expand the path to the history
file was removed. Its use probably caused more problems than it
solved due to its unavailability on some platforms. This change
should only concern you if you embed luaprompt in your own project,
luap should function as before.
You can find more information as well as a download link at
luaprompt's homepage:
http://www.nongnu.org/techne/lua/luaprompt/
If your local mirror hasn't picked up the file yet and the link
is broken you can try this link:
http://download-mirror.savannah.gnu.org/releases/techne/luaprompt_0.3.1.tar.gz
There's also a GitHub project page for luaprompt now which you can
find here:
https://github.com/dpapavas/luaprompt
Day-to-day development won't take place there as luaprompt is part of
the source tree of a larger project of mine but I'll push changes en
masse before making a new release. luaprompt doesn't change much
anyway since it's fairly stable and feature complete.
Dimitris