Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Parrot Virtual Machine
Perl C Parrot Objective-C Perl6 Emacs Lisp Other
Branch: master
Pull request Compare This branch is 3719 commits behind parrot:master.
Failed to load latest commit information.
compilers kill interp->current_pf
config Create tools/dev/, then create new 'make' target
docs Merge branch 'tt_2184'
editor Remove references to svn or Replace with git referenc…
examples large batch of typo fixes, courtesy of pfusik++
ext update winxed snapshot to 0de3efd454
frontend tiny optimizations in frontend:
include [codingstd] c_arg_assert
lib Merge pull request #154 from dafrito/pod-simple-upgrade
ports Merge branch 'master' of
runtime/parrot fix ChangeLog handling in crow:
src The answer to the XXX question is "yes"
t [t] Add a few more hll interop tests
tools Create tools/dev/, then create new 'make' target
.gitignore Added exclusions for callgrind/cachegrind files.
CREDITS large batch of typo fixes, courtesy of pfusik++
ChangeLog Merge branch 'tt_2184' Remove import of Data::Dumper.
DEVELOPING first batch of $Id$ removals
DONORS.pod [html_cleanup] merge in master, fix conflicts
LICENSE Update license to Artistic 2.0. Resolves RT #43165.
MANIFEST Update manifest
MANIFEST.SKIP [t] And then there were HLL interoperability tests
MANIFEST.generated Add Select to MANIFEST.generated
PBC_COMPAT Release data for Parrot 3.6.0.
PLATFORMS Add 2 entries for darwin/ppc.
README prep for release 3.7.0
README_cygwin.pod Eliminate trailing whitespace. mstevens++.
README_win32.pod first batch of $Id$ removals
RESPONSIBLE_PARTIES Release data for Parrot 3.6.0.
TODO first batch of $Id$ removals
VERSION prep for release 3.7.0
api.yaml Clarify TT#1906 in api.yaml
parrotbug Fix error message in parrotbug


This is Parrot, version 3.7.0

Parrot is Copyright (C) 2001-2011, Parrot Foundation.


This code is distributed under the terms of the Artistic License 2.0.
For more details, see the full text of the license in the file LICENSE.

Parrot is a virtual machine designed to efficiently compile and execute
bytecode for dynamic languages.


You need a C compiler, a linker, and a make program of course.

If you will be linking with the ICU library you have to download and install it
before configuring Parrot. Get it from

You also need Perl 5.8.4 or newer, and Storable 2.12 or newer
for running various configure and build scripts.

For most of the platforms that we are supporting initially, Parrot should build
out of the box. docs/parrot.pod lists the core platforms. PLATFORMS provides
reports on the platforms on which Parrot has been built and tested.

I.  Install Git.

The method depends on your distribution. To install you should execute (as root or sudo <cmd>):

On Ubuntu/Debian (apt-based):

    apt-get install git-core

On Red Hat, Fedora (rpm-based):

    yum install git

on Gentoo (portage):

    emerge -av dev-vcs/git

There are 2 Git ports on Windows:


Macintosh OS X:

An Internet search will locate a variety of git installers for Mac OS X,
including this:

II.  Obtaining Parrot from

To get a copy of the Parrot Git repository:

    git clone git://

This will checkout the master branch by default. To create a local branch
that tracks the branch "some_branch":

    git checkout -b --track some_branch origin/some_branch

All the above URLs are read-only. If you are a Parrot core developer, then
use the read-write URL:

    git clone

You can view the list of branches at


For now, unpack your Parrot tarball, (if you're reading this, you've
probably already done that) and type

    perl --optimize

to run the Configure script. The script extracts configuration
from the running perl5 program.  You may need to explicitly tell
which compiler and linker to use.  For example, to compile C files with 'cc',
C++ files with 'CC', and link everything together with 'CC', you would type

    perl --cc=cc --link=CC --ld=CC

See "perl --help" for more options and docs/configuration.pod
for more details.

For systems like HPUX that don't have inet_pton please run

    perl --define=inet_aton

Running will generate a config.h header, a Parrot::Config
module, platform files and many Makefiles.

The file "myconfig" has an overview of configure settings.

Next, run make. ( will tell you which version of make it
recommends for your system.)

Now, the interpreter should build.  If you are building the ICU library
(this is the default on most systems), you need to use GNU make instead
(or something compatible with it).

You can test Parrot by running "make test". You can run the tests in parallel
with "make TEST_JOBS=3 test".

You can run the full test suite with

    make fulltest

Note: PLATFORMS contains notes about whether test failures are expected
on your system.

You can install Parrot with:

    make install

By default, this installs in /usr/local, with the Parrot executable in
/usr/local/bin. If you want to install Parrot into another location use:

    perl --prefix=/home/joe/bird
    make install

But please note that dynamic libs will not be found for non-standard
locations unless you set LD_LIBRARY_PATH or similar.

Look at docs/parrot.pod and docs/intro.pod for where to go from here.  If you
have any problems, see the section "How To Submit A Bug Report" in
docs/submissions.pod.  These documents are in POD format. You can view these
files with the command:

    perldoc -F docs/intro.pod


For documentation on the user-visible changes between this version and
previous versions, please see NEWS.


The Parrot user mailing list is Subscribe by
filling out the form at .
The list is archived at .

For development discussions see the information in docs/gettingstarted.pod.


See docs/submissions.pod for more information on reporting bugs and
submitting patches.


The following web sites have all the information you need about Parrot:

Have fun,
   The Parrot Team.
Something went wrong with that request. Please try again.