Next: machinery registers, Up: machinery [Index]
To make it easy to explain the run time behaviour of Vicare, we will assume the validity of the following simplifications:
call/cc
is implemented without subordinate function
calls. This is depends upon the function call integration optimisations
performed by the compiler. But reasoning about simple function call is
simpler.
dynamic-wind
is used stacks of
in–guard and out–guard functions are created and captured by
continuations; the continuation escape function, created by
call/cc
, does invoke such guard functions to keep the dynamic
environment synchronised with the execution flow. But learning about
continuations alone already introduces enough complications.
(import (rnrs)) (define (one a) (+ a 1)) (one 2)
we assume that the first executed code is the expression (one 2)
.
Next: machinery registers, Up: machinery [Index]