This is the mail archive of the guile@cygnus.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: gh_enter reconsidered



    Tel> No, I mean the user can choose the top of the scan, the
    Tel> bottom of the scan is always the current stack pointer and
    Tel> there are no sub-ranges.  The user chooses the top of the
    Tel> scan by entering some function that is similar to gh_enter(),
    Tel> when that function returns, the user promises not to
    Tel> manipulate SCM variables until they call that function again
    Tel> (SCM top-level symbols just sit around in the meantime).

That's exactly what I think the embedded version (gh_init()) should
do.

Coding it will be trivial once we have the top of stack figured out.