<s>
The	O
SARL	B-Language
programming	O
language	O
is	O
a	O
modular	B-Architecture
agent-oriented	B-Language
programming	I-Language
language	O
.	O
</s>
<s>
SARL	B-Language
is	O
platform-independent	O
and	O
agent	O
’s	O
architecture-agnostic	O
.	O
</s>
<s>
SARL	B-Language
itself	O
exploits	O
this	O
extension	O
mechanism	O
for	O
defining	O
its	O
own	O
extensions	O
(	O
organizational	O
,	O
event-driven	O
,	O
etc	O
.	O
</s>
<s>
The	O
metamodel	O
of	O
SARL	B-Language
is	O
based	O
on	O
four	O
main	O
concepts	O
:	O
Agent	O
,	O
Capacity	O
,	O
Space	O
and	O
Skill	O
.	O
</s>
<s>
The	O
core	O
metamodel	O
of	O
SARL	B-Language
is	O
presented	O
in	O
Figure	O
1	O
,	O
and	O
the	O
main	O
concepts	O
are	O
colored	O
in	O
light	O
blue	O
.	O
</s>
<s>
Each	O
of	O
them	O
are	O
detailed	O
in	O
the	O
following	O
sections	O
,	O
as	O
well	O
as	O
the	O
corresponding	O
piece	O
of	O
SARL	B-Language
code	O
to	O
illustrate	O
their	O
practical	O
use	O
.	O
</s>
<s>
In	O
SARL	B-Language
,	O
a	O
Multiagent	O
System	O
(	O
MAS	O
)	O
is	O
a	O
collection	O
of	O
Agents	O
interacting	O
together	O
in	O
shared	O
distributed	O
Spaces	O
.	O
</s>
<s>
Despite	O
its	O
open	O
nature	O
,	O
SARL	B-Language
imposes	O
some	O
fundamental	O
principles	O
to	O
be	O
respected	O
by	O
the	O
various	O
Virtual	O
Machines	O
(	O
VM	O
)	O
that	O
wants	O
to	O
support	O
it	O
.	O
</s>
<s>
SARL	B-Language
encourages	O
a	O
massively	O
parallel	O
execution	O
of	O
Agents	O
and	O
Behaviors	O
.	O
</s>
<s>
SARL	B-Language
is	O
fully	O
interoperable	O
with	O
Java	O
to	O
easily	O
reuse	O
all	O
the	O
contributions	O
provided	O
by	O
the	O
Java	O
community	O
,	O
but	O
also	O
to	O
facilitate	O
the	O
integration	O
and	O
evolution	O
of	O
legacy	O
systems	O
.	O
</s>
<s>
One	O
of	O
the	O
key	O
principles	O
governing	O
SARL	B-Language
consists	O
in	O
not	O
imposing	O
a	O
predefined	O
way	O
for	O
Agents	O
to	O
interact	O
within	O
a	O
Space	O
.	O
</s>
<s>
The	O
metamodel	O
and	O
the	O
syntax	O
of	O
the	O
SARL	B-Language
programming	O
language	O
have	O
been	O
inspired	O
by	O
the	O
languages	O
like	O
Scala	B-Application
,	O
Clojure	B-Language
,	O
and	O
Ruby	B-Language
.	O
</s>
<s>
The	O
SARL	B-Language
tools	O
have	O
been	O
developed	O
on	O
top	O
of	O
,	O
that	O
enables	O
to	O
easily	O
build	O
domain-specific	O
languages	O
that	O
are	O
directly	O
integrated	O
into	O
the	O
Eclipse	B-Application
framework	I-Application
.	O
</s>
<s>
The	O
complete	O
definition	O
of	O
the	O
SARL	B-Language
syntax	O
is	O
available	O
on	O
.	O
</s>
<s>
The	O
SARL	B-Language
programming	O
language	O
is	O
based	O
on	O
an	O
agent-oriented	O
metamodel	O
based	O
on	O
the	O
following	O
concepts	O
.	O
</s>
<s>
For	O
illustrating	O
the	O
syntax	O
of	O
the	O
SARL	B-Language
language	I-Language
,	O
the	O
Ping-Pong	B-Algorithm
scheme	I-Algorithm
is	O
coded	O
below	O
.	O
</s>
<s>
SARL	B-Language
language	I-Language
specifies	O
a	O
set	O
of	O
concepts	O
and	O
their	O
relations	O
.	O
</s>
<s>
However	O
,	O
the	O
SARL	B-Language
language	I-Language
does	O
not	O
impose	O
a	O
particular	O
execution	O
infrastructure	O
for	O
being	O
platform-independent	O
.	O
</s>
<s>
Nevertheless	O
,	O
the	O
provides	O
the	O
infrastructure	O
for	O
running	O
SARL	B-Language
agents	O
.	O
</s>
<s>
It	O
implements	O
all	O
required	O
infrastructure	O
to	O
execute	O
a	O
MAS	O
programmed	O
in	O
the	O
SARL	B-Language
language	I-Language
.	O
</s>
<s>
The	O
major	O
assumption	O
made	O
at	O
the	O
SARL	B-Language
language	I-Language
level	O
are	O
supported	O
by	O
this	O
run-time	O
environment	O
:	O
fully	O
distributed	O
,	O
parallel	O
execution	O
of	O
agent	O
’s	O
behaviors	O
.	O
</s>
