Y'all are getting hung up on the correspondence of "words" with "word
characters", but you're ignoring the fact that most of the time people
want to do awk's version of splitting, matching \S+ words rather than \w+
words (*neither* of which actually matches what people usually mean
by words, in any
Autrijus asked:
On Wed, Jun 15, 2005 at 05:37:18PM -0500, Patrick R. Michaud wrote:
Based on an off-list discussion, it turns out that unary C<=>
is not slurpy as mentioned in S04. The following patch to S04
corrects this; I've already applied the patch but thought I'd
pass it by p6l for revi
On Wed, Jun 15, 2005 at 05:37:18PM -0500, Patrick R. Michaud wrote:
> Based on an off-list discussion, it turns out that unary C<=>
> is not slurpy as mentioned in S04. The following patch to S04
> corrects this; I've already applied the patch but thought I'd
> pass it by p6l for review/comments/r
Based on an off-list discussion, it turns out that unary C<=>
is not slurpy as mentioned in S04. The following patch to S04
corrects this; I've already applied the patch but thought I'd
pass it by p6l for review/comments/reactions.
Pm
Index: S04.pod
==
Given that I have a subroutine stored in a PMC, is there a way
for me to add that subroutine as a method to an existing class?
In other words, I know I can use to add the subroutine
into the current namespace...
.namespace [ "Foo" ]
.sub main @MAIN
$S0 = ".sub h @ANON\npr
I'm about to update the PIR docs, but here's the short version:
* the "prototyped" and "non_prototyped" pragmas for subroutines
are both gone; the concept of 'prototyped' is obsolete. Just
remove them those pragmas entirely.
* if you used to say ".flatten foo" (or ".flatten_arg foo"),
On Jun 15, 2005, at 3:33 PM, Patrick R. Michaud wrote:
And here they are... this is just a draft -- feel free to flame/edit/
tear it apart liberally. These are also written assuming we don't
create a perl6-general list (but it shouldn't be hard to adapt them
should one be created).
Well, I'd
Ingo Blechschmidt skribis 2005-06-15 21:35 (+0200):
> So maybe we should allow words() (or however we'll end up calling it) to
> take an optional parameter specifying what's considered a wordchar,
> with a default of rx/\w+/:
Then isn't making \w+ the default for match much easier?
(Although I st
Hi,
Juerd wrote:
> Ingo Blechschmidt skribis 2005-06-15 20:18 (+0200):
>> >> say join ",", @words; # "hi,my,name,is,ingo";
>> > Following the logic that .words returns the words, the words are no
>> > longer individual words when joined on comma instead of
>> > whitespace...
>> sorry, I do
On Tue, Jun 14, 2005 at 10:04:34AM -0500, Patrick R. Michaud wrote:
>
> Perhaps what we need is updated descriptions of the various mailing
> lists on perl.org (http://dev.perl.org/perl6/lists/)? I'll draft
> some proposed changes to that page.
And here they are... this is just a draft -- feel
Ingo Blechschmidt skribis 2005-06-15 20:18 (+0200):
> >> say join ",", @words; # "hi,my,name,is,ingo";
> > Following the logic that .words returns the words, the words are no
> > longer individual words when joined on comma instead of whitespace...
> sorry, I don't quite get that.
"foo
Hi,
Juerd wrote:
> Ingo Blechschmidt skribis 2005-06-15 19:14 (+0200):
>> as Larry mentioned in another thread that he wants a "different
>> notation for word splitting"
>> (http://www.nntp.perl.org/group/perl.perl6.language/21874),
>> how about that, similar to Haskell's "words" function:
>
> "w
Ingo Blechschmidt skribis 2005-06-15 19:14 (+0200):
> as Larry mentioned in another thread that he wants a "different
> notation for word splitting"
> (http://www.nntp.perl.org/group/perl.perl6.language/21874),
> how about that, similar to Haskell's "words" function:
"words" is wrong for something
Hi,
as Larry mentioned in another thread that he wants a "different notation
for word
splitting" (http://www.nntp.perl.org/group/perl.perl6.language/21874),
how about that, similar to Haskell's "words" function:
# Str::words should return a list of words, without whitespace.
my $str = "
After a brief(!?) discussion with Autrijus on the subject of
multimethods, it would appear that Parrot's obligation WRT their
dispatch is pretty much two opcodes calling two vtable functions
which must be implemented by sub-like objects:
1. is_mpd - Does this object have Multiple Personality Dis
Hi,
I'm elated to announce the release of PXPerl 5.8.7-1!
One of the most interesting new thing in 5.8.7-1 is perhaps the
ability to select GCC (MinGW) to compile new modules, eg. downloaded
from CPAN.
Many other changes:
+ Upgraded to Perl 5.8.7
+ Upgraded to Pugs 6.2.7
+ Upgraded to Parrot 0
--- Leopold Toetsch via RT <[EMAIL PROTECTED]> wrote:
> Clement Cherlin wrote:
>
> > ... I agree that it's a somewhat
> > ugly workaround, but it was the simplest method I could think of.
> Can
> > you suggest an alternate solution?
>
> TEST_FILES in makefiles/root.in has forward slashes. During
Clement Cherlin wrote:
... I agree that it's a somewhat
ugly workaround, but it was the simplest method I could think of. Can
you suggest an alternate solution?
TEST_FILES in makefiles/root.in has forward slashes. During creation of
the Makefile these get somewhere converted to backslashes. T
--- Leopold Toetsch via RT <[EMAIL PROTECTED]> wrote:
> Clement Cherlin wrote:
> > --- Leopold Toetsch via RT <[EMAIL PROTECTED]>
> wrote:
>
> >>Doesn't a) perl take forward slashes too and b) harness do the glob
>
> >>anyway? If the shell globs the test args, we'll run into
> commandline
> >>l
On Wed, Jun 15, 2005 at 11:57:21AM +0200, Leopold Toetsch wrote:
> There is sill no PIR support for it, but you can use a hand-crafted call
> sequence for now.
The plan is to make the .pcc_* and associated directives work, with
added knobs and buttons to request the new features.
Of course you w
The new opcodes[1] should now be usable for plain function calls (no NCI
yet) and returns. Type conversions (auto-boxing) flattening and slurping
is implemented.
Please have a look at the tests in t/op/calling.t and give it a try.
There is sill no PIR support for it, but you can use a hand-cra
Clement Cherlin wrote:
--- Leopold Toetsch via RT <[EMAIL PROTECTED]> wrote:
Doesn't a) perl take forward slashes too and b) harness do the glob
anyway? If the shell globs the test args, we'll run into commandline
length issues sooner or later.
leo
Perl will accept both forward and backw
--- Leopold Toetsch via RT <[EMAIL PROTECTED]> wrote:
> Clement Cherlin (via RT) wrote:
>
> >>perl.exe t\harness --gc-debug --running-make-test
> >
> > t\library\*.t
>
> [ ... ]
>
> Doesn't a) perl take forward slashes too and b) harness do the glob
> anyway? If the shell globs the
Hi Michele,
Where should I ask, that what's PGE means? Yes, I know, it's Parrot
Grammar Engine, and I know what it is, but a beginnner maybe not. And
I think that
Which makes me think that first or later it may be worth to start a FAQ
for questions like these even if they're not frequently a
Hi,
Carl Franks wrote:
: alias newlines, newline;
Isn't it possible to add a Role to the relevant Class, which specifies
that is 'handles' the method name you want as an alias?
If it's possible, it would be fine for me in this particular case. Is it
possible?
Anyway, IMHO this alias fun
Clement Cherlin (via RT) wrote:
perl.exe t\harness --gc-debug --running-make-test
t\library\*.t
[ ... ]
Doesn't a) perl take forward slashes too and b) harness do the glob
anyway? If the shell globs the test args, we'll run into commandline
length issues sooner or later.
leo
Andy Dougherty (via RT) wrote:
# New Ticket Created by Andy Dougherty
# Please include the string: [perl #36286]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36286 >
My system couldn't handle an optimized compile of op
Andy Dougherty wrote:
On Mon, 13 Jun 2005, Andy Dougherty wrote:
On Mon, 13 Jun 2005, Leopold Toetsch via RT wrote:
Chip Salzenberg wrote:
On Mon, Jun 13, 2005 at 02:57:09PM -0400, Andy Dougherty wrote:
Yes. The compiler does the right thing. It sensibly reports
The following pat
Not really, except insofar as we've talked about compact classes of
native types working like C structs. There are lots of nitty things
we can fix with pack/unpack, but the basic underlying problem is
that pack/unpack are defined operationally rather than declaratively.
I think it's worth takin
# New Ticket Created by Clement Cherlin
# Please include the string: [perl #36290]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36290 >
François PERRAD wrote:
>
> Please, revert this patch (r8298)
> With MinGW & cmd.exe
Bob Rogers wrote:
From: Leopold Toetsch <[EMAIL PROTECTED]>
Yep - that's still doable, but not in the middle, which looks insane to
me anyway.
Not always, seems to me. Sometimes, in order to implement a defined
protocol (e.g. for a callback), you must accept a parameter that you
do
On Tue, 14 Jun 2005, [iso-8859-2] BÁRTHÁZI András wrote:
Where should I ask, that what's PGE means? Yes, I know, it's Parrot Grammar
Engine, and I know what it is, but a beginnner maybe not. And I think that
Which makes me think that first or later it may be worth to start a FAQ
for questions
> : alias newlines, newline;
Isn't it possible to add a Role to the relevant Class, which specifies
that is 'handles' the method name you want as an alias?
Carl
33 matches
Mail list logo