<s>
MVFLEX	O
Expression	B-Language
Language	I-Language
(	O
MVEL	B-Language
)	O
is	O
a	O
hybrid	O
dynamic/statically	O
typed	O
,	O
embeddable	O
Expression	B-Language
Language	I-Language
and	O
runtime	B-Device
for	O
the	O
Java	B-Language
Platform	O
.	O
</s>
<s>
MVEL	B-Language
is	O
typically	O
used	O
for	O
exposing	O
basic	O
logic	O
to	O
end-users	O
and	O
programmers	O
through	O
configuration	O
such	O
as	O
XML	B-Protocol
files	O
or	O
annotations	B-Language
.	O
</s>
<s>
The	O
runtime	B-Device
allows	O
MVEL	B-Language
expressions	O
to	O
be	O
executed	O
either	O
interpretively	O
,	O
or	O
through	O
a	O
pre-compilation	O
process	O
with	O
support	O
for	O
runtime	B-Device
bytecode	O
generation	O
to	O
remove	O
overhead	O
.	O
</s>
<s>
Since	O
MVEL	B-Language
is	O
meant	O
to	O
augment	O
Java-based	O
software	O
,	O
it	O
borrows	O
most	O
of	O
its	O
syntax	O
directly	O
from	O
the	O
Java	B-Language
programming	I-Language
language	I-Language
with	O
some	O
minor	O
differences	O
and	O
additional	O
capabilities	O
.	O
</s>
<s>
For	O
example	O
:	O
as	O
a	O
side	O
effect	O
of	O
MVEL	B-Language
's	O
typing	O
model	O
,	O
which	O
treats	O
class	O
and	O
method	O
references	O
as	O
regular	O
variables	O
,	O
it	O
is	O
possible	O
to	O
use	O
both	O
class	O
and	O
function	O
pointers	O
(	O
but	O
only	O
for	O
static	O
methods	O
)	O
.	O
</s>
<s>
MVEL	B-Language
also	O
allows	O
collections	O
to	O
be	O
represented	O
as	O
folds	O
(	O
or	O
projections	O
)	O
in	O
a	O
Lisp-like	O
syntax	O
.	O
</s>
<s>
MVEL	B-Language
relies	O
on	O
Java	B-Language
namespaces	O
and	O
classes	O
,	O
but	O
does	O
not	O
possess	O
the	O
ability	O
to	O
declare	O
namespaces	O
or	O
classes	O
.	O
</s>
<s>
Here	O
is	O
an	O
example	O
of	O
the	O
Quicksort	B-Algorithm
algorithm	O
implemented	O
in	O
MVEL	B-Language
2.0	O
,	O
demonstrating	O
the	O
scripting	O
capabilities	O
of	O
the	O
language	O
.	O
</s>
