|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.hprog.code.SchemeInterpreter
Wrapper for SISC Scheme
| Constructor Summary | |
SchemeInterpreter(java.net.URL base)
|
|
| Method Summary | |
java.lang.String |
errorText(sisc.data.Value v)
|
void |
eval(java.lang.String exp,
ResultListener l)
Evaluate an expression/command |
java.lang.String |
fromString(sisc.data.Value v)
|
java.lang.String |
fromSymbol(sisc.data.Value v)
|
java.lang.String |
getLanguage()
The language this interpreter interprets |
java.lang.String |
getName()
The name of the implementation |
boolean |
interrupt()
Request that evaluation be ended early |
void |
load(java.util.Iterator f,
ResultListener l)
Load source files into the interpreter |
static void |
printEnv(sisc.env.SymbolicEnvironment env)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SchemeInterpreter(java.net.URL base)
| Method Detail |
public static void printEnv(sisc.env.SymbolicEnvironment env)
public java.lang.String getLanguage()
InteractiveInterpreter
getLanguage in interface InteractiveInterpreterpublic java.lang.String getName()
InteractiveInterpreter
getName in interface InteractiveInterpreterpublic java.lang.String fromString(sisc.data.Value v)
public java.lang.String fromSymbol(sisc.data.Value v)
public java.lang.String errorText(sisc.data.Value v)
public void eval(java.lang.String exp,
ResultListener l)
InteractiveInterpreter
eval in interface InteractiveInterpreterexp - expression textl - listener to notify when evaluation completes (or fails)
public void load(java.util.Iterator f,
ResultListener l)
InteractiveInterpreter
load in interface InteractiveInterpreterf - iteration of InputFilesl - listener to notify when loading is complete (or fails)public boolean interrupt()
InteractiveInterpreter
interrupt in interface InteractiveInterpreter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||