<s>
mruby	B-Application
is	O
an	O
interpreter	B-Application
for	O
the	O
Ruby	B-Language
programming	I-Language
language	I-Language
with	O
the	O
intention	O
of	O
being	O
lightweight	O
and	O
easily	O
embeddable	O
.	O
</s>
<s>
mruby	B-Application
1.0	O
supports	O
the	O
Ruby	B-Language
2.1	O
core	O
API	O
,	O
but	O
none	O
of	O
the	O
standard	O
library	O
.	O
</s>
<s>
As	O
well	O
as	O
being	O
able	O
to	O
execute	O
most	O
basic	O
Ruby	B-Language
code	O
,	O
mruby	B-Application
also	O
features	O
a	O
bytecode	O
compiler	O
and	O
virtual	B-Architecture
machine	I-Architecture
,	O
as	O
well	O
as	O
the	O
ability	O
to	O
be	O
easily	O
embedded	O
and	O
integrated	O
into	O
C	B-Language
or	O
C++	B-Language
code	I-Language
,	O
in	O
a	O
similar	O
manner	O
to	O
Lua	O
or	O
Tcl	B-Operating_System
.	O
</s>
<s>
mruby	B-Application
2.0.0	O
adds	O
support	O
for	O
several	O
Ruby	B-Language
2.x	O
methods	O
beyond	O
Ruby	B-Language
2.1	O
.	O
v2.0.0	O
also	O
changed	O
to	O
variable	O
length	O
bytecode	O
instructions	O
format	O
.	O
</s>
<s>
mruby	B-Application
bytecode	O
can	O
be	O
embedded	O
in	O
C	B-Language
code	O
,	O
and	O
thus	O
,	O
can	O
be	O
compiled	O
into	O
a	O
standalone	O
executable	O
.	O
</s>
<s>
mruby	B-Application
also	O
aims	O
to	O
be	O
compliant	O
with	O
the	O
ISO/IEC	O
30170:2012	O
standard	O
.	O
</s>
<s>
Assuming	O
that	O
the	O
mruby	B-Application
library	O
and	O
headers	O
are	O
installed	O
,	O
the	O
program	O
can	O
be	O
compiled	O
and	O
executed	O
by	O
running	O
the	O
following	O
commands	O
from	O
the	O
terminal	O
:	O
</s>
<s>
mruby	B-Application
includes	O
a	O
minimalistic	O
virtual	B-Architecture
machine	I-Architecture
used	O
to	O
execute	O
mruby	B-Application
bytecode	O
,	O
nicknamed	O
ritevm	O
:	O
</s>
<s>
The	O
first	O
command	O
compiles	O
Ruby	B-Language
code	O
to	O
mruby	B-Application
bytecode	O
,	O
creating	O
a	O
file	O
called	O
"	O
test.mrb	O
"	O
,	O
which	O
can	O
then	O
be	O
executed	O
by	O
appending	O
the	O
"	O
-b	O
"	O
flag	O
to	O
the	O
normal	O
interpreter	B-Application
arguments	O
.	O
</s>
