Re: string documentation: PDD and docs/strings.pod

2008-05-03 Thread Allison Randal
Klaas-Jan Stol wrote: hi, it seems that there is overlap in the strings pdd (28) and the strings implementation document in docs/strings.pod. I'm not sure if this is a good idea; I think these should be merged. If so, I'll open a ticket to do so (but wanted to check first) There's overlap

[perl #48188] [TODO] [amber] Correct overflow for -maxint in abs()

2008-05-03 Thread Klaas-Jan Stol via RT
amber sources are no longer stored in the parrot repository. ticket rejected.

[perl #48192] [TODO] [amber] Correct overflow issue in integer()

2008-05-03 Thread Klaas-Jan Stol via RT
amber sources are no longer stored in the parrot repository. ticket rejected.

[perl #48184] [TODO] [amber] Use has(index) to check indices in set_item()

2008-05-03 Thread Klaas-Jan Stol via RT
amber sources are no longer stored in the parrot repository. ticket rejected.

Re: All classes imply the existence of a role of the same name.

2008-05-03 Thread Richard Hainsworth
All classes imply the existence of a role of the same name. -- c Please justify that. --John As a 'Joe Blow' type programmer trying to follow this thread, I went back to the traits paper http://web.cecs.pdx.edu/~black/publications/TR_CSE_02-012.pdf and read John's Polymorphism paper.

Re: [perl #31151] [TODO] Strings - Automate string vtable generation

2008-05-03 Thread Allison Randal
Will Coleda via RT wrote: On Sun Aug 15 13:35:26 2004, coke wrote: Automate string vtable generation (From the TODO file) This is a very old TODO with no information cut and pasted by yours truly from the TODO file we used to have. Anyone thinks it's worth doing (and can actually explain

Class question: what is (my $!var) ?

2008-05-03 Thread John M. Dlugosz
I've come back to this: my $!var — class attribute, no accessor, not inheritable. How is this different from a normal lexical variable? Role composition can show differences? What's the point? our $!var — class attribute, no accessor, inheritable. But private variables are not inherited.

grammar for 'constant' ?

2008-05-03 Thread John M. Dlugosz
The synopses are contradictary over the way 'constant' works. First it says that it is a declarator like 'my'. Then in S12 it shows my constant ... and our constant ... that is, independant from the my or our declarator. Assuming the second way is newer/better, what is the grammar for

[perl #48190] [TODO] [amber] Can null variable check be reinstated by generating n_neg instead of neg?

2008-05-03 Thread Klaas-Jan Stol via RT
amber sources are no longer stored in the parrot repository. ticket rejected.

[perl #48186] [TODO] [amber] Consider using unicode in character()

2008-05-03 Thread Klaas-Jan Stol via RT
amber sources are no longer stored in the parrot repository. ticket rejected.

[svn:parrot-pdd] r27304 - trunk/docs/pdds

2008-05-03 Thread allison
Author: allison Date: Sat May 3 04:14:26 2008 New Revision: 27304 Modified: trunk/docs/pdds/pdd28_strings.pod Log: [pdd] Strings PDD: fix a typo, move a few sections around. Modified: trunk/docs/pdds/pdd28_strings.pod

[perl #48182] [TODO] [amber] Reject out of range values in item()

2008-05-03 Thread Klaas-Jan Stol via RT
amber sources are no longer stored in the parrot repository. ticket rejected.

What does 'eqv' do exactly?

2008-05-03 Thread John M. Dlugosz
I've searched the archives, but did not see a good explanation of what eqv does, and what is meant by snapshotting in the description of the synopses. Can anyone explain it (with examples?) or point to an existing treatment, please? --John

Re: YAPC::EU 2008

2008-05-03 Thread Allison Randal
Will Coleda schrieb: Can we get an idea of how many parrot hackers are planning on attending YAPC::EU this year? (will be held in Copenhagen, Denmark, on 13-15 August 2008.) [...] Bernhard Schmalhofer wrote: Is there enough critical mass that would warrant a Mini-hackathon? I'm now

Re: YAPC::EU 2008

2008-05-03 Thread Jonathan Worthington
Allison Randal wrote: Will Coleda schrieb: Can we get an idea of how many parrot hackers are planning on attending YAPC::EU this year? (will be held in Copenhagen, Denmark, on 13-15 August 2008.) [...] Bernhard Schmalhofer wrote: Is there enough critical mass that would warrant a

Re: All classes imply the existence of a role of the same name.

2008-05-03 Thread Brandon S. Allbery KF8NH
On 2008 May 3, at 6:25, Richard Hainsworth wrote: - if u want to add a role to an existing object, perl wraps the object into a class, adds the role, reinstantiates the object. As I understand it, Perl inserts a new anonymous class as the object's parent, and adds the role to that. The

Re: What does 'eqv' do exactly?

2008-05-03 Thread Jon Lang
John M. Dlugosz wrote: I've searched the archives, but did not see a good explanation of what eqv does, and what is meant by snapshotting in the description of the synopses. Try this: http://markmail.org/message/vub5hceisf6cuemk Can anyone explain it (with examples?) or point to an

Re: What does 'eqv' do exactly?

2008-05-03 Thread Adriano Ferreira
On Sat, May 3, 2008 at 4:00 PM, John M. Dlugosz [EMAIL PROTECTED] wrote: I've searched the archives, but did not see a good explanation of what eqv does, and what is meant by snapshotting in the description of the synopses. Can anyone explain it (with examples?) or point to an existing

Re: What does 'eqv' do exactly?

2008-05-03 Thread Jon Lang
I suspect that at the core of John's question is the fact that nobody has ever actually said what 'snapshot semantics' is: it's a term that's been tossed around with the assumption that people already know its meaning. My own understanding of it is that snapshot semantics involves looking at an

nested 'our' subs - senseless?

2008-05-03 Thread John M. Dlugosz
What does this mean? our sub outer () { ... our sub inner () { ... } } inner; # defined? I think this should be illegal. Nested named subs makes sense for 'my', with the rules of visibility matching the ability to clone the closure. But putting the nested sub into package scope

Re: What does 'eqv' do exactly?

2008-05-03 Thread John M. Dlugosz
Adriano Ferreira a.r.ferreira-at-gmail.com |Perl 6| wrote: On Sat, May 3, 2008 at 4:00 PM, John M. Dlugosz [EMAIL PROTECTED] wrote: I've searched the archives, but did not see a good explanation of what eqv does, and what is meant by snapshotting in the description of the synopses. Can

Re: What does 'eqv' do exactly?

2008-05-03 Thread John M. Dlugosz
Jon Lang dataweaver-at-gmail.com |Perl 6| wrote: I suspect that at the core of John's question is the fact that nobody has ever actually said what 'snapshot semantics' is: it's a term that's been tossed around with the assumption that people already know its meaning. My own understanding of it

Re: What does 'eqv' do exactly?

2008-05-03 Thread David Green
On 2008-May-3, at 5:12 pm, John M. Dlugosz wrote: Jon Lang dataweaver-at-gmail.com |Perl 6| wrote: My own understanding of it is that snapshot semantics involves looking at an immutable copy of an object (a snapshot of it) instead of looking at the object itself. That said, my

Re: [svn:parrot] r27314 - in branches/pdd13pbc: include/parrot src/pmc

2008-05-03 Thread chromatic
On Saturday 03 May 2008 20:28:44 [EMAIL PROTECTED] wrote: Modified: branches/pdd13pbc/include/parrot/exceptions.h === === --- branches/pdd13pbc/include/parrot/exceptions.h (original) +++

Re: [svn:parrot] r27314 - in branches/pdd13pbc: include/parrot src/pmc

2008-05-03 Thread Mark Glines
On Sat, 3 May 2008 21:07:56 -0700 chromatic [EMAIL PROTECTED] wrote: These are Python-style exceptions, and they're going away in the concurrency branch. I suggest EXCEPTION_MALFORMED_PACKFILE instead. [snip] I'd use PMC_data() for storage instead. I'd love to see the PObj cache struct