Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. Parrot currently hosts a variety of language implementations in various stages of completion, including Tcl, Javascript, Ruby, Lua, Scheme, PHP, Python, Perl 6, APL, and a .NET bytecode translator. Parrot is not about parrots, though we are rather fond of them for obvious reasons.

Guitor Hero

I've created a new project: Guitor, a GUI creaTOR module written in winxed using Xlib via NCI.

It's not much feature complete yet, but has enough funcionality to provide some nice examples, including a viewer for R->R functions and a drawing board.

I've tested only in linux amd64 and i386, so the StructView used may be not appropiate in some platforms, feedback will be appreciated.

Install: winxed setup.winxed install

Run an example: winxed examples/pizarra.winxed


Parrot Documentation Revision Effort (Blog deux)

All and Everyone:

Parrot's current set of documentation is now up on github. Hopefully, this will aid in the documentation revision effort.

To view the html documents, simply navigate your favorite browser to To edit the documentation, simply navigate your browser to, clone the repo, and make your edits (or provide a pull request).

Thank you.


PACT - Disassembler

The first step in generating a packfile is understanding the packfile. So I've been writing a Winxed disassembler. It's pretty fully featured at this point. It's showing constants, annotations, and symbolic instructions. Despite my fears, it turned out that PCC wasn't all that difficult to deal with.

Parrot Documentation Revision Effort (Blog un)

Finally! I have managed to find enough time -- in the wee hours of the morning no less -- and a stable current of electricity -- meaning the power company has finished its little poll-replacement project -- to push a new 'documentation_revisions' branch to the parrot repo. This is the branch from which anyone involved with the documentation revision effort will work. Hopefully, that is, if I've gotten everything correct. (I make no pretensions here to knowing or to understanding, well, how git works.

Parrot for Dummies (which means me! :-)

This is just a quick, first blog post to ensure everything is working correctly.



Parrot 3.9.0 "Archaeopteryx" Released

On behalf of the Parrot team, I'm proud to announce Parrot 3.9.0 "Archaeopteryx".
Parrot ( is a virtual machine aimed at running all dynamic languages.

Parrot 3.9.0 is available on Parrot's FTP site
(, or by following the
download instructions at For those who would like
to develop on Parrot, or help develop Parrot itself, we recommend using Git to
retrieve the source code to get the latest and best Parrot code.

PACT - Design Notes


So after my last blog post, I started a gist to keep track of "how would I write PCT". I called it PACT, the Parrot Alternate Compiler Toolkit. I suppose I could have called it PCT2, but I really don't want to try to claim it will 100% replace PCT. PCT's very valuable to the people using it right now, but there's no small desire to add to it and I'd like to help it be better. Parrot's main audience, to my mind, is prospective compiler writers and the easier we can make their lives the better.

GSoC: Wrapping up, and some documentation

The hard "pencils down" date was Monday, so now seems like a good time for a blog post summarizing what I ended up completing.

I have DPDA generation and parsing working for LR(0) and SLR(1) grammars. I have the beginnings of a grammar specification DSL (a grammar, but no actions or tokenizer yet; it's in the dsl branch). I do not have support for LALR(k) grammars or general LR(k) grammars. I have not implemented generating code to parse grammars (as opposed to interpreting the DPDA in order to parse them).

End of GSoC, but not Time to Stop...

I've spent the last few days cleaning up my branch: adding documentation, checking that it passes the code standard tests, and trying compiling Rakudo nom. Don't get too excited, we can't compile nom directly to bytecode. Heck, it can't compile squaak directly yet. But I wanted to make sure that all my tinkering hasn't broken the original PIR generation path.

And So Ends the Flight of the Honey Bee

Actually, I suppose the flight has really just begun. It's true that GSoC is nearly at its end but, ironically enough, it doesn't really feel like the end but more of a new beginning. A new debug data format is in the works and it has so much potential!

Syndicate content