GSoC/2017/StatusReports/RishabhGupta: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2017‎ | StatusReports
No edit summary
No edit summary
 
Line 1: Line 1:


== About Project ==
== About Project ==
[https://www.kde.org/applications/education/cantor/ Cantor] is a Desktop application that provides an interface for doing mathematical/scientific calculations. It does not implement the logic for doing the calculations, rather it makes use of softwares/languages like Qalculate, R, python etc to do that. Cantor communicates to these softwares/languages using  different communication protocols. Like for instance , the communication with Qalculate happens using the Qalcuate's C API where as communication with R happens using the combination of DBUS protocol and R Api.  
[https://www.kde.org/applications/education/cantor/ Cantor] is a Desktop application that provides an interface for doing mathematical/scientific calculations. It does not implement the logic for doing the calculations, rather it makes use of softwares/languages like Qalculate, R, python etc to do that. Cantor communicates with these softwares/languages using  different communication protocols. Like for instance , the communication with Qalculate happens using the Qalcuate's C API where as communication with R happens using the combination of DBUS protocol and R Api.  


The aim of this project is to make use of a common communication protocol to talk to different back ends. Since all the softwares/languages have a command line interface, it was decided to use CLI for the communication and hence to achieve this we decided to make use of QProcess API.  
The aim of this project is to make use of a common communication protocol to talk to different back ends. Since all the softwares/languages have a command line interface, it was decided to use CLI for the communication and hence to achieve this we decided to make use of QProcess API.  

Latest revision as of 12:46, 27 August 2017

About Project

Cantor is a Desktop application that provides an interface for doing mathematical/scientific calculations. It does not implement the logic for doing the calculations, rather it makes use of softwares/languages like Qalculate, R, python etc to do that. Cantor communicates with these softwares/languages using different communication protocols. Like for instance , the communication with Qalculate happens using the Qalcuate's C API where as communication with R happens using the combination of DBUS protocol and R Api.

The aim of this project is to make use of a common communication protocol to talk to different back ends. Since all the softwares/languages have a command line interface, it was decided to use CLI for the communication and hence to achieve this we decided to make use of QProcess API.

For all the details, please have a look at my complete proposal

What's Done

Ported the following backends to QProcess

1. Qalculate

2. Lua

3. R

What's Left

The only back end that's left to be ported is Python

Review Requests

1. Qalculate : https://phabricator.kde.org/D6074

2. Lua : https://phabricator.kde.org/D6848

3. R : https://phabricator.kde.org/D7565

Commits

https://cgit.kde.org/cantor.git/commit/?h=qprocess_port&id=a08bb054cb5802c4f8a44832c04898b370a566c1


Blogs

GSoc with KDE

QProcess or KProcess

Port Qalculate to Qprocess Part 1

Port Qalculate to Qprocess Part 2

Port of Lua to QProcess

Port of R to QProcess