Want a perl6 Binary?

chromatic on 2007-12-30T08:51:52

Check out Parrot as of r24278 or newer. Configure and build it:

$ perl Configure.pl
$ make

Build Perl 6:

$ cd languages/perl6/
$ make

Now build the new pbc_to_c target. 'snifty:

$ cd ../..
$ make pbc_to_c

With the shiny new pbc_to_c utility, make the perl6 binary:

$ ./pbc_to_c languages/perl6/perl6.pbc

Now you have a perl6 binary that can run Perl 6 programs:

$ ./perl6 languages/perl6/t/01-sanity/01-tap.t

Caveats: you need to build a shared libparrot with dynamic loading (the default Parrot build, I believe). Also, for now, you can only run the Perl 6 binary from the root directory of a Parrot checkout. Both problems are solveable. (I think the binary will work against an installed Parrot, though I'm not sure we install the supporting PBCs appropriately yet.)