I've tried to the word "quit" on a single line but this seems to simply change the command line pointer from a ">" to a ">>". What's the best way to end a session in interactive Lua please?
There is no quit
keyword. Try control-D in Unix, control-Z in Windows or os.exit()
if you must.