On Tue, May 24, 2005 at 01:53:42PM +0100, Alex Gutteridge wrote:
> I've written up the case I found as a test, please feel free to add
> it if it's useful. All tests pass apart from the last one which tests
> attribute chaining. Tested on Pugs 6.2.5.
Thanks, stevan applied it and I believe it
Matt Fowles wrote:
Parrot
thr_windows.h with MinGW
François Perrad provided a patch fixing two compilation problems in
thr_windows.h. Warnock applies.
Actually the patch is applied.
Thanks for your summary.
leo
TOGoS wrote:
Why not extend this to properties, too?
foo.hello becomes
'hello'
string
as-property
Because that's an attribute access:
$P0 = getattribute foo, "hello"
leo
On Tue, May 31, 2005 at 04:00:12PM -0700, Kevin Scaldeferri wrote:
> I'm looking at a bit of output from Devel::Cover that I imagine has to
> be a bug. I'll try my best to reproduce the HTML output:
You might find it slightly easier with the textual report (cover -report
text), or does the prob
perl6-internals: the place to go to have people tell
you things you already know and not actually answer
your question at all.
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> TOGoS wrote:
>
> > Why not extend this to properties, too?
>
> > foo.hello becomes
> >
> > 'hello'
> > stri
Two questions:
Should {} be an empty hash rather than an empty code?
Why did we change { %hash } from making a shallow copy of a hash to
the code that returns %hash?
Luke
> It's *a* correct way. But redundant in this particular case.
> The universal new() would handle the one-argument call exactly the same
> as your overloaded new() does. Presumably, however, the one-argument variant
> would do something else as well.
Some people will need to call the constructor w
Nick Glencross wrote:
Leopold Toetsch wrote:
Fixed, thanks for testing.
Hmmm... Not seeing any improvement at my end ...
I don't see any indication that it is still broken. I ran "make test" on
two different boxes w/o failures (the 2 cases are
imcc/t/imcpasm/opt1_71.pir and _72.pir).
W
Curtis Rawls <[EMAIL PROTECTED]> wrote:
> At 10:19 AM +0200 5/31/05, Leopold Toetsch wrote:
>>BTW: would you like to take a look at the register allocator?
> Yeah, I'd like to take a crack or two at it. Could someone(s) send me
> some tests, such as Dan's Evil code?
Great. Dan is AFAIK followin
have you seen Apache-Test yet?
http://search.cpan.org/dist/Apache-Test/
I find it hard to understand modules like this anymore - why use some funky
tie interface and a bunch of other hoops to fake a live environment when you
can really upload a file to a real webserver and run your tests the
# New Ticket Created by Nick Glencross
# Please include the string: [perl #36052]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36052 >
I've finally got access to a big endian platform, and have made the
changes required
# New Ticket Created by François PERRAD
# Please include the string: [perl #36065]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36065 >
Add some useful links.
Francois Perrad.
readmewin32.patch
Description: Binary dat
TOGoS <[EMAIL PROTECTED]> wrote:
[ anwser rearranged for readability ]
> --- Leopold Toetsch <[EMAIL PROTECTED]> wrote:
>> TOGoS wrote:
>>
>> > Why not extend this to properties, too?
>>
>> > foo.hello becomes
>> >
>> > 'hello'
>> > string
>> > as-property
>>
>> Because that's a
# New Ticket Created by Nick Glencross
# Please include the string: [perl #36057]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36057 >
This patch contains some fixes for typos,
Regards,
Nick
Index: docs/pdds/pdd08_keys
On Wed, 1 Jun 2005 13.19, Joe Gottman wrote:
> > Juerd asked:
> > >>2+ args: interpolate specified operator
> > >>1 arg: return that arg
> > >>0 args: fail (i.e. thrown or unthrown exception depending on use
> > fatal)
> >
> > > Following this logic, does join(" ", @foo) with [EMAIL
On 6/1/05, Deborah Pickett <[EMAIL PROTECTED]> wrote:
> I'm still in the camp of those wanting each operator to know its own identity
> value (perhaps in terms of a trait). The identity of multiplication (say) is
> always 1, after all, and it doesn't change depending on when you do
> multiplicatio
# New Ticket Created by Curtis Rawls
# Please include the string: [perl #36059]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36059 >
Apparently my changes to optimizer.c uncovered a bug in subst_ins().
When an instructi
Deborah Pickett wrote:
You are going to see empty lists more often than you think in expressions like
$product = [*] @array;
and having to write that as
$product = [*] 1, @array;
just to protect against a common case doesn't exactly flaunt Perl's DWIMmery
to me. I *have* to write 1 there,
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> TOGoS <[EMAIL PROTECTED]> wrote:
>
> > --- Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> >> TOGoS wrote:
> >>
> >> > Why not extend this to properties, too?
> >>
> >> > foo.hello becomes
> >> >
> >> > 'hello'
> >> > string
> >> > as
Leopold Toetsch wrote:
Nick Glencross wrote:
Leopold Toetsch wrote:
Fixed, thanks for testing.
Hmmm... Not seeing any improvement at my end ...
I don't see any indication that it is still broken. I ran "make test" on
two different boxes w/o failures (the 2 cases are
imcc/t/imcpasm/
On Wed, 1 Jun 2005, Leopold Toetsch wrote:
>Nick Glencross wrote:
>> Leopold Toetsch wrote:
>
>>> Fixed, thanks for testing.
>>
>> Hmmm... Not seeing any improvement at my end ...
>
>I don't see any indication that it is still broken. I ran "make test" on
>two different boxes w/o failures (the 2 c
On Tue, 31 May 2005, Patrick R. Michaud wrote:
>On Tue, May 31, 2005 at 11:58:12PM -0400, Dino Morelli wrote:
>>
>> This and my other two patches to p6rules tests (RT #35950, 35971, 35994)
>> have not yet been applied.
>
>My apologies for taking so long to apply these patches; I've been
>out of to
At the time the main interpreter(one which has no parent) exits, there
could remain some other interpreters being run by detached threads as
in t/pmc/threads_4.pasm. To execute bytecode successfully an
interpreter needs that things like PIO, class vtables, event loop,
class_count_mutex, interpr
Here are some notes for those that are interested in parrot being built
on other platforms.
The system in question is a PA-RISC HP-UX 11.11 system
(hppa2.0w-hp-hpux11.11). The system only has the bundled C compiler and
linker, so I've compiled gcc 3.3.6 for it. gcc cannot create debug
informa
> The universal new() would handle the one-argument call exactly the
> same as your overloaded new() does.
Is that correct? S12 says...
All classes inherit a default new constructor from Object.
It expects all arguments to be named parameters initializing
attributes of the same name.
... whi
Actually, I'm working in a small window, and missed the fact that
Configure reported the following:
Determining your minimum pointer alignment..Use of uninitialized
value in concatenation (.) or string at config/auto/alignptrs.pl line 59.
Use of uninitialized value in numeric eq (==) atconf
On Wed, 1 Jun 2005, Luke Palmer wrote:
$ordered = [<] @array;
If @array is empty, is $ordered supposed to be true or false? It
certainly shouldn't be anything but those two, because < is a boolean
operator.
I read that (mathematically) as "for all i, for all j such that j-i=1,
a_i
Why sh
At 9:28 PM -0600 5/31/05, Curtis Rawls wrote:
At 10:19 AM +0200 5/31/05, Leopold Toetsch wrote:
Curtis Rawls (via RT) wrote:
This patch makes improvements to the loop struct.
Thanks, applied - r8219
BTW: would you like to take a look at the register allocator?
It works but consumes enormou
Nick Glencross wrote:
Actually, I'm working in a small window, and missed the fact that
Configure reported the following:
Determining your minimum pointer alignment..Use of uninitialized
value in concatenation (.) or string at config/auto/alignptrs.pl line 59.
Use of uninitialized value i
At 7:10 PM -0700 5/31/05, TOGoS wrote:
> The 'used as' type indicates whether this key
is to be used to do a by-integer-index (array)
access or by-string-index (hash) access.
Why not extend this to properties, too?
Because properties (and attributes) are metadata. At the moment
properti
Carl Franks wrote:
The universal new() would handle the one-argument call exactly the
same as your overloaded new() does.
Is that correct? S12 says...
All classes inherit a default new constructor from Object.
It expects all arguments to be named parameters initializing
attributes of th
Carl Franks wrote:
However, if I allowed the default 'new' to handle that case, then the
BUILD submethod has to be aware of that.
I thought it would be cleaner to 'document' the special case with a
seperate constructor, and also not require any special-case logic in the
BUILD submethod.
Is that
Curtis Rawls <[EMAIL PROTECTED]> wrote:
> Apparently my changes to optimizer.c uncovered a bug in subst_ins().
Yep. I've added a change there yesterday but it didn't help for all.
Dunno yet why. So this variant is now in.
rev 8235
leo
On 6/1/05, Michele Dondi <[EMAIL PROTECTED]> wrote:
> On Wed, 1 Jun 2005, Luke Palmer wrote:
>
> >$ordered = [<] @array;
> >
> > If @array is empty, is $ordered supposed to be true or false? It
> > certainly shouldn't be anything but those two, because < is a boolean
> > operator.
>
> I rea
xOn 5/31/05, Sam Vilain <[EMAIL PROTECTED]> wrote:
> Rob Kinyon wrote:
> > I would love to see a document (one per editor) that describes the
> > Unicode characters in use and how to make them. The Set implementation
> > in Pugs uses (at last count) 20 different Unicode characters as
> > operators.
Hi,
You have to either supply an initial value or refactor your logic not
to allow an empty @array (as in the first case). If you want it some
other way, there are far too many special cases we have to work with,
some of which are just mathematically impossible.
I think `fail`ing is the best b
Mark Reed wrote:
At least, not in cases where the intended result is consistent across 0.
Lots of date arithmetic falls into this category, and works beautifully with
the definitions above.
Does it? If you have a year 0, what is the number corresponding
to the middle of that year? Is it 0.5? Is
Nick Glencross <[EMAIL PROTECTED]> wrote:
> I've finally got access to a big endian platform, and have made the
> changes required to get correct checksums from the MD5 library.
> All (MD5) tests pass, and are no longer skip on certain platforms.
Thanks, applied - r8236
> [All being well, I shou
François" PERRAD <[EMAIL PROTECTED]> wrote:
> Add some useful links.
Thanks, applied - r8239
leo
Nick Glencross <[EMAIL PROTECTED]> wrote:
> This patch contains some fixes for typos,
Thanks, applied - r8238
leo
Vladimir Lipsky wrote:
At the time the main interpreter(one which has no parent) exits, there
could remain some other interpreters being run by detached threads as in
t/pmc/threads_4.pasm.
Thanks, applied.
... The better patch would require
knowledge of a) how many interpreters being alive
Nick Glencross wrote:
Here are some notes for those that are interested in parrot being built
on other platforms.
The system in question is a PA-RISC HP-UX 11.11 system
(hppa2.0w-hp-hpux11.11). The system only has the bundled C compiler and
linker, so I've compiled gcc 3.3.6 for it. gcc canno
On Wed, 1 Jun 2005, Luke Palmer wrote:
I read that (mathematically) as "for all i, for all j such that j-i=1,
a_i
Yep, it sure is. Now tell Perl to read it that way for any operator.
Should _I_?!? ;-)
I wonder what a logic-oriented programming language a' la prolog would say
in this case.
Nick Glencross wrote:
Here are some notes for those that are interested in parrot being built
on other platforms.
The system in question is a PA-RISC HP-UX 11.11 system
(hppa2.0w-hp-hpux11.11). The system only has the bundled C compiler and
linker, so I've compiled gcc 3.3.6 for it. gcc cann
On Tue, May 31, 2005 at 11:58:12PM -0400, Dino Morelli wrote:
>
> This and my other two patches to p6rules tests (RT #35950, 35971, 35994)
> have not yet been applied.
Applied, "thanks" x 3.
Pm
Leopold Toetsch wrote:
Nick Glencross wrote:
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
Strange - everything else looks like a 32-bit machine. Is it one?
Doh! Copied the wrong 'perl -V' ou
Sam Vilain wrote:
I also don't like implicit normalisation to seconds
underneath the hood when I'm doing basic date calculations, and
the way that the "DateTime" base class is inherantly based on the
Gregorian calendar.
I concur in this view. From a typing point of view there should
be some com
Luke Palmer wrote:
For something like:
$ordered = [<] @array;
If @array is empty, is $ordered supposed to be true or false? It
certainly shouldn't be anything but those two, because < is a boolean
operator.
I have no problem with 3-state logic systems (true, false, undef) if
this is w
Gaal Yahas wrote:
How do I specify the signature of a context-sensitive function?
sub foo() returns (what?) {
return want ~~ Scalar ?? cheap_integer_result :: List_of_Sheep;
}
If it were two subs, one would "is returns" Int and the other List of
Sheep. The draft S29 uses thin
Larry Wall wrote:
: my $b <== foo();
:
: declares $b to be an iterator rather than an array ref.
Though that would seem to imply that *$x slurpy parameters should
work that way too, and that's not how they work right now...
This is very in line with my current conclusion that List is
a s
Hi,
I just would like to share it with you. We had a weekend at the lake
Balaton on the last weekend, where I had a talk about Perl 6. The guys
liked it (the girls had sunbath during the event :), and one of them
(Poetro) said the summary: then we can say, that
Perl 6 is an "operator
Juerd wrote:
Thomas Sandlass skribis 2005-05-28 17:34 (+0200):
I propose %hash = { key => :\$variable, foo => 'bar' };
:\$variable looks like many things to me, but not an alias.
Let's forget that idea, because I have a bunch of better ones!
$hash = { key => \ $variable but rw , foo =
> > $ordered = [<] @array;
This is asking "Is @array ordered?" In the case of a 0-element or
1-element array, the answer is "It is not disordered", which means
$ordered is true.
$ordered = ! [!<] @array;
Rob
On Wed, 1 Jun 2005, Patrick R. Michaud wrote:
>On Tue, May 31, 2005 at 11:58:12PM -0400, Dino Morelli wrote:
>>
>> This and my other two patches to p6rules tests (RT #35950, 35971, 35994)
>> have not yet been applied.
>
>Applied, "thanks" x 3.
>
Thank you!
Problem: in 35971 there were two .patch
On Wed, Jun 01, 2005 at 01:07:50PM -0400, Dino Morelli wrote:
>
> Problem: in 35971 there were two .patch files. Looks like
> subrules_t.patch for the new t/p6rules/subrules.t didn't get in there.
Woops, I forgot to do the "svn add". (Yes, I know, I need to make
better use of manicheck.pl. I'll
i'm happy to report that mod_parrot now comes bundled with mod_pugs!
mod_pugs uses pugs (http://pugscode.org) to let you write apache handlers
in perl6, and runs as an HLL layer on top of mod_parrot. pugs' parrot
backend compiler is still very immature, so you still can't do many of the
things yo
Nick Glencross wrote:
#define PARROT_9000/800 1
^
Can you check in config/*/*.pl where that is coming from?
Thanks,
leo
Nick Glencross wrote:
Doh! Copied the wrong 'perl -V' output!
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
align
A new month has started, a fresh release will come soon.
* feature freeze is starting Jun 2nd, 12:00 GMT
- no core changes except bug fixes and obviously correct small patches
- doc patches are ok
- languages/* or compilers/* patches are ok
* release will very likely happen on Sat, Jun 4t
On Jun 1, 2005, at 12:49 AM, Paul Johnson wrote:
If you look at the subroutine coverage page, it claims that there is a
BEGIN block uncovered at that line.
That does sound a little strange. Are you able to produce an example
showing this problem?
No. In fact, it isn't consistent. Last n
Kevin Scaldeferri wrote:
I'm looking at a bit of output from Devel::Cover that I imagine has to
be a bug. I'll try my best to reproduce the HTML output:
stmt branch cond sub time code
221862 100 100 _1613639 next if ($line
=~ /^\
On Wed, Jun 01, 2005 at 08:45:53PM +0200, Leopold Toetsch wrote:
> Nick Glencross wrote:
>
> >Doh! Copied the wrong 'perl -V' output!
> >
> >intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
> >d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> >ivtype='
Leopold Toetsch wrote:
Nick Glencross wrote:
#define PARROT_9000/800 1
^
Can you check in config/*/*.pl where that is coming from?
That would be PARROT_${jitcpu}, where jitcpu is set by
config/auto/jit.pl. It looks like jitcpu is derived (through archname)
by splitt
On Jun 1, 2005, at 2:35 PM, James E Keenan wrote:
Kevin Scaldeferri wrote:
I'm looking at a bit of output from Devel::Cover that I imagine has
to be a bug. I'll try my best to reproduce the HTML output:
stmt branch cond sub time code
221862 100 100
On Wed, 01 Jun 2005 12:45:12 +0100, Nick Glencross
<[EMAIL PROTECTED]> wrote:
> Here are some notes for those that are interested in parrot being built
> on other platforms.
>
> The system in question is a PA-RISC HP-UX 11.11 system
> (hppa2.0w-hp-hpux11.11). The system only has the bundled C c
On Tue, May 31, 2005 at 07:10:42PM -0700, TOGoS wrote:
> Why not extend this to properties, too?
I don't know of a good use case for that.
Now multidimensional arrays are common enough, and workarounds to
emulate them are enough of a pain[*], that Parrot support for them
makes sense. In contrast
# New Ticket Created by Nick Glencross
# Please include the string: [perl #36083]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36083 >
This trivial patch fixes a cosmetic problem while running Configure on
HP-UX. Basical
On Wed, Jun 01, 2005 at 03:42:57PM +1200, Sam Vilain wrote:
> I've made a start on this. See ext/Date in pugs. I don't think that
> your views are necessarily contrary.
That's what I'm looking for. Thank you!
> The biggest reason I didn't use DateTime was that I found it awkward
> for the comm
H.Merijn Brand wrote:
On Wed, 01 Jun 2005 12:45:12 +0100, Nick Glencross
<[EMAIL PROTECTED]> wrote:
Here are some notes for those that are interested in parrot being built
on other platforms.
The system in question is a PA-RISC HP-UX 11.11 system
(hppa2.0w-hp-hpux11.11). The system only h
# New Ticket Created by François PERRAD
# Please include the string: [perl #36073]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36073 >
Since r8195, PARROT_DEBUG_FLAG is not defined in parrot/interpreter.h
So, make hell
On Jun 1, 2005, at 12:49 AM, Paul Johnson wrote:
On Tue, May 31, 2005 at 04:00:12PM -0700, Kevin Scaldeferri wrote:
I'm looking at a bit of output from Devel::Cover that I imagine has to
be a bug. I'll try my best to reproduce the HTML output:
You might find it slightly easier with the tex
On Wed, 1 Jun 2005 19.37, Damian Conway wrote:
> Deborah Pickett wrote:
> > Someone please convince me otherwise.
> So what you want is not an identity value as default (which isn't even
> possible for many operators, as Luke pointed out), but a predictable
> failure value as default, so you can in
The attached test case segfaults in r8247, apparently in the iseq
instruction. The necessary condition seems to be that the *second*
argument be a ParrotObject instance; if you reverse the order of
arguments in line 41, you merely get a fatal error:
MMD function __is_equal not foundfor
On Tue, May 31, 2005 at 06:47:39PM +1000, Adam Kennedy wrote:
> I'm hitting this problem with large and deep class trees where what I
> should really be doing is testing it against every parent class and
> role, but in reality I do the specifics for that subclass, plus a couple
> of specific ones
Building from parrot_2005-06-01_151500.tar.gz on solaris
[EMAIL PROTECTED]:/var/tmp/tinder/parrot$ uname -a
SunOS prodigy 5.9 Generic_117171-14 sun4u sparc SUNW,Ultra-4
[EMAIL PROTECTED]:/var/tmp/tinder/parrot$ gcc -v
Reading specs from
/usr/lhttp://r01.webmail.aol.com/compose-message.aspx?ver
Further woes, arguments, questions:
In regards to <@array>, A5 says "A leading @ matches like a bare array..."
but this is an over-generalization. A leading '@' merely indicates the
rule is found in an array. <@array[3]> would be the same as
<$fourth_element_of_array>, assuming those two val
On Thu, Jun 02, 2005 at 12:52:36AM -0400, Jeff 'japhy' Pinyan wrote:
> Further woes, arguments, questions:
>
> In regards to <@array>, A5 says "A leading @ matches like a bare array..."
> but this is an over-generalization. A leading '@' merely indicates the
> rule is found in an array. <@arra
I'm happy to announce Pugs 6.2.6, the first release uploaded by
cpan-upload.p6 (under examples/perl5/), powered by Pugs's newfound
capability to use CPAN modules:
http://pugscode.org/dist/Perl6-Pugs-6.2.6.tar.gz
SIZE = 1083009
SHA1 = a85374c384eb11baa2ebd8d971f2ccbd8cec760f
Thanks to
78 matches
Mail list logo