public final class Evaluate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Modifier and Type | Method and Description |
---|---|
static void |
addDefinition(java.lang.String name,
java.lang.Object value) |
static void |
addVirgin(java.lang.String name,
Code virgin) |
static java.lang.Object |
evaluate(List description) |
static java.lang.Object |
evaluate(java.lang.Object form,
Environment env) |
static java.lang.Object |
evaluate(java.lang.String desc) |
static java.lang.Object |
evaluate(java.lang.String desc,
java.lang.String filename) |
static java.lang.Boolean |
evaluateBoolean(List body,
Environment env) |
static java.lang.Byte |
evaluateByte(List body,
Environment env) |
static java.lang.Character |
evaluateChar(List body,
Environment env) |
static java.lang.Double |
evaluateDouble(List body,
Environment env) |
static java.lang.Float |
evaluateFloat(List body,
Environment env) |
static java.lang.Integer |
evaluateInt(List body,
Environment env) |
static java.lang.Long |
evaluateLong(List body,
Environment env) |
static java.lang.Short |
evaluateShort(List body,
Environment env) |
static java.lang.Object |
evaluateString(java.lang.String str,
Environment env,
g2d.jlambda.Continuation k) |
static java.lang.Object |
evaluateText(java.lang.String input) |
static java.lang.Object |
getObject(java.lang.Object uid) |
static java.lang.Object |
getUID(java.lang.Object obj) |
static Code |
getVirgin(java.lang.String name) |
static void |
main(java.lang.String[] args) |
static java.lang.Boolean |
object2Boolean(java.lang.Object b,
g2d.jlambda.Continuation k) |
static java.lang.Number |
object2Number(java.lang.Object n,
g2d.jlambda.Continuation k) |
static void |
printDefinitions(boolean bodiesToo) |
static void |
printUIDs() |
static void |
reset() |
static void |
setUID(java.lang.Object uid,
java.lang.Object obj) |
static void |
showDefinition(java.lang.String input) |
static void |
unsetUID(java.lang.Object obj) |
public static final boolean DEBUG
public static void main(java.lang.String[] args)
public static java.lang.Object evaluateText(java.lang.String input) throws g2d.jlambda.antlr4.visitor.ParseError, SyntaxError
g2d.jlambda.antlr4.visitor.ParseError
SyntaxError
public static java.lang.Object evaluate(java.lang.String desc) throws g2d.jlambda.antlr4.visitor.ParseError, SyntaxError
g2d.jlambda.antlr4.visitor.ParseError
SyntaxError
public static java.lang.Object evaluate(java.lang.String desc, java.lang.String filename) throws g2d.jlambda.antlr4.visitor.ParseError, SyntaxError
g2d.jlambda.antlr4.visitor.ParseError
SyntaxError
public static java.lang.Object evaluate(List description) throws SyntaxError
SyntaxError
public static java.lang.Object evaluate(java.lang.Object form, Environment env)
public static void reset()
public static java.lang.Object evaluateString(java.lang.String str, Environment env, g2d.jlambda.Continuation k) throws EvaluateError
EvaluateError
public static java.lang.Object getUID(java.lang.Object obj)
public static void setUID(java.lang.Object uid, java.lang.Object obj) throws EvaluateError
EvaluateError
public static void unsetUID(java.lang.Object obj)
public static java.lang.Object getObject(java.lang.Object uid)
public static void addDefinition(java.lang.String name, java.lang.Object value)
public static void printDefinitions(boolean bodiesToo)
public static void printUIDs()
public static void addVirgin(java.lang.String name, Code virgin)
public static Code getVirgin(java.lang.String name)
public static void showDefinition(java.lang.String input)
public static java.lang.Boolean evaluateBoolean(List body, Environment env)
public static java.lang.Byte evaluateByte(List body, Environment env)
public static java.lang.Character evaluateChar(List body, Environment env)
public static java.lang.Double evaluateDouble(List body, Environment env)
public static java.lang.Float evaluateFloat(List body, Environment env)
public static java.lang.Integer evaluateInt(List body, Environment env)
public static java.lang.Long evaluateLong(List body, Environment env)
public static java.lang.Short evaluateShort(List body, Environment env)
public static java.lang.Number object2Number(java.lang.Object n, g2d.jlambda.Continuation k) throws EvaluateError
EvaluateError
public static java.lang.Boolean object2Boolean(java.lang.Object b, g2d.jlambda.Continuation k) throws EvaluateError
EvaluateError