Re: patch to unbreak 'make clean'

2005-10-29 Thread Bernhard Schmalhofer
--- Ursprüngliche Nachricht --- Von: Stig Brautaset [EMAIL PROTECTED] An: perl6-internals@perl.org Betreff: patch to unbreak 'make clean' Datum: Fri, 28 Oct 2005 14:19:12 +0100 Hi, This patch fixes 'make clean' for me. Thanks for pointing this out. Patch applied in r9623. Obviously I

Why submethods

2005-10-29 Thread Damian Conway
In his use.perl.org journal, Luke wrote: To be fair, Damian responded to my query, but he didn't answer my question. He gave more an example of how submethods are used, rather than why they are used. Subroutines are useful inside classes, for factoring class-specific implementation details

[perl #37561] [BUG] register conflict with :slurpy

2005-10-29 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #37561] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37561 --- osname= linux osvers= 2.4.21-27.0.2.elsmp arch=

Re: [perl #37540] [TODO] core - document 'new_pad' op

2005-10-29 Thread Matt Diephouse
Matt Diephouse [EMAIL PROTECTED] wrote: here's a simpler snippet that displays the same failure: .sub _main :main .local pmc pir pir = compreg PIR new_pad 0 $S0 = END_PIR .sub a $P1 = find_lex 1, '$a' .end END_PIR $P2 = pir($S0) # using find_name to get the the PMC for a

Re: [perl #37561] [BUG] register conflict with :slurpy

2005-10-29 Thread Leopold Toetsch
On Oct 29, 2005, at 16:48, Patrick R.Michaud (via RT) wrote: However, there appears to be a register conflict somewhere, because in the line $P0 = pop args both $P0 and args end up using the same register, thus xyz ends up displaying A register alligator bug. I've turned off the code

Re: should roles be parameterized?

2005-10-29 Thread Luke Palmer
On 10/28/05, Christopher D. Malon [EMAIL PROTECTED] wrote: On Oct 28, 2005, at 11:13 PM, Luke Palmer wrote: Trying to think through the VectorSpace example, and a slightly more complicated example (a Field), I'm starting to wonder whether roles need to be parameterized somehow. (Maybe they

Re: Why submethods

2005-10-29 Thread Luke Palmer
On 10/29/05, Damian Conway [EMAIL PROTECTED] wrote: So we need a mechanism that is externally (i.e. from a class interface point-of-view) a subroutine, but internally has the features of a method (i.e. has an invocant). Since it's externally sub-like but internally method-like, we call this

Re: Compiling parrot with c++

2005-10-29 Thread Joshua Hoblitt
On Fri, Oct 28, 2005 at 04:28:20AM -0400, Andrew Rodland wrote: On Thursday 27 October 2005 09:37 pm, Joshua Hoblitt wrote: On Thu, Oct 27, 2005 at 11:22:40PM +0200, Leopold Toetsch wrote: On Oct 27, 2005, at 22:31, Nick Glencross wrote: There are a few cases of -1 being assigned to

Re: Why submethods

2005-10-29 Thread Stevan Little
Luke, On Oct 29, 2005, at 3:42 PM, Luke Palmer wrote: Another thing that scares me with the utility sub point of view follows: class Foo { method process_data($data) { $.help_process_data($data); } submethod help_process_data($data) {

Re: Role Method Conflicts and Disambiguation

2005-10-29 Thread Yuval Kogman
On Fri, Oct 28, 2005 at 14:04:35 -0500, Jonathan Scott Duff wrote: That there will not be two slots for $:foo in Xy, but only one. But, I'm probably wrong about this as the X role may have methods that use $:foo in one way and the Y role may have methods that use $:foo in some other,

Re: [perl #37540] [TODO] core - document 'new_pad' op

2005-10-29 Thread Matt Diephouse
Matt Diephouse [EMAIL PROTECTED] wrote: Matt Diephouse [EMAIL PROTECTED] wrote: here's a simpler snippet that displays the same failure: .sub _main :main .local pmc pir pir = compreg PIR new_pad 0 $S0 = END_PIR .sub a $P1 = find_lex 1, '$a' .end END_PIR $P2 =

Re: [perl #37540] [TODO] core - document 'new_pad' op

2005-10-29 Thread Leopold Toetsch
On Oct 30, 2005, at 1:17, Matt Diephouse wrote: $P2 = pir($S0) $P2 = $P2[0] # get to the first Sub in the Eval store_global b, $P2 The indexed access is still a bit experimental. But anyway - why would you store_global the sub, when just naming it b does that already? leo

Passing arguments to parrot from C

2005-10-29 Thread Nick Glencross
Quick question... I've been looking through inter_run and extend to see how to pass arguments to a parrot method/function from C, but all the prototypes that I've seen have '...' or 'va_list' to accept the arguments. If I don't know what the arguments or their respective types are at