Ruby on Parrot
Parrot Perl Ruby Turing
Latest commit 3d2bb80 Aug 19, 2013 @leto leto Add new Parrot Baby Steps link
Failed to load latest commit information.
ports/plumage update plumage json description to new repository Feb 22, 2011
src Patch for issue #6 Oct 13, 2011
t recover leto's commit on master: 3f1ad53 Oct 13, 2011
.gitignore Ignore tags and ctags_opt May 1, 2011
.travis.yml [ci] Hook up the Cardinal test suite to Travis Feb 13, 2012
INSTALL basic documentation Feb 19, 2011
TODO notice about rewriting object model in 6model Feb 21, 2011
Test.rb Add code to Test.rb to permit todo/skip to note the issue number that… Jul 25, 2009
cardinal.pir Add a space in the REPL prompt to improve readability Feb 20, 2011


Cardinal - Ruby for the Parrot VM

Cardinal is a Ruby compiler for Parrot Virtual Machine.

The parser is fairly complete. The standard library exists, but still needs filling out.

Cardinal's parser is very very slow. You can precompile to PIR with –target=pir and run the result with Parrot directly to skip the parsing phase. (You may need cardinal.pbc in the same directory for this to work.)

Getting Started with Cardinal

Downloding Cardinal

Get a copy of Cardinal (read only):

git clone git://

Build with Rake

After obtaining the source code, run:

rake cardinal

To run some tests run:

rake test:all
rake test:[name]

You might get all rake tasks with:

rake -T

Build with Parrot

You can also build cardinal with Winxed (which comes with Parrot)

winxed setup.winxed build


winxed setup.winxed test

Note that some of them will probably fail, as Cardinal is not yet complete

If you want to install Cardinal to your Parrot install directory, run:

winxed setup.winxed install

The compiler will be available as parrot-cardinal


Follow the documentations to start developing cardinal.

Latest Parrot Documentation

Parrot Baby Steps

You are also invited to #parrot on