Copyright © tutorialspoint.com

# What is Parrot

As we know that when we feed our program into conventional perl, it is first compiled into an internal representation, or bytecode; then this bytecode is fed to almost separate subsystem inside perl to be interpreted. So there are two distinct phases of perl's operation:

- Compilation to bytecode and

- Interpretation of bytecode.

This is not unique to Perl; other languages following this design include Python, Ruby, Tcl and, believe it or not, even Java.

We also know that there is a Java Virtual Machine (JVM) which is a platform independent execution environment that converts Java bytecode into machine language and executes it. If you understand this concept then...

Parrot is a virtual machine designed to efficiently compile and execute bytecode for interpreted languages. Parrot is the target for the final Perl 6 compiler, and is already usable as a backend for Pugs, as well as variety of other languages like Tcl, Ruby, Python etc.

Parrot has been written using most popular language "C".

Copyright © tutorialspoint.com