Kross (software)

Kross
Original author(s) KDE
Developer(s) KDE
Stable release 5.29.0 (December 12, 2016 (2016-12-12)) [±][1]
Preview release 5.0 beta 3 (June 5, 2014 (2014-06-05)) [±][2]
Written in C++
License LGPL
Website kross.dipe.org
Main article: KDE Frameworks

Kross is the new scripting framework for KDE SC 4, the latest version of the KDE SC. Originally Kross was designed for use in KOffice but eventually became the official scripting framework in KDE SC 4. Kross is designed to provide full scripting power for users of KDE applications, with a language of their own choice; and make it easy for developers targeting the KDE platform to enable their application with support for multiple scripting languages (without themselves needing to be proficient in any of them).

The Kross scripting framework is not a scripting language itself. It merely serves to plug into KDE the support for other, already existing scripting languages. Currently supported are: Python, Ruby, JavaScript and the Falcon Programming Language. Addition of other scripting languages is made easy by the modular architecture of the framework.

Kross provides the following advantages over other approaches to enable scripting for desktop applications or desktop environments:

Comparison with other scripting frameworks

SWIG: Simplified Wrapper and Interface Generator

AppleScript

Compared to AppleScript’s Open Scripting Architecture (OSA):

(IPC is not technically necessary for one script to access code from many applications at once: a script can link against library forms of those applications, such as the libraries produced by SWIG.)

Kross does not currently have any provision for running untrusted scripts, i.e. does not allow restricting what scripts can do. Kross developer Sauer[4] suggests either using a language with good sandbox support (such as by using the experimental Java plugin) or using approaches to increase the trust in scripts, such as using signed scripts.[5]

Applications using Kross

References

  1. KDE (2016-12-12). "Release of KDE Frameworks 5.29.0". Retrieved 2016-12-13.
  2. "KDE Ships Third Beta of Frameworks 5". KDE. 2014-06-05.
  3. 1 2 "?". Archived from the original on September 24, 2006. Retrieved 2007-05-16.
  4. The Road to KDE 4: New KOffice Technologies
  5. "?". Archived from the original on September 24, 2006.
This article is issued from Wikipedia - version of the 9/9/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.