lua-users home
lua-l archive

[ANN] lcl - a command-line evaluator library

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


Although Lua is nice :-), sometimes it's best to provide the user with a
simple shell-like command-line interface. But if you do so, you'll have
to parse and execute the line. lcl does that for you. A line like
	print us $me and $you
is evaluated in Lua as
	print("us",me,"and",you)
lcl also supports s-expressions (but in immediate mode with no support
for special forms). An expression like
	(print 'us' me "and" you)
is evaluated in Lua as
	print("us",me,"and",you)
lcl is in the public domain and is available at
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lcl
Checksum and other data at
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/release.txt
Enjoy. All feedback welcome.
--lhf

AltStyle によって変換されたページ (->オリジナル) /