At 12:50 PM 9/17/2001 -0400, Gregor N. Purdy wrote:
>I wonder... What could I add to Jako so that it could be used to
>implement a simple PMC type? How much more architecture work needs to
>be done before we could start having simple examples that use PMC
>registers?

Not much at the moment. PMCs need vtables, and in general (though not to 
start) symbol tables, which means we sort of need hashes and... there are 
some bootstrapping issues. :)

> > >Of course, this doesn't allow us to do recursion, wastes registers,
> > >etc. But, it would allow me to play with the syntax of the language
> > >with a simple implementation until cooler ops are available.
> >
> > You can recurse if you clone the register file at 'subroutine' entry.
>
>I haven't played with this yet. Although if I do that, how do I return
>a value to my caller?

Not well. We need some "affect the past" ops. (The warp stuff was supposed 
to work like this, but it's not actually useful for it now that I think of it)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to