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...

14Years Old 20Users ?Jobs

Example code from Linguist:

#!/usr/bin/env parrot

.sub 'main' :main
    say "Hello!"

Example code from Wikipedia:

.sub foo
  .param int a
  .param int b
  .local int tmp
  tmp = a + b
  .return (tmp)

Trending Repos

repo stars description

Last updated August 9th, 2020

Edit Parrot Internal Representation on GitHub