Re: Initial feedback on PAST-pm, or Partridge

2006-12-06 Thread Allison Randal
Patrick R. Michaud wrote: But come to think of it, if we had something like Capture PMCs available as a standard type (and an easy way to generate them in PIR), then the existing :vtable('init') would be quite sufficient. To steal from Perl 6's C<< \(...) >> capture syntax: $P0 = new 'Foo::Ba

Re: :anon Subs and Namespaces

2006-12-06 Thread Allison Randal
Matt Diephouse wrote: One common use of anonymous subs in a dynamic language is for later exporting them into another package (or multiple different packages). In that case, you really don't want the sub to retain a link to its defining namespace, you want it to fully adopt the namespace it's p

Re: [perl #40958] [BUG] - can't iterate subclass of ResizablePMCArray

2006-12-06 Thread chromatic
On Monday 20 November 2006 14:20, Patrick R.Michaud wrote: > I don't seem to be able to use iterators on subclasses of > ResizablePMCArray. Here's an example: > > $ cat t.pir > .sub main :main > .local pmc ar, iter > $P0 = subclass 'ResizablePMCArray', 'MyArray' > >

Re: RFC: Proposal for dynamic binding

2006-12-06 Thread Allison Randal
Bob Rogers wrote: > Allison Randal wrote: The proposal starts off talking about Perl 5's 'local' and Perl 6's 'temp'. They are lexical in nature (though they're more feature-rich than simple lexicals). They only exist within a specific lexical scope, and "roll back" on exiting tha

Re: [svn:parrot-pdd] r16036 - trunk/docs/pdds/clip

2006-12-06 Thread Lee Duhem
+The ultimate goal of Parrot is portability to more-or-less the same +platforms as Perl 5, including AIX, BeOS, BSD/OS, Cygwin, Darwin, +Debian, DG/UX, Domain/OS, DragonFlyBSD, DYNIX/ptx, Embedix, EPOC, +FreeBSD, Gentoo, HP-UX, IRIX, Linux, Mac OS (Classic), Mac OS X, +Mandriva, Minix, MS-DOS, Net

[svn:parrot-pdd] r16037 - trunk/docs/pdds/clip

2006-12-06 Thread allison
Author: allison Date: Wed Dec 6 18:45:38 2006 New Revision: 16037 Modified: trunk/docs/pdds/clip/pdd01_overview.pod Log: [pdd]: Readding Tru64 to list of Parrot target platforms, after Jarkko's recent patch. Modified: trunk/docs/pdds/clip/pdd01_overview.pod =

[svn:parrot-pdd] r16036 - trunk/docs/pdds/clip

2006-12-06 Thread allison
Author: allison Date: Wed Dec 6 18:30:33 2006 New Revision: 16036 Modified: trunk/docs/pdds/clip/pdd01_overview.pod Log: [pdd]: Adding notes to the overview PDD on Parrot's platform targets. Modified: trunk/docs/pdds/clip/pdd01_overview.pod ==

Gather/Take and threads

2006-12-06 Thread Joe Gottman
Suppose I have a gather block that spawns several threads, each of which calls take several times. Obviously, the relative order of items returned from take in different threads is indeterminate, but is it at least guaranteed that no object returned from take is lost? Joe Gottman

Re: [perl #40966] [BUG] Parrot core dumps in perl6 (possible GC/pointer bug?)

2006-12-06 Thread Leopold Toetsch
Am Dienstag, 5. Dezember 2006 22:07 schrieb Matt Diephouse: > Constant PMCs are marked, but are constant STRINGs? As STRINGs aren't pointing to other items, there's no extra code to deal with constant strings. They are marked, when refered to from other locations or maybe not. This is ok, as the

Re: Bug Day!

2006-12-06 Thread Lee Duhem
We have too many bugs. We could use more programmers and testers and documenters. and some examples need to update, for example, replace deprecated syntax with new, etc. For newcomer, examples is good start point to learn, but only if it's up to date.