<s>
The	O
Parrot	B-Language
intermediate	I-Language
representation	I-Language
(	O
PIR	O
)	O
,	O
previously	O
called	O
Intermediate	O
code	O
(	O
IMC	O
)	O
,	O
is	O
one	O
of	O
the	O
two	O
assembly	B-Language
languages	I-Language
for	O
the	O
Parrot	B-Language
virtual	I-Language
machine	I-Language
.	O
</s>
<s>
The	O
other	O
is	O
Parrot	B-Language
assembly	I-Language
language	I-Language
or	O
PASM	O
.	O
</s>
<s>
Compared	O
to	O
PASM	O
,	O
PIR	O
exists	O
at	O
a	O
slightly	O
higher	O
abstraction	B-Architecture
layer	I-Architecture
,	O
and	O
provides	O
temporary	O
registers	O
and	O
named	O
registers	O
,	O
simplifying	O
code	O
generation	O
.	O
</s>
<s>
While	O
Parrot	B-Language
is	O
still	O
evolving	O
,	O
it	O
is	O
currently	O
being	O
used	O
in	O
many	O
different	O
capacities	O
,	O
and	O
has	O
undergone	O
several	O
releases	O
.	O
</s>
<s>
PIR	O
provides	O
a	O
set	O
of	O
abstractions	O
that	O
allow	O
the	O
programmer	O
to	O
ignore	O
certain	O
redundancies	O
in	O
the	O
Parrot	B-Language
bytecode	O
and	O
quickly	O
write	O
code	O
that	O
adheres	O
to	O
the	O
complexities	O
of	O
Parrot	B-Language
,	O
such	O
as	O
the	O
calling	O
conventions	O
.	O
</s>
<s>
PIR	O
provides	O
both	O
type	O
abstraction	O
and	O
polymorphism	B-Application
to	O
some	O
degree	O
.	O
</s>
<s>
The	O
calling	O
conventions	O
in	O
Parrot	B-Language
are	O
complex	O
,	O
but	O
all	O
of	O
that	O
complexity	O
can	O
be	O
hidden	O
by	O
using	O
PIR	O
directives	O
:	O
</s>
<s>
expands	O
to	O
the	O
required	O
Parrot	B-Language
bytecode	O
,	O
but	O
does	O
not	O
directly	O
represent	O
any	O
fundamental	O
Parrot	B-Language
operation	O
.	O
</s>
