abstractpublic class Procedure extends Value(Code)
The Procedure class is the base class for any Scheme Procedure.
A procedure is an entity that can be applied to zero or more
arguments to return a value or cause additional expressions to be
evaluated.
Method Summary
abstractpublic void
apply(Interpreter r) Called when applying this procedure to a number of arguments in
the Interpreter's vlr register.
Called when applying this procedure to a number of arguments in
the Interpreter's vlr register. The code can return a
value by setting the Interpreter's acc register and/or
cause additional expressions to be evaluated by setting the
Interpreter's nxp register.
Parameters: r - the Interpreter exception: ContinuationException -