>Add a 'depth' operation that returns the depth of the user stack. If
 >the name bothers anyone, feel free to rename it. (Some might call it
 >the 'height' of the stack, for instance.)

Since you mentioned it...

How about a set of ops that does complete environment save/restore.
I suppose this would be similar to C-s setjmp/longjmp or some
variation of non-local goto. I can see several uses for this atomic operation
or variations thereof, including threading implemented in Parrot, exceptions,
and possibly continuations.

-Melvin

Reply via email to