v6 - an experimental Perl 6 implementation (under way)
Command line:
$ perl -Ilib lib/v6.pm -e ' for 1,2,3 -> $x { say $x }'
Compile-only:
$ perl -Ilib lib/v6.pm --compile-only -e ' <hello>.say; '
Script or module:
# file: hello_world.pl use v6-pugs; "hello, world".say; $ perl hello_world.pl
The v6 module is a front-end to the experimental Perl6-to-Perl5 compiler.
v6
The current state of this compiler implementation only provide a small sample of Perl 6 syntax and semantics.
The Pugs/Haskell Perl 6 is currently the most complete implementation. Pugs currently has some issues with Perl 5 interoperability.
Parrot Perl 6 is the best performing implementation by far. The Parrot implementation is currently at a comparable state as v6.pm.
Although running v6 requires the installation of a lot of Perl 5 modules, it is completely independent of Pugs or Parrot.
The Pugs Team <perl6-compiler@perl.org>.
The Perl 6 Synopsis: http://dev.perl.org/perl6/doc/synopsis.html
Copyright 2006 by Flavio Soibelmann Glock and others.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install v6, copy and paste the appropriate command in to your terminal.
cpanm
cpanm v6
CPAN shell
perl -MCPAN -e shell install v6
For more information on module installation, please visit the detailed CPAN module installation guide.