At 7:57 AM +0100 2/27/04, Leopold Toetsch wrote:
Dan Sugalski [EMAIL PROTECTED] wrote:
The rule is that a method in a class has access to the attributes for
that class and nothing else.
Ah, that was the reason of my confusion. Could you adapt the docs
accordingly:
Yep. I'll patch that up.
On Fri, Feb 27, 2004 at 09:08:31AM -0500, Dan Sugalski wrote:
: Nope. If a language wants to provide get/set methods for class
: attributes it needs to create those methods at compilation time.
For Perl 6 it's a single method that might be lvaluable depending on
the declaration of the attribute.
At 12:44 PM -0800 2/27/04, Larry Wall wrote:
On Fri, Feb 27, 2004 at 09:08:31AM -0500, Dan Sugalski wrote:
: Nope. If a language wants to provide get/set methods for class
: attributes it needs to create those methods at compilation time.
For Perl 6 it's a single method that might be lvaluable
Larry Wall wrote:
On Fri, Feb 27, 2004 at 09:08:31AM -0500, Dan Sugalski wrote:
: Nope. If a language wants to provide get/set methods for class
: attributes it needs to create those methods at compilation time.
For Perl 6 it's a single method that might be lvaluable depending on
the
Dan Sugalski [EMAIL PROTECTED] wrote:
Yep, it looks like everything that should work now actually *does*
work now
I've committed some fixes and more tests. Dan, can you please have a
look at:
$ perl -Ilib t/pmc/objects.t
[ snip ]
ok 23 - attribute values and subclassing 2
and add some
At 6:22 PM +0100 2/26/04, Leopold Toetsch wrote:
Dan Sugalski [EMAIL PROTECTED] wrote:
Yep, it looks like everything that should work now actually *does*
work now
I've committed some fixes and more tests. Dan, can you please have a
look at:
$ perl -Ilib t/pmc/objects.t
[ snip ]
ok 23 - attribute
At 9:19 PM +0100 2/26/04, Leopold Toetsch wrote:
Dan Sugalski [EMAIL PROTECTED] wrote:
At 6:22 PM +0100 2/26/04, Leopold Toetsch wrote:
- classoffset and attribute offsets of subclassed objects, e.g.
how to get at the very first attribute
Which very first attribute? The first attribute for a
Dan Sugalski [EMAIL PROTECTED] wrote:
At 6:22 PM +0100 2/26/04, Leopold Toetsch wrote:
- classoffset and attribute offsets of subclassed objects, e.g.
how to get at the very first attribute
Which very first attribute? The first attribute for a class, or the
first attribute in the object?
Dan Sugalski [EMAIL PROTECTED] wrote:
The rule is that a method in a class has access to the attributes for
that class and nothing else.
Ah, that was the reason of my confusion. Could you adapt the docs
accordingly:
,--[ pdd15 ]---
| DESCRIPTION
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
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
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
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 instruction
13 matches
Mail list logo