The writings of Peter Stuifzand

Ruby On Parrot

Parrot is the new virtual machine for Perl6. I will try to create a compiler that uses parrot to run ruby programs.

Stages of doom

This is the order in which I want to create this wonderful new compiler.

  1. Code generator
  2. Core
  3. Standard library (probably the same as the one shipped with ruby)
  4. A parser in ruby or C.

The nice thing is that I can use ParseTree or some other ruby parser to not create a parser. That will be at least a little easier. This parser can later be translated into PIR(Parrot Intermediate Representation).