Dan Sugalski <[EMAIL PROTECTED]> wrote:
> Ah, the joys of Supreme Executive Power!
Look 'ere - Supreme Executive Power resides in a mandate from the masses,
not some farcical aquatic ceremony... :-)
> We really have three separate but related needs:
>
>*) Shallow register copy. (set) This
At 08:09 PM 12/18/2001 +, Alex Gough wrote:
>On Tue, 18 Dec 2001, Dan Sugalski wrote:
> > [BTW, I'm being horrible and replying to this on perl6-internals, since
> > it's important]
> > At 09:16 AM 12/17/2001 -0800, Brent Dax wrote:
> > >Dan Sugalski:
> > ># However, that's not appropriate her
On Tue, 18 Dec 2001, Dan Sugalski wrote:
> [BTW, I'm being horrible and replying to this on perl6-internals, since
> it's important]
> At 09:16 AM 12/17/2001 -0800, Brent Dax wrote:
> >Dan Sugalski:
> ># However, that's not appropriate here--set P0, P1 should just copy the
> ># pointer from P1 to
[BTW, I'm being horrible and replying to this on perl6-internals, since
it's important]
At 09:16 AM 12/17/2001 -0800, Brent Dax wrote:
>Dan Sugalski:
># However, that's not appropriate here--set P0, P1 should just copy the
># pointer from P1 to P0. Actually stuffing the value of the PMC
># pointe
On Mon, Dec 17, 2001 at 10:33:00AM -0500, Dan Sugalski wrote:
> >Ok, so set creates an alias. The string set opcode should also create an
> >alias for consistency, no ?
>
> It does. Or it did last I checked...
It was changed to make a copy. A high level language implementor wanted Perl
language
It's actually named 'clone', and it calls the clone() vtable member of argument $2.
The pertinent code reads like:
$1->vtable = $2->vtable;
$2->vtable->clone(interpreter,$2, $1);
I've added clone() vtable entries to the appropriate PMC classes to support this
feature.
Along with the tweaks mad
At 10:29 AM 12/17/2001 -0500, Jason Gloudon wrote:
>On Mon, Dec 17, 2001 at 09:43:28AM -0500, Dan Sugalski wrote:
>
> > >Can you clarify what you mean by "deep copy" at least to the pointer
> level ?
> > >
> > >set P0, P1
> > >
> > >should invoke P0's "assignment" vtable function (does anyone kno
On Mon, Dec 17, 2001 at 09:43:28AM -0500, Dan Sugalski wrote:
> >Can you clarify what you mean by "deep copy" at least to the pointer level ?
> >
> >set P0, P1
> >
> >should invoke P0's "assignment" vtable function (does anyone know if it
> >already
> >exists under a different name ?). For the e
At 09:20 AM 12/17/2001 -0500, Jason Gloudon wrote:
>On Sun, Dec 16, 2001 at 11:56:46PM -0500, Jeff G wrote:
>
> > so it generates code that has commands like 'set P0, P1', so that
> > instruction needs to be added. The consensus on that thread seems to be
> > that it should perform a deep copy of
On Sun, Dec 16, 2001 at 11:56:46PM -0500, Jeff G wrote:
> so it generates code that has commands like 'set P0, P1', so that
> instruction needs to be added. The consensus on that thread seems to be
> that it should perform a deep copy of the PMC, at least to the pointer
> level. I'll hopefully be
I've restructured the output from the miniperl parser to make things a
little less confusing than having HoLoHoLo... monstrosities floating
around, and added a rather large and hopefully somewhat comprehensive
test suite into Miniperl/t. The code generator now handles expressions
fairly cleanly, u
11 matches
Mail list logo