Parrot Developer's Guide: PIR Buy on Amazon
Facebook LinkedIn

Parrot Developer's Guide: PIR

18.26 21.95 -17% USD

Usually ships in 24 hours

Book Details
Publisher Onyx Neon Press
ISBN / ASIN 0977920127
ISBN-13 9780977920129
Availability Usually ships in 24 hours
Sales Rank #3,909,998
Marketplace United States 🇺🇸
Ratings & Reviews No reviews yet — be the first!

No reviews yet.

Description
Parrot is a language-neutral virtual machine for dynamic languages such as Ruby, Python, PHP, and Perl. It hosts a powerful suite of compiler tools tailored to dynamic languages and a next generation regular expression engine. Its architecture is fundamentally different than virtual machines such as the JVM or CLR, with optimizations for dynamic languages, the use of registers instead of stacks, and pervasive continuations used for all flow control. This book covers Parrot Intermediate Representation (PIR), Parrot's native low-level language. PIR is fundamentally an assembly language, but it has some higher-level features such as operator syntax, syntactic sugar for subroutine and method calls, automatic register allocation, and more friendly conditional syntax. Parrot libraries -- including most of Parrot's compiler tools -- are often written in PIR. Even so, PIR is more rigid and "close to the machine" than higher-level languages, which makes it a good window into the inner workings of the virtual machine. All proceeds from the sale of this book fund the Parrot development effort.
Donate to EbookNetworking
No Prev
No Next