Compile op with return values

2004-08-22 Thread Steve Fink
I am experimenting with registering my own compiler for the regex language, but the usage is confusing. It seems that the intention is that compilers will return a code object that gets invoked, at which time it runs until it hits an Cend opcode. But what if I want to return some values from the

Re: [perl #31197] literal.t

2004-08-22 Thread Leopold Toetsch
mAsterdam [EMAIL PROTECTED] wrote: Unfortunately the uppercased literals yield 0 instead of 42. Is already fixed in CVS. leo

Re: Calling conventions for unprototyped subroutines?

2004-08-22 Thread Leopold Toetsch
Mattia Barbon [EMAIL PROTECTED] wrote: Hello, crrently argument count is passed in I3. A comment in untils.c near foldup says that: TODO - IMCC and PDD 3 aren't yet in conformance. The TODO is obsolete. IMCC is fixed (at least until it comes to overflow which isn't handled everywhere).

Re: Compile op with return values

2004-08-22 Thread Leopold Toetsch
Steve Fink [EMAIL PROTECTED] wrote: I am experimenting with registering my own compiler for the regex language, but the usage is confusing. It seems that the intention is that compilers will return a code object that gets invoked, at which time it runs until it hits an Cend opcode. But what if

Re: A thought for later -- POD tables

2004-08-22 Thread Brent 'Dax' Royal-Gordon
Aaron Sherman [EMAIL PROTECTED] wrote: Still, tables are useful, so here's a simple way to get the kind of table we see above, without the HTMLish trap of pseudo-layout: Because one of the features of POD is that documentation tends to be readable in markup form, an C=-introduced markup

