docs/parrot.pod - Parrot

The Parrot Bytecode Interpreter ^

Parrot is a common bytecode format and interpreter for dynamic languages; it is designed to run Perl 6 code efficiently, but is also intended to be language-agnostic.

Documentation ^

The Parrot documentation is spread across a wide range of files. Good starting points are:


An introductory article on what Parrot is and how to do some interesting things with it.

(Note that this was originally written around the time of Parrot v0.0.2, and is in need of some updating).


An overview of the Parrot architecture and design.


Brief descriptions of the different executables and how to run them.


The Parrot FAQ.


A guide to some of the jargon that crops up repeatedly in Parrot development (and in the documentation...)

More detailed information on the design and implementation of Parrot can be found in:


This subdirectory contains all of the current Parrot Design Documents (PDDs). These are intended to be detailed guides to the design of the various Parrot subsystems; for instance, pdd03_calling_conventions.pod specifies Parrot's inter-routine calling conventions.


This subdirectory contains documentation files that are created from the corresponding opcode files at build time. These files describe what each opcode does and specify what arguments they take.


This subdirectory contains documentation on several of the PMC types available to Parrot. Currently only a few of the available PMCs have been documented. (Patches welcome!)


This subdirectory contains a number of files discussing various implementation decisions made during the course of the development of Parrot. The intent is to keep discussion of implementation-specific issues separate from the basic design issues discussed in the PDDs.


A brief introduction to the vtable at the heart of all PMCs, and how to implement your own PMC type.


Describes the embedding subsystem in excruciating detail.


A brief description of Parrot's Just-In-Time compiler.


An introduction to the Parrot GC subsystem


The Parrot bytecode format.

packfile-perl.pod, packfile-c.pod

The APIs for accessing packed bytecode files (packfiles) from Perl and C.


A description of the string implementation.


Hints on writing tests for the Parrot interpreter.


A beginner's guide to debugging the Parrot executable.


Documentation for pdb, the Parrot debugger.

Supported Platforms ^

Parrot compiles and runs on a large number of platforms, including all common ones. The Parrot team is committed to supporting the following combinations as "core platforms": Linux (x86), Cygwin, Win32, Tru64, OpenVMS (Alpha), Solaris (Sparc), FreeBSD (x86).

Authors ^

Parrot is developed and maintained by the members of the mailing list. The list is archived at:

Web pages ^


for more information.