NAME ^

cardinal -- A compiler for Ruby 1.8.4

SYNOPSIS ^

  $ ./parrot languages/cardinal/cardinal.pir script.rb

DESCRIPTION ^

Ruby is a compiler for Ruby version 1.8, running on Parrot. Its parser is a PGE grammar (a subclass of PGE::Grammar). The compilation is a series of tree transformations using TGE: from match tree to abstract syntax tree (AST), from AST to opcode syntax tree (OST), and finally from OST to bytecode (actually to PIR, at first). For more on the ideas behind the compiler, see:

LICENSE ^

Copyright (c) 2005 The Perl Foundation

This is free software; you may redistribute it and/or modify it under the same terms as Parrot.

AUTHOR ^

Kevin Tew <kevintew@tewk.com>


parrot