- setup communication between Cantor and Lua interpreter through QProcess
- use Lua interpreter for all the calculations
- use Lua C Api for tab completion
Details
Diff Detail
- Repository
- R55 Cantor
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Please, reply the last point. I will address the others.
src/backends/lua/luaexpression.cpp | ||
---|---|---|
65 | 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). | |
src/backends/lua/luasession.cpp | ||
50 | I must ask to Lucas Negri (the original author of this backend) if it is more interesting to use Lua or Luajit. | |
64–72 | Do you have an example where readIntroMessage will be used? |
src/backends/lua/luasession.cpp | ||
---|---|---|
64–72 | 'Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio', this is the initial message produced when Lua is started. |
src/backends/lua/luasession.cpp | ||
---|---|---|
64–72 | Ah ok! :) |
src/backends/lua/luaexpression.cpp | ||
---|---|---|
65 | 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. |
Trying to send a message to Phabricator from e-mail.
Em 07-10-2017 17:26, Filipe Saraiva escreveu: