> 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
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
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