Skip to content

lateau/cardinal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

547 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.)

Get a copy of Cardinal(read only):

git clone git://github.com/parrot/cardinal.git

After obtaining the source code, run:

rake cardinal

To run some tests run:

rake test:all
rake test:[name]

Submit a report:

rake smolder

You might get all rake tasks with:

rake -T

You can also build cardinal with Parrot:

parrot setup.pir

Testing:

parrot setup.pir test

Submit a report:

parrot setup.pir smoke

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:

parrot setup.pir install

The compiler will be available as parrot-cardinal

Also Cardinal can be nicely works with Winxed 1.2.0+:

winxed setup.winxed build
winxed setup.winxed test
winxed setup.winxed install

Submit a report:

parrot setup.winxed smoke

For more usages:

winxed setup.winxed help

Follow the documentations to start developing cardinal.

Latest Parrot Documentation

Parrot Babysteps

Cardinal is back in active development, under the stewardship of Ted Reed <ted.reed@gmail.com>.

We also have an IRC channel: #cardinal on irc.parrot.org

You are also invited to #parrot on irc.parrot.org

About

Ruby on Parrot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Parrot 65.4%
  • Perl 25.3%
  • Ruby 9.3%