Chromatic <[EMAIL PROTECTED]> wrote:
> While I'm at it, is there nice IMCC syntactic sugar for making method
> calls, or do I have to fill in the registers myself? It's quite nice to
> write:
> ($I2, $I3) = _some_function_call( $I0, $I1 )
Not yet. But you could try to prepend one instruct
chromatic wrote:
Hm, I'm still not sure where they should go, but here are the integer
and number pbc and header files from Linux PPC.
No problem, I've sorted these tests in.
Thanks,
leo
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 4:54 PM -0500 2/25/04, Simon Glover wrote:
>> If I'm understanding the docs correctly, this should print '0'.
>> Instead, it prints 'Array index out of bounds!'
> Another bug, though the offset ought to be 2 right now. (Attributes 0
> and 1 are taken
> >>Better it get fixed in CVS. There could be more errors of this kind.
> > Confused. What would you like me to do?
>
> Please purge the platforms directory on the server. It collides with the
> PLATFORMS file on these poor pseudo-OS, that have case-insensitive
> filenames. (There could also s
On Wed, 25 Feb 2004 10:30:24 +0100, [EMAIL PROTECTED] (Leopold Toetsch) wrote:
> [EMAIL PROTECTED] (via RT) wrote:
>
> > The following corrects my poor memory handling
> > pointed out by mrnobo1024 at
> >
> > news://nntp.perl.org/perl.perl6.internals/21454
>
> Thanks, applied,
> leo
>
Leo,
imcc/t/syn/file.t: has a qx() use 2>&1, and later an (unnecessary) qx() using
single quotes, neither of which the windows 98 shell supports.
classes/env.pmc: used getenv() when it should use Parrot_getenv()
t/pmc/env.t: parrot can't change or delete the PARROT_TMP that this sets so
tests 3, 5, an
On Wed, 25 Feb 2004, Dan Sugalski wrote:
> Yep, it looks like everything that should work now actually *does*
> work now, modulo a test that needs a thump. If folks would abuse this
The test has now been thumped. All tests now pass here. Of course, that
just means that it's time to write some
On Wed, 2004-02-25 at 15:54, Dan Sugalski wrote:
> Yep, it looks like everything that should work now actually *does*
> work now, modulo a test that needs a thump. If folks would abuse this
> heavily, I'd much appreciate it.
I'll revise some of the SDL code to use objects instead of pseudo
obje
Yep, it looks like everything that should work now actually *does*
work now, modulo a test that needs a thump. If folks would abuse this
heavily, I'd much appreciate it.
Y'know, we may well make that Feb 30th date after all. :)
--
Dan
-
At 6:42 PM -0500 2/25/04, Simon Glover wrote:
On Wed, 25 Feb 2004, Dan Sugalski wrote:
At 4:54 PM -0500 2/25/04, Simon Glover wrote:
> If I'm understanding the docs correctly, this should print '0'.
> Instead, it prints 'Array index out of bounds!'
Another bug, though the offset ought to be
We've only two failing tests. Object.t/21 is failing because the test
is incorrect (the PMCs aren't copied into the attribute array,
they're actually put in there so the same PMC is used over and over)
and object.t/22 is, well, tripping a bug of some sort.
Hopefully by the time you read this te
On Wed, 25 Feb 2004, Dan Sugalski wrote:
> At 4:54 PM -0500 2/25/04, Simon Glover wrote:
> > If I'm understanding the docs correctly, this should print '0'.
> > Instead, it prints 'Array index out of bounds!'
>
> Another bug, though the offset ought to be 2 right now. (Attributes 0
> and 1 are
At 4:54 PM -0500 2/25/04, Simon Glover wrote:
If I'm understanding the docs correctly, this should print '0'.
Instead, it prints 'Array index out of bounds!'
Another bug, though the offset ought to be 2 right now. (Attributes 0
and 1 are taken by other things so they're valid)
--
If I'm understanding the docs correctly, this should print '0'.
Instead, it prints 'Array index out of bounds!'
newclass P1, "Foo"
addattribute P1, "i"
find_type I0, "Foo"
new P2, I0
classoffset I1, P2, "Foo"
print I1
print "\n"
end
Simon
Here's something very simple I just hacked together to see how
fast storing and retrieving attribute values is:
set I1, 100
newclass P1, "Foo"
addattribute P1, "i"
find_type I0, "Foo"
new P2, I0
new P3, .PerlInt
set P3, 0
time N0
L1:
setattribute P2, 0,
As I continue to inch ever-closer to things working (down to three
failed tests) it'd be cool if we could have some benchmark programs
to give things a shakeout to see how our performance looks. (Given
that we have no method cache or anything I can see things being...
suboptimal :)
Anyway, bod
OK, I've dumped a few of the tests that were purely testing features
of the old interface, and converted the rest to use the new object
ops.
Of the 21 tests that remain, nos. 14-15, 18-19 and 21 are still
failing: 14, 15 and 21 due to the subclassing bug mentioned previously,
18, 19 because
(You're probably getting sick of these by now...)
Should asking for a non-existant attribute cause Parrot to throw an
exception. Currently, it doesn't seem to be able to make up its mind
-- this:
newclass P1, "Foo"
find_type I0, "Foo"
new P2, I0
getattribute P3, P2, -2
ge
At 1:51 PM -0500 2/25/04, Simon Glover wrote:
Currently, calling get_integer on a ParrotClass returns the attribute
count, so you can do:
newclass P1, "Foo"
addattribute P1, "foo_i"
addattribute P1, "foo_j"
set I1, P1
print I1
and the code will print '2'. Will this be part of
Currently, calling get_integer on a ParrotClass returns the attribute
count, so you can do:
newclass P1, "Foo"
addattribute P1, "foo_i"
addattribute P1, "foo_j"
set I1, P1
print I1
and the code will print '2'. Will this be part of the new API, or is it
simply a relic of t
This code:
newclass P1, "Foo"
subclass P2, P1, "Bar"
addattribute P2, "bar_i"
print "ok 2\n"
end
barfs with:
SArray index out of bounds!
Is this a bug or just something that hasn't been implemented yet?
Simon
At 12:23 PM -0500 2/25/04, Simon Glover wrote:
This code:
newclass P1, "Foo"
subclass P2, P1, "Bar"
addattribute P2, "bar_i"
print "ok 2\n"
end
barfs with:
SArray index out of bounds!
Is this a bug or just something that hasn't been implemented yet?
Good question, thoug
On Wed, Feb 25, 2004 at 11:59:21AM -0500, Simon Glover wrote:
:
: One question: there doesn't appear to be any way to generate a list of
: the existing attributes of a class or even to determine how many
: attributes a particular class has. Should there be ops for one or both
: of these things
At 11:59 AM -0500 2/25/04, Simon Glover wrote:
One question: there doesn't appear to be any way to generate a list of
the existing attributes of a class or even to determine how many
attributes a particular class has. Should there be ops for one or both
of these things?
I hadn't planned on putt
One question: there doesn't appear to be any way to generate a list of
the existing attributes of a class or even to determine how many
attributes a particular class has. Should there be ops for one or both
of these things?
Simon
Garrett Goebel <[EMAIL PROTECTED]> wrote:
> Leopold Toetsch wrote:
>>
>> WRT release name: Piers has proposed "The Leaping Kakapo"
>> (whatever that is:) We could also name it "The Leaping
>> Aoudad".
> A Kakapo is a flightless night parrot: http://www.kakapo.net/en/. So leaping
> Kakapo does make
If we're going to hit the February 30th release, I'm gonna need a little help.
At the moment I'm most of the way through getting objects done. And,
amazingly enough, there's stuff to do that I'm not bottlenecking on.
Specifically the object tests.
PDD 15, as it stands in the repository, documen
Leopold Toetsch wrote:
>
> WRT release name: Piers has proposed "The Leaping Kakapo"
> (whatever that is:) We could also name it "The Leaping
> Aoudad".
A Kakapo is a flightless night parrot: http://www.kakapo.net/en/. So leaping
Kakapo does make a kind of sense. "kaka" is the Maori word for par
At 8:02 PM -0800 2/24/04, Robert Spier wrote:
> > After a bit of self-education on the CVS FAQ, I've come to the
> conclusion that "renaming" (delete/add) PLATFORMS to PLATFORMS.txt is
> the best way to solve this.
Better it get fixed in CVS. There could be more errors of this kind.
Confused.
First of all its of course my fault. This whole stuff is vastly untested
and it makes my brain hurt. I've cleaned up a bit and committed some
changes, but this might still all be wrong.
So to get that running, people please submit native_pbc test files from
64-bit machines and from big-endian a
Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote:
> This patch adds the methods 'get_number_keyed', 'set_string_keyed' and
> 'set_number_keyed' to
> the OrderedHash PMC.
Thanks, applied.
> The method 'set_string_keyed_str' is also included, but I can't figure out
> when it
> will be called.
Its o
[EMAIL PROTECTED] (via RT) wrote:
The following corrects my poor memory handling
pointed out by mrnobo1024 at
news://nntp.perl.org/perl.perl6.internals/21454
Thanks, applied,
leo
Will Coleda <[EMAIL PROTECTED]> wrote:
> Minor patch to escape backslashes and double quotes in the data dumper.
Thanks, applied.
leo
You knew it already, but just to make sure ...
- No new feature checkins
- Object patches are fine
- Tests, bug fixes, docu updates, and such are more then welcome
Release date is still considered to be Feb, 29th.
*If* objects need some more days to settle, release will be on Feb, 30th
(that is th
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #27095]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=27095 >
The following corrects my poor memory handling
pointed out by mrnobo1024 at
n
* Michael Scott ([EMAIL PROTECTED]) [040220 10:35]:
>
> One thing that would help is if people ran
>
> perl tools/docs/write_docs.pl -d -s
>
Runs fine on my box:
interactionmac parrot $ uname -a
Linux interactionmac.physics.uq.edu.au 2.4.19-r6 #7 Tue Apr 22 16:54:53 EST
2003 ppc 740/750
36 matches
Mail list logo