- setup communication between Cantor and Lua interpreter through QProcess
- use Lua interpreter for all the calculations
- use Lua C Api for tab completion
Please, reply the last point. I will address the others.
I think we need to use return in order to reproduce the 'interpreter behavior' of Lua in Cantor (that behavior like send-a-command-get-the-answer-without-print-command).
I must ask to Lucas Negri (the original author of this backend) if it is more interesting to use Lua or Luajit.
Do you have an example where readIntroMessage will be used?
'Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio', this is the initial message produced when Lua is started.
It would be great if we can eliminate the use of 'print' statement from user's side. There's a case where using 'return' statement produces wrong output/behavior, I can't recall that case atm.