Package | Description |
---|---|
casa |
The casa package is the main package for CASA (Collaborative Agent System
Architecture), which is an infrastructure for agent based systems.
|
casa.abcl | |
casa.conversation2 | |
casa.event |
Contains classes that implement Events (see
Event ),
which are used to describe dependencies (including time expiry or time
intervals) among things like social commitments and deferred code. |
casa.ontology.v3 | |
casa.policy | |
casa.util |
Contains classes implementing various utility class for CASA.
|
org.armedbear.lisp |
Modifier and Type | Field and Description |
---|---|
(package private) Environment |
TransientAgent.lispEnvironment
Can be used to store Symbols in the lisp environment specifically for this
agent.
|
Modifier and Type | Method and Description |
---|---|
Status |
TransientAgent.NewAgentLispCommand.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
private Status |
TransientAgent.NewAgentLispCommand.makeAgentInAnotherProc(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
URLDescriptor url) |
static boolean |
TransientAgent.searchOntology(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
String expr) |
static boolean |
TransientAgent.searchOntology1(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
String expr) |
Modifier and Type | Method and Description |
---|---|
Environment |
BoundSymbols.extendEnv(Environment env)
Return a new environment based on env with the symbols in vars bound.
|
Modifier and Type | Method and Description |
---|---|
static Status |
Lisp.abclEval(TransientAgent agent,
Environment env,
Map<String,LispObject> newEnvBindings,
String c,
AgentUI ui) |
static void |
Lisp.bind(Environment env,
String name,
LispObject value) |
private Object |
CasaLispOperator.checkType(CasaLispOperator.Entry entry,
LispObject lispObj,
Environment env,
ParamsMap params) |
private LispObject |
CasaLispOperator.evalDefault(LispObject o,
Environment env)
Interpret the argument o in the context of the lisp environment.
|
void |
BoundSymbols.evaluate(TransientAgent agent,
Environment env,
Map<String,LispObject> newBindings)
Used to resolve all symbols created with the
BoundSymbols.bindExp(String, LispObject) method by evaluating the expression given and
assigning the result to the value of the symbol. |
LispObject |
CasaLispOperator.execute(LispObject args,
Environment env)
Interprets the lisp command according specification in the constructor and
calls
CasaLispOperator.execute(TransientAgent, ParamsMap, AgentUI, Environment) for the actual
implementation of the command with the appropriate parameters filled
out. |
abstract Status |
CasaLispOperator.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env)
Subclasses need to override the method to implement the actual operator.
|
Environment |
BoundSymbols.extendEnv(Environment env)
Return a new environment based on env with the symbols in vars bound.
|
<Ty> Ty |
CasaLispOperator.getSymbolValue(String name,
Environment env)
Look for a symbol named name in the lisp environment and return it's value.
|
static LispObject |
Lisp.lookup(Environment env,
String name) |
static Object |
Lisp.lookupAsJavaObject(Environment env,
String name) |
private static boolean |
Lisp.needsRecovering(Environment env) |
Modifier and Type | Method and Description |
---|---|
protected Environment |
BoundSymbolObject.extendEnv(Environment env) |
Modifier and Type | Method and Description |
---|---|
protected Environment |
BoundSymbolObject.extendEnv(Environment env) |
Modifier and Type | Method and Description |
---|---|
Status |
EventDescriptor.EventDescriptorLispOperator.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env)
the execute command
|
Modifier and Type | Method and Description |
---|---|
static Status |
CASAOntology.ontology_lispImpl(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
Modifier and Type | Method and Description |
---|---|
private static Policy.SCOpData |
Policy.getSCOpData(String op,
TransientAgent agent,
ParamsMap params,
Environment env) |
Modifier and Type | Method and Description |
---|---|
static Ontology |
CASAUtil.findOntology(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
Modifier and Type | Field and Description |
---|---|
(package private) Environment |
Binding.env
Used only for tags and blocks.
|
private Environment |
Closure.environment |
Modifier and Type | Method and Description |
---|---|
static Environment |
Lisp.checkEnvironment(LispObject obj) |
Environment |
Closure.getEnvironment() |
Modifier and Type | Method and Description |
---|---|
(package private) static LispObject |
Do._do(LispObject args,
Environment env,
boolean sequential) |
(package private) static LispObject |
SpecialOperators._flet(LispObject args,
Environment env,
boolean recursive) |
(package private) static LispObject |
SpecialOperators._let(LispObject args,
Environment env,
boolean sequential) |
static void |
Lisp.bindArg(LispObject ownSpecials,
Symbol sym,
LispObject value,
Environment env,
LispThread thread) |
private void |
Closure.bindAuxVars(Environment env,
LispThread thread) |
private void |
Closure.bindParameterDefaults(Closure.Parameter[] parameters,
Environment env,
LispThread thread) |
private void |
Closure.bindRequiredParameters(Environment ext,
LispThread thread,
LispObject[] objects) |
private void |
Closure.declareFreeSpecials(Environment ext) |
static LispObject |
Lisp.eval(LispObject obj,
Environment env,
LispThread thread) |
static LispObject |
RuntimeClass.evalC(LispObject function,
LispObject args,
Environment env,
LispThread thread) |
static LispObject |
Lisp.evalCall(LispObject function,
LispObject args,
Environment env,
LispThread thread) |
LispObject |
Extensions.truly_the.execute(LispObject args,
Environment env) |
LispObject |
Lisp.with_inline_code.execute(LispObject args,
Environment env) |
LispObject |
dolist.execute(LispObject args,
Environment env) |
LispObject |
LispObject.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_quote.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_if.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_let.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_let_star.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_symbol_macrolet.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_load_time_value.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_locally.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_progn.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_flet.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_labels.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_the.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_progv.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_declare.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_function.execute(LispObject args,
Environment env) |
LispObject |
SpecialOperators.sf_setq.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_when.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_unless.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_defmacro.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_cond.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_case.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_ecase.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_macrolet.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_tagbody.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_go.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_block.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_return_from.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_catch.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_throw.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_unwind_protect.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_eval_when.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_multiple_value_bind.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_multiple_value_prog1.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_multiple_value_call.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_and.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_or.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_multiple_value_list.execute(LispObject args,
Environment env) |
LispObject |
Primitives.sf_nth_value.execute(LispObject args,
Environment env) |
LispObject |
dotimes.execute(LispObject args,
Environment env) |
LispObject |
Do.sf_do.execute(LispObject args,
Environment env) |
LispObject |
Do.sf_do_star.execute(LispObject args,
Environment env) |
private static boolean |
Lisp.isSpecial(Symbol sym,
LispObject ownSpecials,
Environment env) |
static LispObject |
Lisp.macroexpand_1(LispObject form,
Environment env,
LispThread thread) |
static LispObject |
Lisp.macroexpand(LispObject form,
Environment env,
LispThread thread) |
static LispObject |
Lisp.preprocessTagBody(LispObject body,
Environment env) |
static LispObject |
Lisp.processTagBody(LispObject body,
LispObject localTags,
Environment env) |
static LispObject |
Lisp.progn(LispObject body,
Environment env,
LispThread thread) |
Constructor and Description |
---|
Binding(LispObject symbol,
Environment env,
LispObject value,
Binding next) |
Closure(LispObject lambdaExpression,
Environment env) |
Closure(LispObject name,
LispObject lambdaExpression,
Environment env) |
Environment(Environment parent) |
Environment(Environment parent,
Symbol symbol,
LispObject value) |