lua-users home
lua-l archive

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


>A last thing about the lua console (the interactive lua). Could it be more
>shell-like with say, command history, Unix-style shortcuts ? Would it be 
>possible to write complete functions without adding the "\" at each end line?

History and transparent handling of multiline statements are available in the
work version of lua.c at http://www.tecgraf.puc-rio.br/lua/work/ .
See my lua-l posting of Nov 22 for details.

This versions includes one shortcuts: "=" for "return" and in this case it
prints the values returned. Great to use Lua as a calculator or debugger.
--lhf