On Thu, Oct 10, 2002 at 06:52:25PM +, Andy Dougherty wrote:
>
> The combination of 64-bit INTVAL and 32-bit pointers doesn't work with the
> Sparc jit.
Seems fair to me. Thanks, applied.
Nick Kostirya:
# D:\Perl\bin\perl.exe t/harness
# t/src/basic.# No tests run!
# t/src/basic.dubious
# Test returned status 255 (wstat 65280, 0xff00)
# DIED. FAILED tests 1-2
# Failed 2/2 tests, 0.00% okay
# t/src/intlist...# No tests run!
# t/src/intlist...
Thanks, applied.
On Wed, Oct 09, 2002 at 11:28:32PM -0700, Brent Dax wrote:
> Once I clear up the issue with the Sun compiler, I'll be committing
> this. Well, a slightly modified version. Relax, it's nothing
> drastic--I just ran it through check_source_standards.pl and
> run_indent.pl.
That checkin broke the
D:\Perl\bin\perl.exe t/harness
t/src/basic.# No tests run!
t/src/basic.dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/src/intlist...# No tests run!
t/src/intlist...dubious
Test returned s
Simon Glover wrote:
> On Wed, 9 Oct 2002, Dan Sugalski wrote:
>
>
>>At 7:42 PM -0700 10/8/02, Steve Fink wrote:
>>
>>>Thanks, applied.
>>>
>>>Who came up with the idea of two-argument ne, anyway? That's kind of
>>>bizarre.
>>>
>>
>>Definitely bizarre. I think I'd rather not have it, it doesn't
At 10:01 AM -0700 10/10/02, Ramesh Ananthakrishnan wrote:
>Hi,
> Most systems, have a variety of scripting languages
>to do stuff in. And almost all the time to make it
>work with another library you have to specifically
>port the other library to a specific interpreter.
>Which means you have sep
: Problem:
:
: You want to use delegation rather than inheritance to
: add some capabilities of one class or object to
: another class or object.
:
: Solution:
:
: Use a PROXY block:
:
: class MyClass {
:
: PROXY {
: attr $left_front_wheel is Wheel;
: attr $right_fro
On Wed, 9 Oct 2002, Chris Dutton wrote:
: Wasn't "class MyClass;" supposed to work along the line of Perl5's
: "package MyClass;" and make everything following that statement the
: definition of MyClass?
Yes, though we're thinking of limiting that construct to the front
of a file, along with "m
On Thu, 10 Oct 2002, Chip Salzenberg wrote:
: According to Luke Palmer:
: > for ( grep { $_{smoker} and $_{age} > 18 } @Subscribers ) {
: > .send($Cigarette_Advertisement)
: > }
:
: Hm, would this work too:
:
: for ( grep { .{smoker} and .{age} > 18 } @Subscribers )
:
On Thu, 10 Oct 2002, Michael Lazzaro wrote:
: On Thursday, October 10, 2002, at 11:23 AM, John Williams wrote:
: > my $obj = MyClass(...);
: >
: > This seems to assume that objects have a default method if you treat
: > them
: > like a subroutine. Kinda tcl-ish, but I don't recall anything li
At 07:42 PM 10/8/2002 -0700, Steve Fink wrote:
>Thanks, applied.
>
>Who came up with the idea of two-argument ne, anyway? That's kind of
>bizarre. I'd much rather have it tested if it exists at all, but it
>seems pretty obscure.
It's not completely without precedent, on the Z-80:
RET CC
> on ARM, lots of these two:
>
> In file included from ../include/parrot/register.h:16,
> from ../include/parrot/interpreter.h:42,
> from ../include/parrot/parrot.h:160,
> from array.c:27:
> .../include/parrot/string.h:59: warning: padding struct
On Thursday, October 10, 2002, at 11:23 AM, John Williams wrote:
> my $obj = MyClass(...);
>
> This seems to assume that objects have a default method if you treat
> them
> like a subroutine. Kinda tcl-ish, but I don't recall anything like
> this
> in the apocalypes.
>
> my $obj = MyClass;
On Mon, 7 Oct 2002, Andy Wardley wrote:
: Nicholas Clark wrote:
: > I think that the first syntax
: >
: > class Car::Q is Car renames(eject => ejector_seat)
: > is CD_Player renames(drive => cd_drive);
: >
: > makes it more clear that I'd like to pick and choose which methods
: > th
According to Luke Palmer:
> for ( grep { $_{smoker} and $_{age} > 18 } @Subscribers ) {
> .send($Cigarette_Advertisement)
> }
Hm, would this work too:
for ( grep { .{smoker} and .{age} > 18 } @Subscribers )
{ .send($ciggie_ad) }
? I think .{x} read
# New Ticket Created by Andy Dougherty
# Please include the string: [perl #17844]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=17844 >
The combination of 64-bit INTVAL and 32-bit pointers doesn't work with the
Sparc jit.
Robert Spier wrote:
>>>So the html is canonical and you're converting it to pod? I'm
>>>confused.
>>>
>>>
>>I am writing it in my own format. It lets me take notes, write todo
>>lists, autogenerate the table of contents and glossary. Then I run it
>>through some perl that currently spits
On Mon, 7 Oct 2002, chromatic wrote:
: On Wed, 02 Oct 2002 04:12:44 -0700, Michael G Schwern wrote:
:
: > I like the "class Vehicle is interface" as a shorthand for declaring every
: > method of a class to be an interface.
:
: Perhaps associating a property with a class can be shorthand for asso
On Mon, 30 Sep 2002, Michael G Schwern wrote:
: On Tue, Oct 01, 2002 at 01:36:19AM +0100, Simon Cozens wrote:
: > [EMAIL PROTECTED] (Michael G Schwern) writes:
: > > method _do_internal_init ($num) is private {
: >
: > Just thinking aloud, would
: > sub foo is method is private is inte
On Wed, 9 Oct 2002, Michael Lazzaro wrote:
> PLEASE contribute to this document! Email me with suggestions, "yes"
> or "no" votes on recipe approaches, info on philosophies or best-guess
> syntax, etc., or discuss them here on perl6-language.
Very nice. I hope this evolves into a useful perl6
Hi,
Most systems, have a variety of scripting languages
to do stuff in. And almost all the time to make it
work with another library you have to specifically
port the other library to a specific interpreter.
Which means you have separate binding for each
language. gtk has separate bindings for pe
On Thursday, October 10, 2002, at 02:33 AM, Angel Faus wrote:
> Just a silly note:
>> Recipe 1.9: Using Subroutines as Objects
> I think it was said that the way to avoid the ambiguity here is to add
> & to sub name.
Thanks, applied.
MikeL
On Wednesday, October 9, 2002, at 07:54 PM, Chris Dutton wrote:
> One first thing I notice while I'm supposed to be doing homework. :-)
>
> Wasn't "class MyClass;" supposed to work along the line of Perl5's
> "package MyClass;" and make everything following that statement the
> definition of
On Wed, 9 Oct 2002, Dan Sugalski wrote:
> At 7:42 PM -0700 10/8/02, Steve Fink wrote:
> >Thanks, applied.
> >
> >Who came up with the idea of two-argument ne, anyway? That's kind of
> >bizarre.
>
>
> Definitely bizarre. I think I'd rather not have it, it doesn't make much sense.
Easily done. P
On Wed, 9 Oct 2002, Tom Hughes wrote:
> In message <[EMAIL PROTECTED]>
> Simon Glover <[EMAIL PROTECTED]> wrote:
>
> > I've just had a quick look at hash.h (which I should have done in the
> > first place) and you're quite right. Second attempt at a correct patch
> > below.
> >
> >
One more from the section missed + left overs:
This patch make "perl6 --output file" work as described in perl6 --help.
$ time perl6 -o- mops.p6 | ../imcc/imcc -r -- -
But above pipe is as fast^Wslow as going via .imc:
$ time perl6 -r mops.p6
leo
Leopold Toetsch (via RT) wrote:
> # New Ticket Created by Leopold Toetsch
> # Please include the string: [perl #17524]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt2/Ticket/Display.html?id=17524 >
>
>
> This patch hides some internals of ke
Here's my current batch of warnings from a fresh check-out.
I haven't checked them out. However, if the casts between pointers and
integers are correct and won't overflow, then judicious use of the
INTVAL2PTR and PTR2INTVAL macros from parrot.h should silence them.
The printf format warnings pro
Follow up to my announce + some additional notes.
list.c checked in + intlist fix + 3 more tests.
Leopold Toetsch wrote:
> The current implementation of array.pmc is rather inefficient and
> limited - and really slow.
>
> So I rewrote the base routines almost from scratch and have currently a
On Wed, 9 Oct 2002, Nicholas Clark wrote:
> Which reminds me, not sure if this is relevant yet, but there's some or other
> platform that p5p encountered that can't simply copy whatever it is the opaque
> type va_list expands to there.
>
> There's a perl5 Configure symbol need_va_copy which indi
On Wed, 9 Oct 2002, Brent Dax wrote:
> Can you try this?
>
> (at the top of the function...)
> va_list *arg = (va_list *) & (obj->data);
> (vararg accesses should look like...)
> va_arg(*arg, ...);
> (no end-of-function assignment should be necessary)
>
> If that w
Brent Dax wrote:
> core_ops.c(19) : warning C4005: 'CONST' : macro redefinition
Thanks, for reporting, (hopefully) fix checked in.
leo
Problem:
You want to use delegation rather than inheritance to
add some capabilities of one class or object to
another class or object.
Solution:
Use a PROXY block:
class MyClass {
PROXY {
attr $left_front_wheel is Wheel;
attr $right_front_wheel is Wheel;
Problem:
You want to use delegation (rather than inheritance)
to add some capabilities of one class or object to
another class or object.
Solution:
Use a PROXY block:
class MyClass {
PROXY {
attr $left_front_wheel is Wheel;
attr $right_front_wheel is Wheel;
Hi,
Many thanks Michael, this is very useful, really. I had lost all the
OO discussion and this document is very helpful.
I really like the part of context transformations, I hope something
like this gets in.
Just a silly note:
> Recipe 1.9: Using Subroutines as Objects
>
> Problem:
> You w
One first thing I notice while I'm supposed to be doing homework. :-)
Wasn't "class MyClass;" supposed to work along the line of Perl5's
"package MyClass;" and make everything following that statement the
definition of MyClass?
Larry Wall wrote:
[...]
> Maybe we should ... to mean "and so on forever":
>
> @a[0...; 0...:10; 0...:100]
>
> Except then we couldn't use it to mean what Ruby means by it, which
> might be handier in real life.
No more yada-yada-yada?
Brad
On Wed, Oct 09, 2002 at 07:17:01PM -0400, Dan Sugalski said:
> I'll see about getting some of the internal structures diagrammed
> better, which is the only place things are a little dodgy, but that's
> otherwise fine.
[accidentally sent to Robert Spier ony earlier]
Autodia (http://www.droogs.
39 matches
Mail list logo