Intriguied by the recent posts on Audrey's blog 
(http://pugs.blogs.com/pugs) about Deploying Perl6 Now, I decided to take 
a look and see what was possible on a system which runs neither GHC or 
Parrot.

I recall hearing about misc/pX/Common/lrep before, but it looks like it's 
only a very beginning implementation -- it handles a few simple 
constructs, but fails on many others.

Today's blog post says there's a "new Perl5-based Perl6 compiler:"

    use v6-pugs;
    "hello, world".say;

    $ perl -Ilib hello_world.pl

So I thought I'd try it out.  Alas, it doesn't work either.  First, I had 
to install Module::Compile (which, in turn, required Test::Base, which, in 
turn, required Spiffy).  Then I had to install PadWalker.  When all that 
was done, it failed with:

Can't locate object method "compile" via package "Pugs::Compiler::Perl6" at 
lib/v6.pm line 41.
Compilation failed in require at 
lib/../../Pugs-Compiler-Rule/lib/Pugs/Grammar/Rule.pm line 18.
BEGIN failed--compilation aborted at 
lib/../../Pugs-Compiler-Rule/lib/Pugs/Grammar/Rule.pm line 18.
Compilation failed in require at 
lib/../../Pugs-Compiler-Rule/lib/Pugs/Compiler/Regex.pm line 10.
BEGIN failed--compilation aborted at 
lib/../../Pugs-Compiler-Rule/lib/Pugs/Compiler/Regex.pm line 10.
Compilation failed in require at (eval 1) line 3.
        ...propagated at /opt/perl/lib/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at lib/../lib/Pugs/Compiler/Perl6.pm line 9.
Compilation failed in require at lib/v6.pm line 40.

What am I missing?  Or is it just not possible to run any of this stuff 
without GHC?

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to