Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn

2007-03-08 Thread Smylers
[EMAIL PROTECTED] writes: > Saying C<1.2.1> specifies an I match on the version number, > not a minimum match. To match more than one version, put a range > operator in parens: > > +use Dog:ver(1.2.1..*); That[*0] strikes me as a common trap for the unwary. In Perl 5 if you rely on a f

[perl #41738] languages/APL is broken

2007-03-08 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #41738] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41738 > Checking the languages smokes on http://smoke.parrotcode.org/smoke/ I found tha

[perl #41739] [PATCH]: add "clone" method for iterators

2007-03-08 Thread via RT
# New Ticket Created by Eric Hanchrow # Please include the string: [perl #41739] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41739 > b/CREDITS|4 b/t/pmc/iterator.t | 49 +++

[perl #41743] [PATCH] Make all but (perl5|pugs|t) have a MAINTAINER

2007-03-08 Thread Julian Fondren
# New Ticket Created by "Julian Fondren" # Please include the string: [perl #41743] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41743 > Some-but-not-many of the languages/ tree have MAINTAINER files. This patch makes all

PIR Tutorial

2007-03-08 Thread Klaas-Jan Stol
hi, I've started a bit on a PIR tutorial on the wiki. If anybody can spare a few moments, some feedback would be very welcome! regards, kjs

Re: PIR Tutorial

2007-03-08 Thread Julian Fondren
On 3/8/07, Klaas-Jan Stol <[EMAIL PROTECTED]> wrote: hi, I've started a bit on a PIR tutorial on the wiki. If anybody can spare a few moments, some feedback would be very welcome! I don't really have any feedback on what you have, but for what you don't have: 1. docs/compiler_faq.pod teaches

[perl #41746] [BUG] pdump doesn't build.

2007-03-08 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #41746] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41746 > $ make pdump src/packdump.c src/packdump.c: In function 'PackFile_Constant_dump': src/pac

Re: [S09] "Whatever" indices and shaped arrays

2007-03-08 Thread Dr.Ruud
David Green schreef: > Jonathan Lang: >> (In fact, the semantics for "@x[*+n]" follows directly from the fact >> that an array returns the count of its elements in scalar context.) >> And "@x[*]" would be the same as "@x[0..^*]" or "@x[0..(*-1)]". > > That's an elegance in its favour. In Perl5 a

Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn

2007-03-08 Thread Smylers
Andreas J. Koenig writes: > $spot::(parens) > > > On Wed, 7 Mar 2007 20:38:17 -0800 (PST), [EMAIL PROTECTED] said: > > > +class Dog:ver<1.2.1>:auth; > > +class Dog:ver<1.2.1>:auth; > > +class Dog:ver<1.2.1>:auth; >

Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn

2007-03-08 Thread Andreas J. Koenig
$spot::(parens) > On Wed, 7 Mar 2007 20:38:17 -0800 (PST), [EMAIL PROTECTED] said: > +class Dog:ver<1.2.1>:auth; > +class Dog:ver<1.2.1>:auth; > +class Dog:ver<1.2.1>:auth; > +class Dog:<1.2.1 cpan:JRANDOM> >

Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn

2007-03-08 Thread Andreas J. Koenig
> On Thu, 08 Mar 2007 07:21:19 +0100, [EMAIL PROTECTED] (Andreas J. Koenig) > said: > $spot::(parens) Please accept my apologies for my ignorant posting. Clearly the parens indicate ranges. Sorry for the noise. Going back into lurker-mode, -- andreas

[perl #41733] invoke :vtable - execution stops

2007-03-08 Thread Matt Diephouse via RT
On Wed Mar 07 17:02:47 2007, mdiep wrote: > This gets us close to what I want: > > > > void* invoke(void *next) { > STRING *meth = CONST_STRING(interp, "__invoke"); > STRING *meth_v = CONST_STRING(interp, "invoke"); > PMC *sub = Parrot_find_vtable_meth(interp, pmc, m

Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn

2007-03-08 Thread Larry Wall
On Thu, Mar 08, 2007 at 09:05:32AM +, Smylers wrote: : So I fear that people will do the same thing in Perl 6. Which, : initially, will appear to work. But then, some months later, somebody : upgrades the installed version of a module (or the program gets deployed : on another computer, which

Re: [svn:perl6-synopsis] r14319 - doc/trunk/design/syn

2007-03-08 Thread Geoffrey Broadwell
On Wed, 2007-03-07 at 21:35 -0800, [EMAIL PROTECTED] wrote: > +So these are in sorted version order: > + > +1.2.0.999 > +1.2.1_01 > +1.2.1_2 > +1.2.1_003 > +1.2.1a1 > +1.2.1.alpha1 > +1.2.1b1 > +1.2.1.beta1 > +1.2.1.gamma > +1.2.1α1 > +1.2.1β1 > +1.2.

Re: [perl #41743] [PATCH] Make all but (perl5|pugs|t) have a MAINTAINER

2007-03-08 Thread Jerome Quelin
On 07/03/08 01:10 -0800, Julian Fondren wrote: [...] > Index: languages/ook/MAINTAINER > === > --- languages/ook/MAINTAINER (revision 0) > +++ languages/ook/MAINTAINER (revision 0) > @@ -0,0 +1,2 @@ > +N: Jerome Quelini > +E: [EMAIL

C pmclass - parrot object inheritance, interaction vtables/methods/object identities

2007-03-08 Thread Mehmet Yavuz Selim Soyturk
Hello, I'm implementing ECMAscript (javascript) which has prototype based inheritance. An object is some sort of hash which has some properties. An object can have a prototype, from which it inherits all of the properties. And the objects prototype can also have a prototype, from which the object

[svn:perl6-synopsis] r14320 - doc/trunk/design/syn

2007-03-08 Thread larry
Author: larry Date: Thu Mar 8 10:32:50 2007 New Revision: 14320 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S11.pod Log: Further clarification of version syntax as requested by geoff++ and others. Modified: doc/trunk/design/syn/S02.pod

[svn:perl6-synopsis] r14321 - doc/trunk/design/syn

2007-03-08 Thread larry
Author: larry Date: Thu Mar 8 10:45:10 2007 New Revision: 14321 Modified: doc/trunk/design/syn/S02.pod Log: Clarification suggested by obra++. v-style now allows * and + wildcards for convenience. Modified: doc/trunk/design/syn/S02.pod ===

[perl #41749] [TODO] deprecate substr_r op

2007-03-08 Thread via RT
# New Ticket Created by Jerry Gay # Please include the string: [perl #41749] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41749 > from src/ops/string.ops: =item B(out STR, in STR, in INT, in INT) Make $1 refer to the gi

Re: [perl #41749] [TODO] deprecate substr_r op

2007-03-08 Thread Leopold Toetsch
Am Donnerstag, 8. März 2007 20:25 schrieb Jerry Gay: > either move this to experimental.ops, or remove it entirely. i vote to > remove it. we don't need temporary hacks as core ops. $ find . -name '*.pir' | xargs grep substr_r ... ./examples/shootout/revcomp.pir:$S0 = substr_r line, i, 60

[perl #41569] t/distro/file_metadata.t fails on win32

2007-03-08 Thread Ron Blaschke
Hi, Could someone please tell me the expected result of t/distro/file_metadata.pl at revision 17389? After looking into bug #41569 I'm getting the following on Windows (XP, SP2, VC++ 8.0, Subversion). >prove t/distro/file_metadata.t t/distro/file_metadata# Collecting svn:mime-type attr

[perl #25253] [PATCH] Remove Parrot_INTERP

2007-03-08 Thread Jerry Gay via RT
chromatic~ embed/extend is up your alley. do you see a problem with removing Parrot_INTERP since we've already got Parrot_Interp laying around? even though this patch is about three years old, it looks almost valid, and should be quick and easy to apply, if approved. ~jerry

Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn

2007-03-08 Thread David Green
On 3/8/07, Smylers wrote: In Perl 5 if you rely on a feature (or bugfix) from a particular version of a module you can specify that version and the code will continue to work with future versions -- which is a reasonably pragmatic approach, effectively saying "until proven otherwise I'll presu

Module versions (was "Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn")

2007-03-08 Thread David Green
On 3/8/07, Larry Wall wrote: Perl 6 is specced to keep all the old versions of modules around in the library (unless the new version claims to emulate the old version). Oh, good! So how does a module say that it emulates another version? (Or perhaps another module altogether...) Does "does"

Re: Module versions (was "Re: [svn:perl6-synopsis] r14317 - doc/trunk/design/syn")

2007-03-08 Thread Larry Wall
On Thu, Mar 08, 2007 at 12:57:00PM -0700, David Green wrote: : On 3/8/07, Larry Wall wrote: : >Perl 6 is specced to keep all the old versions of modules around in : >the library (unless the new version claims to emulate the old version). : : Oh, good! So how does a module say that it emulates ano

[perl #41753] [CAGE] better document and test PMETHOD and PMINVOKE

2007-03-08 Thread via RT
# New Ticket Created by Jerry Gay # Please include the string: [perl #41753] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41753 > c-level support for parrot calling conventions (PMETHOD) and for calling C methods from C (

Re: PIR Tutorial

2007-03-08 Thread James E Keenan
Klaas-Jan Stol wrote: hi, I've started a bit on a PIR tutorial on the wiki. If anybody can spare a few moments, some feedback would be very welcome! I am very glad to see this. One suggestion and one request for clarification: 1. First bullet point in FAQ should be: What does PIR stand f

Re: [perl #41569] t/distro/file_metadata.t fails on win32

2007-03-08 Thread Will Coleda
I expect the first two to pass, but metadata is often often overlooked on commits. The last one is a new test, not everything has been updated yet. (And I'm not sure it *can* be without breaking windows). Should be passing the second test again as of r17398. On Mar 8, 2007, at 4:23 PM, Ro

[perl #41750] [PATCH] Pynie updates

2007-03-08 Thread via RT
# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #41750] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41750 > hi, attached a patch for pynie: * fixed rule for floatingpoints and imag.numbers. TGE

S03 regexp nit

2007-03-08 Thread Thom Boyer
[EMAIL PROTECTED] wrote: > Modified: doc/trunk/design/syn/S03.pod > == > ... > +Alternately, you can increment a submatch: > + > +$filename ~~ s[^.* <(\w+)> \.\w+$] = $().succ; > + Don't you want the leading .* to be

[svn:perl6-synopsis] r14322 - doc/trunk/design/syn

2007-03-08 Thread larry
Author: larry Date: Thu Mar 8 19:16:14 2007 New Revision: 14322 Modified: doc/trunk/design/syn/S03.pod Log: overgreedy .* noted by thom++ Modified: doc/trunk/design/syn/S03.pod == --- doc/trunk/design/syn/S03.pod