in reply to Re: Free .net Perl compiler?
in thread Free .net Perl compiler?

So which is it going to be easier to do...
  1. A .NET interpreter written in Parrot (Perl6?),
  2. A Parrot interpreter written in a .NET language (C#?),
  3. Some sideways binding to permit a .NET interpreter and a Parrot interpreter to inter-call on the same machine,
  4. or get a date for me for Friday night?

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: •Re: Re: Free .net Perl compiler?
by Elian (Parson) on Aug 19, 2002 at 18:14 UTC
    Oh, #1 definitely. That's the simplest of the lot.

    You forgot #5: Compile Parrot with the .NET C compiler. Which is probably the easiest way to get parrot running on a .NET system. (Though we'll emit .NET bytecode at some point)

Re: •Re: Re: Free .net Perl compiler?
by waswas-fng (Curate) on Aug 19, 2002 at 18:06 UTC
    Hmm or get a date for me for Friday night? ,
    I Try to run this and it seems to loop over the print "Ouchie\n"; line nonstop. =)
    open (PHONEBOOK, "/data/phone"); open (PICKUPLINES, "/data/lines"); @lines = <PICKUPLINES>; while (<PHONEBOOK>) { my($firstname, $lastname, $number) = split /:/; print "Whoot!!!\n" if AskOnDate($firstname, $lastname, $number); } close PHONEBOOK; close PICKUPLINES; sub AskOnDate { my($first, $last, $num) = @_; foreach my $try (@lines) { print "Hey there $first, $try"; if (Flirt::Getresponce eq "Slap") { print "Ouchie!\n"; } else { return "$first $last"; } } }


    -Waswas