Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Wed, 11 May 2005 09:19:50 +0200
Local: Wed, May 11 2005 3:19 am
Subject: Re: Named rules and basic OO support landed.
The progress pugs makes is really impressive.
[ ... ] > Pugs's Parrot codegen backend needs to be updated Object attribute access, yeah. IMHO Parrot's current implementation is wrong. 0) class construction # a bit shortened for this example .local pmc cl, o, x, y # decls for example 1) indexed access $I0 = classoffset o, "Point" The offset is cached in the bytecode, you could keep it over the whole 2) named access x = getattribute o, "Point\0x" This needs a full qualified attribute name "Class" ~ NUL ~ "Attribute". We should just have: x = getattribute o, "x" and the set equivalent: setattribute o, "x", x Comments welcome, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||