D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend
Nikita Sirgienko
noreply at phabricator.kde.org
Sun Apr 22 13:18:26 UTC 2018
sirgienko added a comment.
In D12074#251640 <https://phabricator.kde.org/D12074#251640>, @asemke wrote:
> In D12074#250058 <https://phabricator.kde.org/D12074#250058>, @sirgienko wrote:
>
> > @asemke, Could you test it? I think I have solved this problem.
>
>
> Yes, it works. But the implementation seems to be a bit complicated. Wouldn't be easier to simply split the output of lua with QString::split('\n') and QString::split('>') and to remove the input commands from the obtained QStringList?
Not sure, that I have understood, that you mean. Output from lua can comes at different times and in parts, so we don't know, when lua ends, without counting input commands in output
REPOSITORY
R55 Cantor
REVISION DETAIL
https://phabricator.kde.org/D12074
To: sirgienko, #cantor, asemke
Cc: #cantor, #kde_edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180422/6ccdf3fa/attachment-0001.html>
More information about the kde-edu
mailing list