Scheme Environment

Scheme is specified by Revised3 Report on Scheme. T3 provides the environment SCHEME-ENV which supports some subset of Scheme.

The Scheme interpreter is entered using SCHEME-RESET and SCHEME-BREAKPOINT, and is left using T-RESET.


\begin{inset}{}
Enters a Scheme read-eval-print-loop in the Scheme environment.
Similar to the {\bf T} procedure {\mbox {{\tt BREAKPOINT}}}.
\end{inset}


\begin{inset}{}
Enters a top level Scheme read-eval-print-loop in the Scheme
env...
...{\mbox {{\tt SCHEME-BREAKPOINT}}} followed by {\mbox {{\tt RESET}}}.
\end{inset}


\begin{inset}{}
Enters a top level {\bf T} read-eval-print-loop in the {\bf T} {\mbox {{\tt USER-ENV}}}.
\end{inset}

When in Scheme, RESET is rebound to SCHEME-RESET.


\begin{inset}{}
Transfers control directally to the top-level Scheme read-eval-print
loop by performing a throw.
\end{inset}

Switching between SCHEME-ENV and USER-ENV does not alter the bindings made in SCHEME-ENV.

The value of symbols in the SCHEME-ENV can be accessed from other environments using *VALUE, but it is not posible to do the reverse from SCHEME-ENV.