<s>
Kross	B-Language
is	O
a	O
scripting	O
framework	O
for	O
KDE	B-Language
Frameworks	I-Language
.	O
</s>
<s>
Originally	O
Kross	B-Language
was	O
designed	O
for	O
use	O
in	O
KOffice	B-Language
but	O
eventually	O
became	O
the	O
official	O
scripting	O
framework	O
in	O
KDE	B-Language
Software	I-Language
Compilation	I-Language
4	I-Language
.	O
</s>
<s>
Kross	B-Language
is	O
designed	O
to	O
provide	O
full	O
scripting	O
power	O
for	O
users	O
of	O
KDE	B-Application
applications	O
,	O
with	O
a	O
language	O
of	O
their	O
own	O
choice	O
;	O
and	O
make	O
it	O
easy	O
for	O
developers	O
targeting	O
the	O
KDE	B-Application
platform	O
to	O
enable	O
their	O
application	O
with	O
support	O
for	O
multiple	O
scripting	B-Language
languages	I-Language
(	O
without	O
themselves	O
needing	O
to	O
be	O
proficient	O
in	O
any	O
of	O
them	O
)	O
.	O
</s>
<s>
The	O
Kross	B-Language
scripting	O
framework	O
is	O
not	O
a	O
scripting	B-Language
language	I-Language
itself	O
.	O
</s>
<s>
It	O
merely	O
serves	O
to	O
plug	O
into	O
KDE	B-Application
the	O
support	O
for	O
other	O
,	O
already	O
existing	O
scripting	B-Language
languages	I-Language
.	O
</s>
<s>
Currently	O
supported	O
are	O
:	O
Python	B-Language
,	O
Ruby	B-Language
,	O
and	O
JavaScript	B-Language
and	O
the	O
Falcon	O
Programming	O
Language	O
.	O
</s>
<s>
Addition	O
of	O
other	O
scripting	B-Language
languages	I-Language
is	O
made	O
easy	O
by	O
the	O
modular	O
architecture	O
of	O
the	O
framework	O
.	O
</s>
<s>
Kross	B-Language
provides	O
the	O
following	O
advantages	O
over	O
other	O
approaches	O
to	O
enable	O
scripting	O
for	O
desktop	O
applications	O
or	O
desktop	O
environments	O
:	O
</s>
<s>
Other	O
scripting	B-Language
languages	I-Language
can	O
be	O
easily	O
added	O
by	O
writing	O
a	O
module/plugin	O
for	O
Kross	B-Language
.	O
</s>
<s>
Kross	B-Language
currently	O
has	O
fewer	O
supported	O
scripting	B-Language
languages	I-Language
.	O
</s>
<s>
Kross	B-Language
is	O
built	O
on	O
top	O
of	O
Qt/KDE	O
.	O
</s>
<s>
This	O
allows	O
access	O
to	O
Qt/KDE	O
things	O
without	O
needing	O
extra	O
effort	O
to	O
wrap	O
them	O
.	O
</s>
<s>
Applications	O
supporting	O
Kross	B-Language
do	O
not	O
require	O
as	O
much	O
code	O
as	O
to	O
support	O
SWIG	O
.	O
</s>
<s>
With	O
SWIG	O
,	O
the	O
set	O
of	O
supported	O
scripting	B-Language
languages	I-Language
is	O
determined	O
at	O
the	O
time	O
of	O
compiling	O
the	O
application	O
:	O
each	O
supported	O
language	O
must	O
either	O
have	O
code	O
in	O
the	O
application	O
to	O
invoke	O
that	O
language	O
's	O
interpreter	O
,	O
and/or	O
have	O
a	O
shared	O
library	O
specific	O
to	O
that	O
application	O
–	O
language	O
pair	O
whereas	O
Kross	B-Language
does	O
n't	O
need	O
to	O
know	O
until	O
runtime	O
.	O
</s>
<s>
Compared	O
to	O
AppleScript	B-Application
's	O
Open	O
Scripting	O
Architecture	O
(	O
OSA	O
)	O
:	O
</s>
<s>
OSA	O
can	O
be	O
used	O
with	O
IPC	B-Operating_System
(	O
Apple	B-Operating_System
events	I-Operating_System
)	O
,	O
allowing	O
a	O
script	O
to	O
be	O
in	O
a	O
separate	O
process	O
,	O
whereas	O
Kross	B-Language
scripts	O
always	O
run	O
in	O
the	O
same	O
process	O
as	O
the	O
main	O
application	O
.	O
</s>
<s>
In	O
practical	O
terms	O
,	O
using	O
IPC	B-Operating_System
allows	O
a	O
script	O
to	O
interface	O
between	O
several	O
already-running	O
applications	O
;	O
Kross	B-Language
does	O
not	O
.	O
</s>
<s>
(	O
IPC	B-Operating_System
is	O
not	O
technically	O
necessary	O
for	O
one	O
script	O
to	O
access	O
code	O
from	O
many	O
applications	O
at	O
once	O
:	O
a	O
script	O
can	O
link	O
against	O
library	O
forms	O
of	O
those	O
applications	O
,	O
such	O
as	O
the	O
libraries	O
produced	O
by	O
SWIG	O
.	O
)	O
</s>
<s>
While	O
Kross	B-Language
allows	O
the	O
scripter	O
to	O
write	O
scripts	O
in	O
a	O
language	O
of	O
their	O
choice	O
,	O
AppleScript	B-Application
is	O
one	O
given	O
language	O
,	O
though	O
it	O
can	O
be	O
called	O
from	O
within	O
other	O
(	O
scripting	O
)	O
languages	O
.	O
</s>
<s>
Kross	B-Language
always	O
requires	O
code	O
added	O
to	O
the	O
application	O
explicitly	O
for	O
Kross	B-Language
,	O
whereas	O
many	O
macOS	B-Application
applications	O
have	O
basic	O
scriptability	B-Language
just	O
because	O
of	O
their	O
choice	O
of	O
GUI	O
toolkit	O
(	O
Cocoa	B-Operating_System
)	O
(	O
see	O
AppleScript	B-Application
in	O
macOS	B-Application
)	O
.	O
</s>
<s>
“	O
Basic	O
scriptability	B-Language
”	O
here	O
means	O
at	O
least	O
being	O
able	O
to	O
click	O
on	O
buttons	O
and	O
menus	O
and	O
access	O
information	O
provided	O
to	O
accessibility	O
software	O
such	O
as	O
Screen	O
readers	O
.	O
</s>
<s>
Kross	B-Language
does	O
not	O
currently	O
have	O
any	O
provision	O
for	O
running	O
untrusted	O
scripts	O
,	O
i.e.	O
</s>
<s>
Kross	B-Language
developer	O
Sauer	O
suggests	O
either	O
using	O
a	O
language	O
with	O
good	O
sandbox	O
support	O
(	O
such	O
as	O
by	O
using	O
the	O
experimental	O
Java	O
plugin	B-Application
)	O
or	O
using	O
approaches	O
to	O
increase	O
the	O
trust	O
in	O
scripts	O
,	O
such	O
as	O
using	O
signed	O
scripts	O
.	O
</s>