Re: [perl #31268] [PATCH] Dynamic library with multiple PMCs

2004-08-22 Thread Leopold Toetsch
Mattia Barbon [EMAIL PROTECTED] wrote: Hello, as promised with this patch: pmc2c2 ... --library foo --c pmc1.pmc pmc2.pmc pmc3.pmc ... Thanks, applied, and #31269 too. Nag: the dynext patch from the other week is still unapplied: is there any problem with it or did it just fall

BigBench v0.10

2004-08-22 Thread Tels
--Boundary-00=_4qIKBAMkjo+ZGFc Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Moin, this is something that I had a long time sitting on my harddisk. I uploaded v0.10 to http://bloodgate.com/perl/packages/BigBench-0.10.tar.gz This

Re: BigBench v0.10

2004-08-22 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Sunday 22 August 2004 13:58, Tels wrote: Und jetzt kommen Sie! - Stenkelfeld - -Boundary-00=_4qIKBAMkjo+ZGFc Content-Type: application/x-perl; Ugh, seems the gnupg signing screwed up the mime containers or something like that: I apologize for

Re[2]: Extending interface: PMC flags and marking

2004-08-22 Thread Mattia Barbon
On Sat, 21 Aug 2004 19:36:43 -0400 Dan Sugalski [EMAIL PROTECTED] wrote: At 6:44 PM +0200 8/21/04, Mattia Barbon wrote: Hello, I think extenders should have access to at least some of the flags in PObj_enum. Should we have a different function for each flag (say:

Re[2]: [perl #31268] [PATCH] Dynamic library with multiple PMCs

2004-08-22 Thread Mattia Barbon
On Sun, 22 Aug 2004 11:00:10 +0200 Leopold Toetsch [EMAIL PROTECTED] wrote: Mattia Barbon [EMAIL PROTECTED] wrote: Hello, as promised with this patch: pmc2c2 ... --library foo --c pmc1.pmc pmc2.pmc pmc3.pmc ... Thanks, applied, and #31269 too. Thanks! Nag: the dynext

Re: A thought for later -- POD tables

2004-08-22 Thread Aaron Sherman
Brent 'Dax' Royal-Gordon wrote: Aaron Sherman [EMAIL PROTECTED] wrote: Still, tables are useful, so here's a simple way to get the kind of table we see above, without the HTMLish trap of pseudo-layout: Because one of the features of POD is that documentation tends to be readable in markup form,

Constructors and mixins

2004-08-22 Thread Ovid
Sorry if this has already been asked and answered, but in doing a little research about Perl 6 mixins (http://www.perlmonks.org/index.pl?node_id=384858), I ran into some questions that I couldn't figure from either A12 or Perl 6 and Parrot Essentials. First, how does one access the instance in

Re: Constructors and mixins

2004-08-22 Thread Larry Wall
On Sun, Aug 22, 2004 at 08:04:48AM -0700, Ovid wrote: : Sorry if this has already been asked and answered, but in doing a little research about Perl 6 : mixins (http://www.perlmonks.org/index.pl?node_id=384858), I ran into some questions that I : couldn't figure from either A12 or Perl 6 and

Re[2]: Extending interface: PMC flags and marking

2004-08-22 Thread Dan Sugalski
At 4:00 PM +0200 8/22/04, Mattia Barbon wrote: On Sat, 21 Aug 2004 19:36:43 -0400 Dan Sugalski [EMAIL PROTECTED] wrote: At 6:44 PM +0200 8/21/04, Mattia Barbon wrote: Hello, I think extenders should have access to at least some of the flags in PObj_enum. Should we have a different function

Re: NCI and callback functions

2004-08-22 Thread Stephane Peiry
On Thu, Aug 19, 2004 at 01:21:33PM +0200, Leopold Toetsch wrote: [ segfaulting example ] g_signal_connect_object (G_OBJECT (button), clicked, G_CALLBACK (hello), NULL, 0); Are you sure, that these two G_foo() aren't doing something with the function arguments?

Re[2]: [perl #31268] [PATCH] Dynamic library with multiple PMCs

2004-08-22 Thread Dan Sugalski
At 4:05 PM +0200 8/22/04, Mattia Barbon wrote: On Sun, 22 Aug 2004 11:00:10 +0200 Leopold Toetsch [EMAIL PROTECTED] wrote: Mattia Barbon [EMAIL PROTECTED] wrote: Nag: the dynext patch from the other week is still unapplied: is there any problem with it or did it just fall through the

t/pmc/perlhash.t#20 failed

2004-08-22 Thread Luke Palmer
And as I look at the code for that test: output_is( 'CODE', 'OUTPUT', Getting PMCs from string;int compound keys); new P0, .PerlHash new P1, .PerlHash new P2, .PerlInt set P2, 4 set P1[9], P2 set I0, P1[9] print I0 print \n set P0[a], P1 set I0, P0[a;9]

new CPANTS version data

2004-08-22 Thread Thomas Klausner
Hi! (crossposted from use.perl.org, http://use.perl.org/~domm/journal/20508) As our kids where with their grandparents today and nothing else (cleaning up etc) was todo, I used my tuits to work on CPANTS. The results are a new version on CPAN (should arrive at your CPAN mirror/search.cpan.org

Re: Constructors and mixins

2004-08-22 Thread Damian Conway
Larry wrote: You can also create your own anonymous class at run time that incorporates both roles simultaneously and disambiguates them. Or, presumably, you could use an anonymous role directly: $driver does role { does SanitationEngineer; does RaceCarDriver; method

Planet Parrot

2004-08-22 Thread Robert
Matt and Steve's postings about their Parrot related blogs triggered me to create 'Planet Parrot' - http://planet.parrotcode.org It's an aggregator of: Matt chromatic Dan Suglaski It only has a link to Steve's blog right now, because he doesn't provide RSS. (The

Re: [perl #31270] [PATCH] add test for op 'does'

2004-08-22 Thread Leopold Toetsch
Bernhard Schmalhofer [EMAIL PROTECTED] wrote: I have been adding tests for the op 'does' in most of the PMC test files. Thanks, applied. leo