protected QDLStem |
AbstractEvaluator.convertArgsToStem(Polyad polyad,
Object arg,
State state,
String component) |
Converts a couple of different arguments to the form
[[a0{,b0}],[a1{,b1}],...,[an{,bn}] or (if a single argument that is
a stem) can pass back:
|
abstract boolean |
AbstractEvaluator.dispatch(Polyad polyad,
State state) |
Does the actual evaluation of the Polyad .
|
boolean |
FunctionEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
IOEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
ListEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
MathEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
MetaEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
ModuleEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
OpEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
StemEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
StringEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
SystemEvaluator.dispatch(Polyad polyad,
State state) |
|
boolean |
TMathEvaluator.dispatch(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doAbs(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doCaput(Polyad polyad,
State state) |
|
protected QDLSet |
MathEvaluator.doCodec(Polyad polyad,
QDLSet inSet,
AbstractCodec codec,
boolean isEncode) |
|
protected QDLStem |
MathEvaluator.doCodec(Polyad polyad,
QDLStem inStem,
AbstractCodec codec,
boolean isEncode) |
|
protected void |
StemEvaluator.doCommonKeys(Polyad polyad,
State state) |
common_keys(stem1., stem2.)
Return a list of keys common to both stems.
|
protected void |
SystemEvaluator.doConstants(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doContains(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doDates(Polyad polyad,
State state,
boolean isInMillis) |
|
protected void |
StringEvaluator.doDetokeninze(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doDiff(Polyad polyad,
State state) |
|
protected void |
IOEvaluator.doDir(Polyad polyad,
State state) |
Quick note.
|
protected void |
StemEvaluator.doExcludeKeys(Polyad polyad,
State state) |
exclude_keys(stem., var | list.)
remove all the keys in list.
|
protected void |
StemEvaluator.doForEach(Polyad polyad,
State state) |
Apply n-ary function to outer product of stems.
|
protected void |
SystemEvaluator.doFork(Polyad polyad,
State state) |
Run a script in its own thread.
|
protected void |
StemEvaluator.doFromJSON(Polyad polyad,
State state) |
|
protected void |
FunctionEvaluator.doFunctionEvaluation(Polyad polyad,
State state,
FR_WithState frs) |
|
protected void |
MathEvaluator.doHash(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doHasKey(Polyad polyad,
State state) |
has_keys(key | keysList., arg.) returns left conformable result if the key or keylist.
|
protected void |
StemEvaluator.doHasKeys(Polyad polyad,
State state) |
Deprecated.
|
protected void |
MathEvaluator.doIdentityFunction(Polyad polyad,
State state) |
The identity function returns its argument.
|
protected void |
ModuleEvaluator.doImport(Polyad polyad,
State state) |
Eithjer
import(string) - namespace
import(string, mode) - mode is a string or integer
returns the instance of the module.
|
protected void |
StemEvaluator.doIncludeKeys(Polyad polyad,
State state) |
include_keys(stem., var | list.);
include keys on the right in the resulting stem
|
protected void |
StringEvaluator.doIndexOf(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doIndices(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doInsert(Polyad polyad,
State state) |
|
protected void |
SystemEvaluator.doInterpret(Polyad polyad,
State state) |
|
protected void |
SystemEvaluator.doInterrupt(Polyad polyad,
State state) |
|
protected void |
FunctionEvaluator.doIsFunction(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doIsList(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doIsMemberOf(Polyad polyad,
State state) |
Compute if the left argument is a member of the right argument.
|
protected void |
FunctionEvaluator.doJavaFunction(Polyad polyad,
State state,
FR_WithState frs) |
|
protected void |
StemEvaluator.doJoin(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doJPathQuery(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doKeys(Polyad polyad,
State state) |
Return a stem of nothing key the keys, possibly filtering, so the final stem is of the form
|
protected void |
SystemEvaluator.doKillProcess(Polyad polyad,
State state) |
|
protected void |
ListEvaluator.doListCopyOrInsert(Polyad polyad,
State state,
boolean doInsert) |
|
protected void |
StemEvaluator.doListKeys(Polyad polyad,
State state) |
Returns the keys in a stem as a list, filtering if wanted.
|
protected void |
ListEvaluator.doListReverse(Polyad polyad,
State state) |
|
protected void |
ListEvaluator.doListSort(Polyad polyad,
State state) |
Always returns a sorted list.
|
protected void |
ListEvaluator.doListStartsWith(Polyad polyad,
State state) |
Returns a list of indices.
|
protected boolean |
ListEvaluator.doListSubset(Polyad polyad,
State state) |
|
protected void |
ModuleEvaluator.doLoad(Polyad polyad,
State state) |
Contract is that the type as an explicit argument is no longer required.
|
protected void |
SystemEvaluator.doLoadModule(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doMakeIndex(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doMask(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doMax(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doMin(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doMinOrMax(Polyad polyad,
State state,
boolean isMax) |
|
protected void |
IOEvaluator.doMkDir(Polyad polyad,
State state) |
|
protected void |
SystemEvaluator.doModuleImport(Polyad polyad,
State state) |
The general contract for import.
|
protected void |
SystemEvaluator.doModulePaths(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doModulus(Polyad polyad,
State state) |
Compute the modulus of two numbers, i.e.
|
protected void |
SystemEvaluator.doNewLoadModule(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doNumericDigits(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doOldReplace(Polyad polyad,
State state) |
|
protected void |
SystemEvaluator.doOSEnv(Polyad polyad,
State state) |
|
protected boolean |
ListEvaluator.doPickSubset(Polyad polyad,
State state) |
Pick elements based on a function that is supplied.
|
protected void |
SystemEvaluator.doRaiseError(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doRandom(Polyad polyad,
State state) |
|
protected void |
MathEvaluator.doRandomString(Polyad polyad,
State state) |
|
protected void |
IOEvaluator.doReadFile(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doRemove(Polyad polyad,
State state) |
Remove the entire variable from the symbol table.
|
protected void |
StemEvaluator.doRenameKeys(Polyad polyad,
State state) |
rename_keys(arg., indices.);
list.
|
protected void |
StringEvaluator.doReplace(Polyad polyad,
State state) |
|
protected QDLSet |
StringEvaluator.doReplace(Polyad polyad,
QDLSet inSet,
QDLStem replacements,
QDLStem regexStem,
State state) |
|
protected QDLStem |
StringEvaluator.doReplace(Polyad polyad,
QDLStem inStem,
QDLStem replacements,
QDLStem regexStem,
State state) |
Do replace where there is an arbitrary stem and a stem of replacements and regexes
The keys for the replacements and regexes correspond, and the replacements happen
to every elements if inStem, the target of the replacement.
|
protected void |
SystemEvaluator.doReturn(Polyad polyad,
State state) |
|
protected void |
IOEvaluator.doRMDir(Polyad polyad,
State state) |
|
protected void |
IOEvaluator.doRMFile(Polyad polyad,
State state) |
|
protected void |
SystemEvaluator.doSay(Polyad polyad,
State state,
boolean printIt) |
Does print, say and to_string commands.
|
protected void |
IOEvaluator.doScan(Polyad polyad,
State state) |
|
protected void |
SystemEvaluator.doScriptArgs(Polyad polyad,
State state) |
This will return a given script arg for a given index.
|
protected void |
SystemEvaluator.doScriptArgs2(Polyad polyad,
State state) |
New function for script arguments.
|
protected void |
SystemEvaluator.doScriptPaths(Polyad polyad,
State state) |
This accepts either a stem of paths or a single string that is parsed.
|
protected void |
StemEvaluator.doSetDefault(Polyad polyad,
State state) |
Sets the default value for a stem.
|
protected void |
StemEvaluator.doShuffle(Polyad polyad,
State state) |
Permute the elements in a stem.
|
protected void |
StemEvaluator.doSize(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doSubstring(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doSwapCase(Polyad polyad,
State state,
boolean isLower) |
|
protected void |
SystemEvaluator.doSysInfo(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doTail(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doToJSON(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doTokenize(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doTransform(Polyad polyad,
State state) |
|
protected void |
StringEvaluator.doTrim(Polyad polyad,
State state) |
|
protected void |
ModuleEvaluator.doUse(Polyad polyad,
State state) |
|
protected void |
StemEvaluator.doValues(Polyad polyad,
State state) |
|
void |
SystemEvaluator.doVarType(Polyad polyad,
State state) |
Get the type of the argument.
|
protected void |
IOEvaluator.doWriteFile(Polyad polyad,
State state) |
|
boolean |
AbstractEvaluator.evaluate(String alias,
Polyad polyad,
State state) |
|
boolean |
AbstractEvaluator.evaluate(Polyad polyad,
State state) |
Decides if a Polyad is evaluated by this evaluator and if not, returns false,
if so, it evaluates it and returns true.
|
boolean |
FunctionEvaluator.evaluate(String alias,
Polyad polyad,
State state) |
|
boolean |
FunctionEvaluator.evaluate(Polyad polyad,
State state) |
|
boolean |
MetaEvaluator.evaluate(String alias,
Polyad polyad,
State state) |
|
boolean |
MetaEvaluator.evaluate(Polyad polyad,
State state) |
|
boolean |
OpEvaluator.evaluate(Polyad polyad,
State state) |
|
boolean |
MetaEvaluator.evaluateNEW(Polyad polyad,
State state) |
Proposed method to allow for overriding base system functions.
|
boolean |
MetaEvaluator.evaluateOLD(Polyad polyad,
State state) |
|
protected void |
FunctionEvaluator.figureOutEvaluation(Polyad polyad,
State state,
boolean checkForDuplicates) |
|
protected void |
SystemEvaluator.getConst(Polyad polyad,
State state,
QDLStem values) |
|
protected void |
SystemEvaluator.isDefined(Polyad polyad,
State state) |
|
protected void |
SystemEvaluator.loadScript(Polyad polyad,
State state) |
|
protected QDLStem |
IOEvaluator.processWriteFileStem(QDLStem input,
State state,
Polyad polyad) |
|
protected QDLStem |
IOEvaluator.readFileStem(QDLStem input,
QDLStem types,
Long defaultType,
State state,
Polyad polyad) |
|
protected Object |
IOEvaluator.readSingleFile(String fileName,
Long type,
State state,
Polyad polyad) |
|
protected ArrayList<XThing> |
FunctionEvaluator.resolveArguments(FunctionRecordInterface functionRecord,
Polyad polyad,
State state,
State localState) |
This will take the function record and polyad and find the arguments that are requested
in the function record vs.
|
static int |
SystemEvaluator.runnit(Polyad polyad,
State state,
boolean hasNewState) |
|
static int |
SystemEvaluator.runnit(Polyad polyad,
State state,
List<String> paths,
boolean hasNewState,
boolean newThread) |
|
protected void |
SystemEvaluator.runScript(Polyad polyad,
State state) |
Run an external qdl script with its own state.
|
protected boolean |
FunctionEvaluator.tryScript(Polyad polyad,
State state) |
|
protected void |
IOEvaluator.vfsMount(Polyad polyad,
State state) |
|
protected void |
IOEvaluator.vfsUnmount(Polyad polyad,
State state) |
|
protected void |
IOEvaluator.writeSingleFile(String fileName,
Object content,
int fileType,
State state,
Polyad polyad) |
|