This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: guile-vm-0.0


Keisuke Nishida <kxn30@po.cwru.edu> writes:

> Miroslav Silovic <silovic@zesoi.fer.hr> writes:
> 
> > Wow, great work! Just one question, how do you plan to handle
> > continuations? The problem with them is that they rely on call frames
> > being a tree, rather than a stack (although I suppose you can just
> > copy everything, as is done now).
> 
> I have no idea :)  But thinking a bit, I guess I can make the stack
> branch off and associate a branch with the continuation.  I don't
> know what problems there are.

I would suggest to handle continuations exactly like they are handled
now.  There is little direct support in the evaluator for them, and
they work by copying the stack.  Changing this would make it much
harder to support continuations that include C call frames, I believe.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]