Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

PIR

< >

PIR is a programming language created in 2006.

#1673on PLDB 18Years Old 0Repos
Wikipedia

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

- Build the next great programming language Add About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v144.0.0