Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

PIR

PIR - Programming language

< >

PIR is a programming language created in 2006.

#538on PLDB 17Years Old 270Users
0Books 0Papers 0Repos

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


Example from Linguist:
#!/usr/bin/env parrot .sub 'main' :main say "Hello!" .end
Example from Wikipedia:
.sub foo .param int a .param int b .local int tmp tmp = a + b .return (tmp) .end
cweb.html 路 parrot-internal-representation.html 路 lpc.html

View source

- Build the next great programming language Search v2023 Day 205 Docs Acknowledgements Traffic Traffic Today Mirrors GitHub feedback@pldb.com