Package | Description |
---|---|
sisc.compiler | |
sisc.data | |
sisc.env | |
sisc.exprs | |
sisc.exprs.fp | |
sisc.interpreter | |
sisc.modules | |
sisc.modules.io | |
sisc.modules.s2j | |
sisc.nativefun | |
sisc.util |
Modifier and Type | Method and Description |
---|---|
static Expression |
Compiler.application(Interpreter r,
Expression rator,
Expression[] rands,
int context,
Pair annotation,
SymbolicEnvironment env) |
protected Expression |
Compiler.compile(Interpreter r,
Expression v,
Pair sets,
sisc.compiler.Compiler.ReferenceFactory rf,
int context,
SymbolicEnvironment env,
Pair an) |
Expression |
Compiler.compile(Interpreter r,
Expression v,
SymbolicEnvironment env) |
Expression |
Compiler.compileApp(Interpreter r,
Pair expr,
Pair sets,
sisc.compiler.Compiler.ReferenceFactory rf,
int context,
SymbolicEnvironment env,
Pair an) |
Expression |
Compiler.compileLetrec(Interpreter r,
Symbol[] formals,
Symbol[] lexicals,
Expression[] rands,
Expression body,
Pair sets,
sisc.compiler.Compiler.ReferenceFactory rf,
SymbolicEnvironment env,
int context) |
void |
Syntax.eval(Interpreter r) |
static Expression |
Compiler.makeFillRib(Interpreter r,
Expression lastRand,
Expression rand,
int pos,
Expression nxp,
boolean immediate) |
Modifier and Type | Method and Description |
---|---|
void |
Closure.apply(Interpreter r) |
abstract void |
Procedure.apply(Interpreter r)
Called when applying this procedure to a number of arguments in
the Interpreter's vlr register.
|
void |
Value.apply(Interpreter r) |
static void |
Procedure.error(Interpreter r,
Value where,
NestedPrimRuntimeException parent) |
abstract void |
Expression.eval(Interpreter r)
All expressions can be evaluated to some Scheme value.
|
void |
Value.eval(Interpreter r)
Called to evaluate this value.
|
void |
Values.eval(Interpreter r) |
Value |
SchemeThread.getResult(Interpreter r) |
Value |
Expression.getValue(Interpreter r)
If an expression implements the Immediate interface, it must
override getValue, which returns as a Value, the immediate value
of this expression.
|
Value |
Immediate.getValue(Interpreter r) |
Value |
Value.getValue(Interpreter r)
Called to obtain the value of this Value.
|
Modifier and Type | Method and Description |
---|---|
void |
Parameter.apply(Interpreter r) |
static Value[] |
LexicalUtils.fixLexicals(Interpreter r,
int lcount,
int[] locs,
int[] lexs) |
Value |
ConfigParameter.getValue(Interpreter r) |
Value |
NativeParameter.getValue(Interpreter r) |
abstract Value |
Parameter.getValue(Interpreter r) |
Value |
SchemeParameter.getValue(Interpreter r) |
void |
NativeParameter.setValue(Interpreter r,
Value v) |
abstract void |
Parameter.setValue(Interpreter r,
Value v) |
void |
SchemeParameter.setValue(Interpreter r,
Value v) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotatedExpr.alter(Interpreter r,
int uexpPosition,
Expression replaceWith) |
void |
AppExp.alter(Interpreter r,
int uexpPosition,
Expression replaceWith) |
void |
EvalExp.alter(Interpreter r,
int uexpPosition,
Expression replaceWith) |
void |
FillRibExp.alter(Interpreter r,
int uexpPosition,
Expression replaceWith) |
void |
IfEval.alter(Interpreter r,
int uexpPosition,
Expression replaceWith) |
void |
LetrecEval.alter(Interpreter r,
int uexpPosition,
Expression replaceWith) |
void |
AnnotatedExpr.eval(Interpreter r) |
void |
AppEval.eval(Interpreter r) |
void |
AppExp.eval(Interpreter r) |
void |
ApplyValuesContEval.eval(Interpreter r) |
void |
DefineEval.eval(Interpreter r) |
void |
EvalExp.eval(Interpreter r) |
void |
FillRibExp.eval(Interpreter r) |
void |
FreeReferenceExp.eval(Interpreter r) |
void |
FreeSetEval.eval(Interpreter r) |
void |
IfEval.eval(Interpreter r) |
void |
LambdaExp.eval(Interpreter r) |
void |
LetrecEval.eval(Interpreter r) |
void |
LetrecExp.eval(Interpreter r) |
void |
LexicalReferenceExp.eval(Interpreter r) |
void |
LocalReferenceExp.eval(Interpreter r) |
void |
SetboxEval.eval(Interpreter r) |
void |
UnboxExp.eval(Interpreter r) |
Value |
AnnotatedExpr.getValue(Interpreter r) |
Value |
FreeReferenceExp.getValue(Interpreter r) |
Value |
LambdaExp.getValue(Interpreter r) |
Value |
LexicalReferenceExp.getValue(Interpreter r) |
Value |
LocalReferenceExp.getValue(Interpreter r) |
Value |
UnboxExp.getValue(Interpreter r) |
void |
FreeSetEval.setValue(Interpreter r,
Value v) |
Modifier and Type | Method and Description |
---|---|
void |
FixedAppExp_1.alter(Interpreter r,
int uexpPosition,
Expression replaceWith) |
void |
OptimisticHost.alter(Interpreter r,
int uexpPosition,
Expression replaceWith)
Instructs the host to replace the uExp referenced at the
given (Expression dependent) position, with the given
Expression.
|
Value |
FixedAppExp_0.doGetValue(FixableProcedure proc,
Interpreter r) |
Value |
FixedAppExp_1.doGetValue(FixableProcedure proc,
Interpreter r) |
Value |
FixedAppExp_2.doGetValue(FixableProcedure proc,
Interpreter r) |
Value |
FixedAppExp_3.doGetValue(FixableProcedure proc,
Interpreter r) |
void |
FixedAppExp_0.eval(Interpreter r) |
void |
FixedAppExp_0.forceRevert(Interpreter r) |
Value |
FixedAppExp_0.getValue(Interpreter r) |
void |
FixedAppExp_0.revert(Interpreter r) |
void |
FixedAppExp_0.revert(Interpreter r,
Expression[] rands) |
void |
FixedAppExp_0.revert(Interpreter r,
Expression[] rands,
int flags) |
Modifier and Type | Field and Description |
---|---|
Interpreter |
ThreadContext.State.interpreter |
Modifier and Type | Method and Description |
---|---|
static Interpreter |
Context.currentInterpreter()
Fetches the current Interpreter, if this is an internal call (that is,
a call from Java to Scheme in the contex of a Scheme->Java call).
|
Interpreter |
ThreadContext.currentInterpreter()
state stack maintenance
|
static Interpreter |
Context.currentInterpreter(AppContext ctx)
Fetches the nearest enclosing Interpreter that operates on a
given AppContext, if this is an internal call (that is, a call
from Java to Scheme in the contex of a Scheme->Java call).
|
Interpreter |
ThreadContext.currentInterpreter(AppContext ctx) |
static Interpreter |
Context.enter()
Returns an Interpreter that shares the AppContext and
DynamicEnvironment with the current Interpreter.
|
static Interpreter |
Context.enter(AppContext ctx)
Returns an Interpreter bound to the given AppContext with same
DynamicEnvironment as the nearest enclosing Interpreter in the
same thread that is bound to the same AppContext.
|
static Interpreter |
Context.enter(DynamicEnvironment dynenv)
Returns an Interpreter bound to the given DynamicEnvironment.
|
static Interpreter |
Context.enter(java.lang.String appName)
Deprecated.
use
Context.enter(AppContext) instead |
Modifier and Type | Method and Description |
---|---|
void |
ApplyParentFrame.apply(Interpreter r) |
void |
CallFrame.apply(Interpreter r) |
CallFrame |
CallFrame.capture(Interpreter r) |
void |
Interpreter.ThrowSchemeException.eval(Interpreter r) |
java.lang.Object |
SchemeCaller.execute(Interpreter r)
The execute callback function is called by Context
with a fresh Interpreter context which is valid only
during the call to execute.
|
Constructor and Description |
---|
State(Interpreter r,
java.lang.ClassLoader cl) |
Modifier and Type | Method and Description |
---|---|
Value |
Threads.Complex.apply(Interpreter f,
Value v1) |
Value |
Debugging.doApply(Interpreter f) |
Value |
Primitives.Complex.doApply(Interpreter r) |
Value |
Primitives.Complex.doApply(Interpreter r,
Value[] vlr) |
Value |
R5RS.getBindingValue(Interpreter r,
Symbol name) |
Symbol[] |
R5RS.getLibraryBindingNames(Interpreter r) |
Modifier and Type | Method and Description |
---|---|
Value |
Operation.doApply(Interpreter f) |
Modifier and Type | Method and Description |
---|---|
void |
NativeProcedure.apply(Interpreter r) |
Value |
CommonIndexedProcedure.apply(Interpreter r,
Value v1) |
Value |
CommonIndexedProcedure.apply(Interpreter r,
Value[] v) |
Value |
CommonIndexedProcedure.apply(Interpreter r,
Value v1,
Value v2) |
Value |
CommonIndexedProcedure.apply(Interpreter r,
Value v1,
Value v2,
Value v3) |
Value |
CommonIndexedProcedure.applyZero(Interpreter r)
A common indexed procedure must subclass one of the following methods
|
void |
NativeLibrary.bindAll(Interpreter r,
SymbolicEnvironment env) |
Value |
CommonIndexedProcedure.doApply(Interpreter r) |
Value |
FixableProcedure.doApply(Interpreter r) |
abstract Value |
NativeProcedure.doApply(Interpreter r)
A NativeProcedure instance must implement this method, which
performs the actual processing specific to that procedure, and
returns a Value.
|
Value |
IndexedLibraryAdapter.getBindingValue(Interpreter r,
Symbol name) |
abstract Value |
NativeLibrary.getBindingValue(Interpreter r,
Symbol name) |
Symbol[] |
IndexedLibraryAdapter.getLibraryBindingNames(Interpreter r) |
abstract Symbol[] |
NativeLibrary.getLibraryBindingNames(Interpreter r) |
Modifier and Type | Method and Description |
---|---|
static void |
Util.error(Interpreter r,
Pair error) |
static void |
Util.error(Interpreter r,
java.lang.String errormessage) |
static void |
Util.error(Interpreter r,
java.lang.String errormessage,
Pair moreData) |
static void |
Util.error(Interpreter r,
Value errormessage) |
static void |
Util.error(Interpreter r,
Value where,
java.lang.String errormessage) |
static void |
Util.error(Interpreter r,
Value where,
java.lang.String errormessage,
java.lang.Exception e) |
static void |
Util.error(Interpreter r,
Value where,
java.lang.String errormessage,
Pair moreData) |
java.lang.Object |
SignalHook.SignalHandler.execute(Interpreter r) |