Package | Description |
---|---|
io.opsit.explang |
Modifier and Type | Interface and Description |
---|---|
interface |
IExpr |
interface |
IForm |
Modifier and Type | Class and Description |
---|---|
class |
Compiler.ABSTRACT_SET_OP |
class |
Compiler.AbstractForm
Base class for special forms and regular functions.
|
class |
Compiler.COND |
class |
Compiler.DEFUN
(DEFUN FOO (arg1 arg2...) block block...)
|
class |
Compiler.DLET |
class |
Compiler.FOREACH |
class |
Compiler.FUNCTION |
class |
Compiler.IF |
static class |
Compiler.InstanceProxy |
class |
Compiler.LAMBDA |
class |
Compiler.LET |
class |
Compiler.PROGN |
class |
Compiler.QUOTE |
class |
Compiler.SEARCH |
class |
Compiler.SETF |
class |
Compiler.SETL |
class |
Compiler.SETQ |
class |
Compiler.SETV |
class |
Compiler.TH_1ST |
class |
Compiler.TH_AS |
class |
Compiler.TH_BASE |
class |
Compiler.TH_LAST |
class |
Compiler.TH_PIPE |
class |
Compiler.TH_X |
class |
Compiler.TRY |
class |
Compiler.WHEN |
class |
Compiler.WHILE |
class |
Compiler.WITH_BINDINGS |
class |
Compiler.WITH_CTX |
static class |
DWIM.DWIM_FIELDS |
static class |
DWIM.DWIM_MATCHES |
static class |
Funcs.ABSTRACT_SUB |
static class |
Funcs.ABSTRACTADDOP
Abstract class for addition type arithmetic functions.
|
static class |
Funcs.AbstractExpr |
static class |
Funcs.ABSTRACTMAPOP |
static class |
Funcs.ADDOP |
static class |
Funcs.AND |
static class |
Funcs.APPEND |
static class |
Funcs.APPLY |
static class |
Funcs.AREF |
static class |
Funcs.ARGV |
static class |
Funcs.ASET |
static class |
Funcs.ASSOC |
static class |
Funcs.ASSOCIATIVEP |
static class |
Funcs.BACKTRACE |
static class |
Funcs.BEAN |
static class |
Funcs.BOOL |
static class |
Funcs.BooleanExp |
static class |
Funcs.BOUNDP |
static class |
Funcs.BYTE |
static class |
Funcs.CHAR |
static class |
Funcs.CLASS |
static class |
Funcs.COLLP |
static class |
Funcs.CONS |
static class |
Funcs.COPY |
static class |
Funcs.DEEP_COPY |
static class |
Funcs.DELETE |
static class |
Funcs.DESCRIBE_FUNCTION |
static class |
Funcs.DIVOP |
static class |
Funcs.DOCUMENTATION |
static class |
Funcs.DOT |
static class |
Funcs.DOTN |
static class |
Funcs.DOTS |
static class |
Funcs.DOUBLE |
static class |
Funcs.EmptyListExp |
static class |
Funcs.EQ |
static class |
Funcs.EQUAL |
static class |
Funcs.EVAL |
static class |
Funcs.EXCEPTION |
static class |
Funcs.EXP |
static class |
Funcs.FFI |
static class |
Funcs.FILTER |
static class |
Funcs.FIRST |
static class |
Funcs.FLOAT |
static class |
Funcs.FORMAT |
static class |
Funcs.FSET |
static class |
Funcs.FUNCALL |
static class |
Funcs.FuncExp |
static class |
Funcs.FUNCTIONP |
static class |
Funcs.FUNCTIONS_NAMES |
static class |
Funcs.GET |
static class |
Funcs.GET_IN |
static class |
Funcs.GETPROP |
static class |
Funcs.GETPROPS |
static class |
Funcs.HASHMAP |
static class |
Funcs.HASHSET |
static class |
Funcs.HASKEY |
static class |
Funcs.IN |
static class |
Funcs.INDEXEDP |
static class |
Funcs.INSERT |
static class |
Funcs.INT |
static class |
Funcs.INTERPOSE |
static class |
Funcs.JOIN |
static class |
Funcs.LENGTH |
static class |
Funcs.LIST |
static class |
Funcs.LOAD |
static class |
Funcs.LOADR |
static class |
Funcs.LOG |
static class |
Funcs.LONG |
static class |
Funcs.LOWERCASE |
static class |
Funcs.MAKE_ARRAY |
static class |
Funcs.MAKUNBOUND |
static class |
Funcs.MAP |
static class |
Funcs.MAPP |
static class |
Funcs.MAPPROD |
static class |
Funcs.MAXOP |
static class |
Funcs.MINOP |
static class |
Funcs.MODOP |
static class |
Funcs.MULOP |
static class |
Funcs.NAPPEND |
static class |
Funcs.NASET |
static class |
Funcs.NASSOC |
static class |
Funcs.NDELETE |
static class |
Funcs.NEW_CTX |
static class |
Funcs.NEW_THREAD |
static class |
Funcs.NILP |
static class |
Funcs.NINSERT |
static class |
Funcs.NOT |
static class |
Funcs.NOTIN |
static class |
Funcs.NOTNILP |
static class |
Funcs.NPOP |
static class |
Funcs.NPUSH |
static class |
Funcs.NPUT |
static class |
Funcs.NPUT_IN |
static class |
Funcs.NREVERSE |
static class |
Funcs.NSORT |
static class |
Funcs.NTH |
static class |
Funcs.NumberExp |
static class |
Funcs.NUMCOMP |
static class |
Funcs.NUMEQ |
static class |
Funcs.NUMGE |
static class |
Funcs.NUMGT |
static class |
Funcs.NUMLE |
static class |
Funcs.NUMLT |
static class |
Funcs.ObjectExp |
static class |
Funcs.OR |
static class |
Funcs.POP |
static class |
Funcs.PRINT |
static class |
Funcs.PRINTLN |
static class |
Funcs.PUSH |
static class |
Funcs.PUT |
static class |
Funcs.PUT_IN |
static class |
Funcs.RANDOM |
static class |
Funcs.RANGE |
static class |
Funcs.RE_FIND |
static class |
Funcs.RE_GLOB |
static class |
Funcs.RE_GROUPS |
static class |
Funcs.RE_MATCHER |
static class |
Funcs.RE_MATCHES |
static class |
Funcs.RE_PATTERN |
static class |
Funcs.RE_SEQ |
static class |
Funcs.READ_FROM_STRING |
static class |
Funcs.REDUCE |
static class |
Funcs.REMOP |
static class |
Funcs.REPLACE |
static class |
Funcs.REST |
static class |
Funcs.RETURN |
static class |
Funcs.REVERSE |
static class |
Funcs.SELECT_KEYS |
static class |
Funcs.SEQP |
static class |
Funcs.SEQUAL |
static class |
Funcs.SET |
static class |
Funcs.SETP |
static class |
Funcs.SETPROP |
static class |
Funcs.SETPROPS |
static class |
Funcs.SHORT |
static class |
Funcs.SIGNUM |
static class |
Funcs.SORT |
static class |
Funcs.SQRT |
static class |
Funcs.STR |
static class |
Funcs.STRING |
static class |
Funcs.STRINGBUFFER |
static class |
Funcs.STRINGBUILDER |
static class |
Funcs.StringExp |
static class |
Funcs.SUBOP |
static class |
Funcs.SUBSEQ |
static class |
Funcs.SYMBOL |
static class |
Funcs.SYMBOL_FUNCTION |
static class |
Funcs.TAKE |
static class |
Funcs.THROW |
static class |
Funcs.TYPE_OF |
static class |
Funcs.TYPEP |
static class |
Funcs.UPPERCASE |
static class |
Funcs.ValueExpr |
static class |
Funcs.VarExp |
static class |
Funcs.VERSION |
class |
LazyEval |
Modifier and Type | Field and Description |
---|---|
protected ICompiled |
Compiler.SEARCH.input |
protected ICompiled |
Compiler.DLET.listExpr |
protected ICompiled |
Compiler.SETF.lvalue |
protected ICompiled |
Compiler.SEARCH.predicate |
protected ICompiled |
Compiler.SETF.rvalue |
protected ICompiled |
Compiler.TH_BASE.startExpr |
Modifier and Type | Field and Description |
---|---|
protected List<ICompiled> |
Compiler.TH_BASE.blocks |
protected List<ICompiled> |
Compiler.LAMBDA.blocks |
protected List<ICompiled> |
Compiler.DLET.blocks |
protected List<ICompiled> |
Compiler.WITH_BINDINGS.blocks |
protected List<ICompiled> |
Compiler.WITH_CTX.blocks |
protected List<ICompiled> |
Compiler.LET.blocks |
protected List<ICompiled> |
Compiler.InstanceProxy.params |
protected List<ICompiled> |
Compiler.LET.varExprs |
Modifier and Type | Method and Description |
---|---|
ICompiled |
Compiler.compile(ASTN ast)
Compile AST into executable data structures.
|
ICompiled |
ArgList.copyParam(ArgSpec.Arg arg,
ICompiled expr) |
ICompiled |
ArgList.get(int idx) |
ICompiled |
ArgSpec.Arg.getInit() |
ICompiled |
ArgSpec.getInitForm(int idx) |
ICompiled |
ICode.getInstance() |
ICompiled |
Compiler.BuiltinForm.getInstance() |
ICompiled |
Compiler.BuiltinFunc.getInstance() |
ICompiled |
Compiler.CodeProxy.getInstance() |
ICompiled[] |
ArgList.getParams() |
Modifier and Type | Method and Description |
---|---|
List<ICompiled> |
Compiler.compileExpList(ASTNList params)
Compile parameters.
|
static List<ICompiled> |
Utils.newPosArgsList(int num)
Create list of positional arguments.
|
protected static List<ICompiled> |
Funcs.setFuncPosParams(IExpr instance,
int cnt) |
Modifier and Type | Method and Description |
---|---|
ICompiled |
ArgList.copyParam(ArgSpec.Arg arg,
ICompiled expr) |
Modifier and Type | Method and Description |
---|---|
protected int |
Funcs.ABSTRACTMAPOP.callfunc(Backtrace backtrace,
List<Object> results,
Object[] seqs,
int[] indices,
IExpr instance,
List<ICompiled> callParams,
Compiler.ICtx ctx) |
protected abstract void |
Funcs.ABSTRACTMAPOP.callfuncs(Backtrace backtrace,
List<Object> results,
Object[] seqs,
IExpr instance,
List<ICompiled> callParams,
Compiler.ICtx ctx) |
protected void |
Funcs.MAP.callfuncs(Backtrace backtrace,
List<Object> results,
Object[] seqs,
IExpr instance,
List<ICompiled> callParams,
Compiler.ICtx ctx) |
protected void |
Funcs.MAPPROD.callfuncs(Backtrace backtrace,
List<Object> results,
Object[] seqs,
IExpr instance,
List<ICompiled> callParams,
Compiler.ICtx ctx) |
void |
Funcs.FuncExp.checkParamsList(List<ICompiled> params)
Ensure that parametes are valid and can be set for the object.
|
void |
Funcs.HASHMAP.checkParamsList(List<ICompiled> params) |
Object |
Compiler.evalBlocks(Backtrace backtrace,
List<ICompiled> blocks,
Compiler.ICtx ctx)
Evaluate block of compiled expressions.
|
Object |
Compiler.evalBlocksWithReturn(Backtrace backtrace,
List<ICompiled> blocks,
Compiler.ICtx ctx)
Evaluate block of compiled expressions, handling return statement if present.
|
void |
Compiler.InstanceProxy.setParams(List<ICompiled> params) |
void |
Funcs.FuncExp.setParams(List<ICompiled> params)
Set parameters for function on compilation stage.
|
void |
Funcs.FUNCALL.setParams(List<ICompiled> params) |
void |
Funcs.VarExp.setParams(List<ICompiled> params) |
void |
Funcs.ValueExpr.setParams(List<ICompiled> params) |
void |
IExpr.setParams(List<ICompiled> params) |
Constructor and Description |
---|
Arg(String name,
ArgSpec.AF flag,
ICompiled initForm,
String svar,
boolean allowOtherKeys,
boolean isLazy,
boolean pipe) |
LazyEval(ICompiled expr) |
Constructor and Description |
---|
ArgList(ArgSpec argSpec,
List<ICompiled> params) |
Copyright © 2022. All rights reserved.