in reply to Questions about rakudo and parrot

1: I installed rakudo and parrot using fedora's yum utility, and I found there are many parrot libs(in pbc or pir format) already installed with the parrot binary. How can I use those libs inside Perl 6 code?

To use such libraries, in general you need to resort to PIR blocks - here's a discussion on how to use the MD5 library in Perl 6 that's shipped with parrot.

Does Perl 6's @INC includes this path by default, or I have to add that path to my script everytime?

It is included by default:

./perl6 -e '.say for @*INC' /home/moritz/.perl6/lib /home/moritz/rakudo/parrot_install/lib/2.4.0-devel/languages/perl6/lib .
3: As Perl 5 is written in C, it can interact with binary libraries through XS mechanism. How does rakudo implement this function?

Parrot has a native call interface (NCI), and for Rakudo there's zavolaj, which allows you to access the NCI via Perl 6 signatures.

Moreover: How can I see the formatted documents???

Which documents?

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Questions about rakudo and parrot
by llancet (Friar) on Jun 17, 2010 at 01:50 UTC

    Which documents?

    Those documents written in new POD format.

      With Perl6::Perldoc::Parser (though it's not quite up-to-date with the current Pod spec).
      Perl 6 - links to (nearly) everything that is Perl 6.