<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Parrot intermediate representation - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Parrot_intermediate_representation&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Parrot_intermediate_representation&amp;p=4">3.Next</a>
</p>
<p>the "<code>+</code>" operator can be used with <code>int</code>, <code>num</code> or both:<syntaxhighlight lang="raku"> .local int a .local num b a = 1 b = 1.1 .local num c c = a + b</syntaxhighlight></p>

<p><big>Calling conventions</big></p>
<p>The calling conventions in Parrot are complex, but all of that complexity can be hidden by using PIR directives:<syntaxhighlight lang="raku"> .sub foo  .param int a  .param int b  .local int tmp  tmp = a + b  .return (tmp) .end</syntaxhighlight>Each of the directives prefixed with a "<code>.</code>" expands to</p><p>
<a accesskey="1" href="page.php?w=Parrot_intermediate_representation&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Parrot_intermediate_representation&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
