Re: use parrot;

2001-10-21 Thread Dan Sugalski

At 03:41 PM 10/21/2001 -0400, Rocco Caputo wrote:
>On Sun, Oct 21, 2001 at 12:20:29PM -0400, Dan Sugalski wrote:
> >
> > I suppose. I hadn't planned on inlining parrot assembly into any other
> > language. (The first person who suggests an asm() function *will* get
> > smacked... :)  You'll certainly be able to use modules written purely in
> > parrot assembly.
>
>1. B::Parrot
>2. Parrot.xs
>3. Providing opcodes for libperl functions and linking it in.

Heck, something like:

   use SomeParrotModule;

would be fine. If there's a SomeParrotModule.pbc, we'll use it.

>I haven't suggested asm(), so technically I'm safe.  Right?  :)

Yep.

Dan

--"it's like this"---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk




Re: use parrot;

2001-10-21 Thread Rocco Caputo

On Sun, Oct 21, 2001 at 12:20:29PM -0400, Dan Sugalski wrote:
> 
> I suppose. I hadn't planned on inlining parrot assembly into any other 
> language. (The first person who suggests an asm() function *will* get 
> smacked... :)  You'll certainly be able to use modules written purely in 
> parrot assembly.

1. B::Parrot
2. Parrot.xs
3. Providing opcodes for libperl functions and linking it in.

I haven't suggested asm(), so technically I'm safe.  Right?  :)

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net



Re: use parrot;

2001-10-21 Thread Dan Sugalski

At 08:11 PM 10/20/2001 +0200, raptor wrote:
>hi,
>
>will it be possible to do this inside Perl program :
>
>
>use parrot;
>...parrot code...
>no parrot;
>OR
>
>sub mysub is parrot {
> parrot code ...
>}

I suppose. I hadn't planned on inlining parrot assembly into any other 
language. (The first person who suggests an asm() function *will* get 
smacked... :)  You'll certainly be able to use modules written purely in 
parrot assembly.

Dan

--"it's like this"---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk




Re: use parrot;

2001-10-20 Thread Michael G Schwern

On Sat, Oct 20, 2001 at 08:11:27PM +0200, raptor wrote:
> will it be possible to do this inside Perl program :
> 
> use parrot;
> ...parrot code...
> no parrot;

Bad idea of the day --> Inline::Parrot!


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]>   Kwalitee Is Job One
HA HA HA  You're all so ridiculous!  But thanks for the money!