On 6/3/05, Joshua Gatcomb <[EMAIL PROTECTED]> wrote:
> What I would like to be able to do is:
>
> my $str = 'hello';
> my @chars = $str.chars; #
I can't see this being a problem at all. For starters, the whole "what
is a character" issue is just as relevant to +($foo.chars) as it is to
list($foo
I have thought of an interesting idea that may allow Perl 6 to make the
$, @, and % optional on many uses of variables. This involves simply
extending the function namespace to include all kinds of structures, and
thus the function namespace does not require symbols, they are optional.
The int
Further thoughts on the questions in comments invited.
njs
win32-exec.c.patch
Description: Binary data
Hi,
I'm working on a web templating system, and I'm wondering how should I use
rules?
I have these defs:
rule elem {
\< wts \: (<[a..z]>+) \/ \>
}
rule block {
\< wts \: (<[a..z]>+)\>(.*?)\< \/ wts \: $1 \>
}
I would like to execute subroutines during the evaluation. What sh
Apologies for the wrong list. Should I resend to the correct one?
njs
# New Ticket Created by François PERRAD
# Please include the string: [perl #36110]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36110 >
This patch updates PLATFORMS for MinGW.
$ parrot -V
This is parrot version 0.2.0-d
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> I sync'd up with subversion this afternoon, and I'm finding that a
> *lot* of things that used to work for me are now breaking really
> badly. Specifically where there used to be sane fallbacks for pretty
> much all of the MMD functions now we've got nothin
# New Ticket Created by Peter Sinnott
# Please include the string: [perl #36098]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36098 >
---
osname= solaris
osvers= 2.9
arch= sun4-solaris
cc= gcc 3.3.1
---
Flags:
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 has
François" PERRAD <[EMAIL PROTECTED]> wrote:
> This patch updates PLATFORMS for MinGW.
Thanks, applied - r8262
leo
Nigel Sandever <[EMAIL PROTECTED]> wrote:
Thanks, applied - r8263
> Further thoughts on the questions in comments invited.
Yeah.
> njs
leo
Nothing unexpected, I guess.
Windows XP SP2
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Activestate Python 2.4.1 Build 245
Activestate Perl 5.8.6 Build 811
ANTLR 2.7.5
GNU bc 1.06
GNU m4 1.4
ICU 3.2
GDBM 1.8.3
GMP 4.1.4
Faile
Nick Glencross wrote:
Strangely all the segfaults have now gone away (perhaps the assembler
aligns data differently?), although the 'l != left' assertions are still
there.
Looking at the code this is very likely caused by unaligned function
pointers. To verify it please set:
#define PARROT
I m interseted in one of LLVM project
"Implement well-known optimizations in PIR compiler (SSA -> register
allocation)"
Can Any send me the details?
--
Dheeraj Kumar
H.No. 7 Room No. 249
IITB Bombay
Mumbai-400076
Mobile No. 09819939038
Nick Glencross wrote:
+ # This was added to convert 9000/800 to 9000_800 on HP-UX
+ $cpuarch =~ s|/|_|g;
Thanks, applied - r8264
leo
Guys,
I'm currently investigating the build process for nci and dynclasses on
HP-UX. As you may have seen from my previous posts, I'm using gcc and
the native bundled ld.
Although the build process isn't using the right flags to compile nci
and dynclasses, I've managed to compile things manu
At 9:23 AM +0200 6/3/05, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
I sync'd up with subversion this afternoon, and I'm finding that a
*lot* of things that used to work for me are now breaking really
badly. Specifically where there used to be sane fallbacks for pretty
muc
On Fri, Jun 03, 2005 at 05:30:51PM +0530, Dheeraj Kumar Arora wrote:
>I m interseted in one of LLVM project
> "Implement well-known optimizations in PIR compiler (SSA ->
> register allocation)"
> Can Any send me the details?
I'm not an expert with with PIR or SSA,
Dheeraj Kumar Arora wrote:
I m interseted in one of LLVM project
"Implement well-known optimizations in PIR compiler (SSA -> register
allocation)"
[ I have answerd this ]
Parrot is a register based virtual machine with 32*4 registers. There
are a lot of studies WRT optimizati
Leopold Toetsch wrote:
Nick Glencross wrote:
Strangely all the segfaults have now gone away (perhaps the assembler
aligns data differently?), although the 'l != left' assertions are
still there.
Looking at the code this is very likely caused by unaligned function
pointers. To verify it pl
Dan Sugalski wrote:
Right, so to reduce code duplication you remove stuff that's working so
people have to go reimplement the code. That makes *perfect* sense.
I've announced and summarized all these changes, e.g.
http://xrl.us/gayp on Apr. 8th
And, what is wrong about:
cl = subclass "Flo
> localtime() and gmtime() seem fairly core to me. The array contexts are
> simple, and the scalar context is an RFC valid string. Nothing too heavy
> there. The time() function is "typically" only moderately useful without
> localtime().
This is true if the time() function returns a simple sca
At 2:50 PM +0200 6/3/05, Leopold Toetsch wrote:
Dan Sugalski wrote:
Right, so to reduce code duplication you remove stuff that's
working so people have to go reimplement the code. That makes
*perfect* sense.
I've announced and summarized all these changes, e.g.
http://xrl.us/gayp on Apr. 8t
Nick Glencross wrote:
Leopold Toetsch wrote:
Nick Glencross wrote:
Strangely all the segfaults have now gone away (perhaps the assembler
aligns data differently?), although the 'l != left' assertions are
still there.
Looking at the code this is very likely caused by unaligned function
Hi,
I try to stick to the hectic pace at which Pugs evolves :)
http://pixigreg.com/?pxperl
--
Grégoire Péan aka PixiGreg
www.pixigreg.com
[EMAIL PROTECTED]
All,
There seems to have been a change in the output format for test
failures semi-recently.
Given this test script:
#!/usr/bin/perl
use Test::Harness 0.48;
use Test::More 0.60;
plan tests => 2;
ok(1, 'test 1');
ok(0, 'test 2');
I get this output:
1..2
ok 1
On Fri, 03 Jun 2005 13:11:57 +0100, Nick Glencross
<[EMAIL PROTECTED]> wrote:
> Guys,
>
> I'm currently investigating the build process for nci and dynclasses on
> HP-UX. As you may have seen from my previous posts, I'm using gcc and
> the native bundled ld.
>
> Although the build process isn'
H.Merijn Brand wrote:
On Fri, 03 Jun 2005 13:11:57 +0100, Nick Glencross
<[EMAIL PROTECTED]> wrote:
Guys,
I'm currently investigating the build process for nci and dynclasses on
HP-UX. As you may have seen from my previous posts, I'm using gcc and
the native bundled ld.
use +Z -z for mor
Millsa Erlas wrote:
> I have thought of an interesting idea that may allow Perl 6 to make the
> $, @, and % optional on many uses of variables. This involves simply
> extending the function namespace to include all kinds of structures, and
> thus the function namespace does not require symbols, the
> Mr. Gay, let me know if you wait for a special request to uncomment the line
>
> /*#include "parrot/thr_windows.h"*/
>
> in config/gen/platform/win32/threads.h
>
whatever was broken, has now been fixed. patch applied, and ticket closed.
~jerry
On Fri, 03 Jun 2005 16:20:53 +0100, Nick Glencross
<[EMAIL PROTECTED]> wrote:
> H.Merijn Brand wrote:
>
> > On Fri, 03 Jun 2005 13:11:57 +0100, Nick Glencross
> > <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Guys,
> >>
> >>I'm currently investigating the build process for nci and dynclasses on
> >>H
James Mastros wrote:
Millsa Erlas wrote:
I have thought of an interesting idea that may allow Perl 6 to make the
$, @, and % optional on many uses of variables. This involves simply
extending the function namespace to include all kinds of structures, and
thus the function namespace does not req
Nick Glencross wrote:
I fear that there may be some pointer alignment problems in hash because
I'm getting hangs which seem to be linked to finding strings in hash
tables. (That's pure conjecture)
I'm not aware of any problems with alignment in hash.c. *But* we will
have troubles on that pla
--- James Mastros <[EMAIL PROTECTED]> wrote:
> Millsa Erlas wrote:
> > I have thought of an interesting idea that may allow Perl 6 to make
> the
> > $, @, and % optional on many uses of variables. This involves
> simply
> > extending the function namespace to include all kinds of
> structures, a
Chip Salzenberg wrote:
On Fri, Jun 03, 2005 at 02:50:38PM +0200, Leopold Toetsch wrote:
I've announced and summarized all these changes, e.g.
http://xrl.us/gayp on Apr. 8th
I didn't realize the implications when that was posted. I think the
native fallbacks are important.
... and probabl
On 6/3/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> Dheeraj Kumar Arora wrote:
> >I m interseted in one of LLVM project
> > "Implement well-known optimizations in PIR compiler (SSA -> register
> > allocation)"
>
> [ I have answerd this ]
>
> Parrot is a register based virtual
All~
On 6/3/05, Curtis Rawls <[EMAIL PROTECTED]> wrote:
> On 6/3/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> > Dheeraj Kumar Arora wrote:
> > >I m interseted in one of LLVM project
> > > "Implement well-known optimizations in PIR compiler (SSA ->
> > > register
> > > allocat
Hello,
I worked on the parrot register allocation problem a few months ago. The
problem I encountered was that of continuations based dependencies. There
were architectural issues about continuations, and Leo proposed changes that
would fix this, but Dan said it was too late for architectral ch
All~
On 6/3/05, Bill Coffman <[EMAIL PROTECTED]> wrote:
>
> There are several threads in the parrot mailing list that discuss the
> continuations problem. I hoped to be able to address parrot register
> allocator again, at some point, but it could be a while before I get to
> that. In the mean tim
Chip Salzenberg wrote:
I didn't realize the implications when that was posted. I think the
native fallbacks are important.
If we really want these fallbacks, it's rather easy to reestablish the
functionality. Given e.g.
classes/scalar.pmc:add (which Float intherits from)
we have
MM
At 2:21 PM -0400 6/3/05, Chip Salzenberg wrote:
One could argue that by providing __get_integer, Foo class is
automatically implying that it would serve where an Integer would.
This is obviously what Dan was expecting. :-,
Dan was expecting sane defaults, that is when I do addition with two
P
On Fri, 3 Jun 2005, Leopold Toetsch wrote:
> Nick Glencross wrote:
>
> > I fear that there may be some pointer alignment problems in hash because I'm
> > getting hangs which seem to be linked to finding strings in hash tables.
> > (That's pure conjecture)
>
> I'm not aware of any problems with a
Ok, I'm feeling brain dead about this one-- this seems easy but I'm
missing it.
How can I use 'prove' and Devel::Cover together? I tried:
perl -MDevel::Cover prove ...
but didn't cover the scripts that ran.
Mark
Subject: prove with Devel::Cover example?
From: Mark Stosberg <[EMAIL PROTECTED]>
Date: Fri, 3 Jun 2005 18:44:53 + (UTC)
}How can I use 'prove' and Devel::Cover together? I tried:
HARNESS_PERL_SWITCHES=-MDevel::Cover prove file.t
-Pete K
--
Pete Krawczyk
perl at bsod dot net
On Wed, Jun 01, 2005 at 03:00:03PM -0700, Kevin Scaldeferri wrote:
> 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
On 6/3/05, Millsa Erlas <[EMAIL PROTECTED]> wrote:
> Does this allow the grammer rules of the language to be changed so that
> this could be implemented? How does this work?
Yes. In fact, one of the big goals of perl 6 is to allow people to
mutate the grammar of the language.
If you just want sc
On Fri, Jun 03, 2005 at 06:44:53PM +, Mark Stosberg wrote:
> Ok, I'm feeling brain dead about this one-- this seems easy but I'm
> missing it.
>
> How can I use 'prove' and Devel::Cover together? I tried:
>
> perl -MDevel::Cover prove ...
>
> but didn't cover the scripts that ran.
>
>
On Fri, Jun 03, 2005 at 02:50:38PM +0200, Leopold Toetsch wrote:
> I've announced and summarized all these changes, e.g.
> http://xrl.us/gayp on Apr. 8th
I didn't realize the implications when that was posted. I think the
native fallbacks are important.
> cl = subclass "Float", "MyFloat"
In
On Fri, Jun 03, 2005 at 07:18:56PM +0200, Leopold Toetsch wrote:
> Chip Salzenberg wrote:
> >On Fri, Jun 03, 2005 at 02:50:38PM +0200, Leopold Toetsch wrote:
> >>I've announced and summarized all these changes, e.g.
> >>http://xrl.us/gayp on Apr. 8th
> >
> >I didn't realize the implications when t
In Perl5, if I do:
sub foo {return 1}
sub foo {return 2}
print foo();
I get a redefinition error, and a '2' on STDOUT. Can I assume this will
be the same in Perl6? i.e. can I write a test for pugs to check this?
Moreover:
sub foo(Num $a) {return 1}
sub foo(Str $a) {return 2}
print foo(1),
Austin Hastings wrote:
--- James Mastros <[EMAIL PROTECTED]> wrote:
Millsa Erlas wrote:
I have thought of an interesting idea that may allow Perl 6 to make
the
$, @, and % optional on many uses of variables. This involves
simply
extending the function namespace to include all kinds
On Jun 3, 2005, at 1:40 PM, Paul Johnson wrote:
Certainly. Of course, it's always possible and quite likely that there
is a bug in my code somewhere. But there is also a chance that I am
conflating two ops, since I have yet to come up with a way to uniquely
identify an op (suggestions welcome
Kevin Scaldeferri wrote:
On Jun 3, 2005, at 1:40 PM, Paul Johnson wrote:
Certainly. Of course, it's always possible and quite likely that there
is a bug in my code somewhere. But there is also a chance that I am
conflating two ops, since I have yet to come up with a way to uniquely
identify
Say I have:
multi sub foo(Array $a,Int $b) {...}
multi sub foo(Hash %a, Int $b) {...}
and I want to (distinctly) wrap each multisub, say for testing, or AOP,
or whatever. How do I get the two different code references? As far as i
can gather from the Apocalipses and Synopses, there should be a
# New Ticket Created by Nick Glencross
# Please include the string: [perl #36119]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36119 >
Folks,
this small patch fixes a current problem with loading dynclasses on
HP-UX. T
On Fri, Jun 03, 2005 at 06:56:50PM -0400, Christopher H. Laco wrote:
> As I recall [I may be wrong], some of your snippets were under
> /5.8.0/... isn't < 5.8.2 considered squirrelly (technical term) under
> Devel::Cover?
Yes, you're right, I do recommend a minimum version of 5.8.2. It would
b
I hope that no one misunderstands when I say this. It is not meant to be a
criticism, but rather it is my understanding of the problem, put very
directly. I may be wrong, and in many ways, I hope am.
There is a fundamental flaw in the Parrot architecture. In it's current
form, continuations and
Nik Clayton wrote:
All,
There seems to have been a change in the output format for test
failures semi-recently.
Given this test script:
#!/usr/bin/perl
use Test::Harness 0.48;
use Test::More 0.60;
plan tests => 2;
ok(1, 'test 1');
ok(0, 'test 2');
I get this outpu
With a meta model for code signatures you could generate a code
signature and then ask it to locate any matching multis.
For a more concrete handle on how this might look if I were king-
wait a while... ;-)
When I have more time to finalize docs/mmd.kwid and then describe
the meta model for func
Hi all,
While I must start this post out by saying that I've never implemented
either STM or a garbage collector, during a discussion on #parrot (is
that channel logged?), a similarity between the two processes occurred
to me.
Would this be an adequate expression of a generational Garbage
C
On May 26, 2005, at 10:03 AM, Piers Cawley wrote:
Stevan Little <[EMAIL PROTECTED]> writes:
... The way I
see it working is that the language itself has a bunch of minimal
hooks that
get triggered by various phases of compilation etc. Your editor then
becomes
something that instruments the c
dakkar wrote:
Say I have:
multi sub foo(Array $a,Int $b) {...}
multi sub foo(Hash %a, Int $b) {...}
and I want to (distinctly) wrap each multisub, say for testing, or AOP,
or whatever. How do I get the two different code references? As far as i
can gather from the Apocalipses and Synopses, the
62 matches
Mail list logo