Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [perl #32369] Register Stomping Bug

3 views
Skip to first unread message

Leopold Toetsch

unread,
Nov 9, 2004, 2:14:28 AM11/9/04
to perl6-i...@perl.org
Matt Diephouse <parrotbug...@parrotcode.org> wrote:

> After the new calling scheme was put in place, my Forth implementation
> started having some problems. I've stripped down and attached the files
> along with a trace. Here's the input/output:

> matt@mendelssohn:~/parrot/forth$ ../parrot forth.pir

Two notes:
Your compiler seems to emit subroutines all called "main".
The compiled subroutines should return with the current continuation.

Finally. Code created through compile is currently not preserving
registers. See yesterdays mail: "Q: eval". This needs some clarification
first and fixing.

leo

Matt Diephouse

unread,
Nov 9, 2004, 8:23:53 AM11/9/04
to l...@toetsch.at, perl6-i...@perl.org
On Tue, 9 Nov 2004 08:14:28 +0100, Leopold Toetsch <l...@toetsch.at> wrote:
> Two notes:
> Your compiler seems to emit subroutines all called "main".

Do all the subroutines need to have unique names if they get compiled
individually by IMCC? is there support for anonymous subs now?

> The compiled subroutines should return with the current continuation.

Can you give me some example code here?

> Finally. Code created through compile is currently not preserving
> registers. See yesterdays mail: "Q: eval". This needs some clarification
> first and fixing.

There are a lot of things needing clarification/fixing. *sigh*

--
matt

Dan Sugalski

unread,
Nov 9, 2004, 8:53:15 AM11/9/04
to ma...@diephouse.com, l...@toetsch.at, perl6-i...@perl.org, Matt Diephouse

While there's a lot of stuff that needs clarification, this isn't one
of 'em. Apparently it does need fixing, though.
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages