forEach
public static final map forEach
instanceOf
public static final InstanceOf instanceOf
isEq
public static final IsEq isEq
isEqual
public static final IsEqual isEqual
isEqv
public static final IsEqv isEqv
lambda
public static final Lambda lambda
map
public static final map map
not
public static final not not
nullEnvironment
public static final Environment nullEnvironment
r4Environment
public static final Environment r4Environment
r5Environment
public static final Environment r5Environment
repl
public static final repl repl
define_proc
protected void define_proc(String name,
String className)
Define a procedure to be autoloaded.
define_proc
protected void define_proc(String name,
Named proc)
define_proc
protected void define_proc(Named proc)
eval
public static Object eval(Object sexpr,
Environment env)
Evalutate Scheme expressions from an "S expression."
sexpr
- the S expression to evaluateenv
- the Environment to evaluate the string in
- result of the expression.
eval
public static Object eval(String string,
Environment env)
Evalutate Scheme expressions from string.
string
- the string constaining Scheme expressionsenv
- the Environment to evaluate the string in
- result of last expression, or Language.voidObject if none.
eval
public static Object eval(InPort port,
Environment env)
Evalutate Scheme expressions from stream.
port
- the port to read Scheme expressions fromenv
- the Environment to evaluate the string in
- result of last expression, or Language.voidObject if none.
exp2Type
public static Type exp2Type(Expression exp)
Convert expression to a Type.
Allow "TYPE" or 'TYPE or .
getInstance
public static Scheme getInstance()
getNamedType
public static Type getNamedType(String name)
getTypeValue
public static Type getTypeValue(Expression exp)
If exp is a "constant" Type, return that type, otherwise return null.
registerEnvironment
public static void registerEnvironment()
The compiler insert calls to this method for applications and applets.