Parrot Internal Representation is an actively used programming language created in 2006. The Parrot intermediate representation (PIR), previously called Intermediate code (IMC), is one of the two assembly languages for the Parrot virtual machine. The other is Parrot assembly language or PASM. Compared to PASM, PIR exists at a slightly higher abstraction layer, and provides temporary registers and named registers, simplifying code generation. Read more on Wikipedia...
- Parrot Internal Representation ranks in the top 25% of languages
- the Parrot Internal Representation wikipedia page
- Parrot Internal Representation first appeared in 2006
- file extensions for Parrot Internal Representation include pir
- See also: assembly-language, parrot-vm, parrot-assembly
- Have a question about Parrot Internal Representation not answered here? Email me and let me know how I can help.
Example code from Linguist:
#!/usr/bin/env parrot .sub 'main' :main say "Hello!" .end
Example code from Wikipedia:
.sub foo .param int a .param int b .local int tmp tmp = a + b .return (tmp) .end
Last updated February 18th, 2020