A high performance scripting language hosted on the JVM.
ScriptEngineFactory.getLanguageName
return aviator by @qiukeren in https://github.com/killme2008/aviatorscript/pull/525
Full Changelog: https://github.com/killme2008/aviatorscript/compare/aviator-5.3.3...aviator-5.4.1
Recommend using v5.4.1.
ScriptEngineFactory.getLanguageName
return aviator by @qiukeren in https://github.com/killme2008/aviatorscript/pull/525
Full Changelog: https://github.com/killme2008/aviatorscript/compare/aviator-5.3.3...aviator-5.4.0
Main changes:
seq.add_all(seq1, seq2)
to add all elements of seq2
to seq1
. #500Several bugs fixed:
Expression#getVariableFullNames()
returns the class names when the script has a new
statement.Thank you for all these bug reports.
It's recommended to upgrade.
Main changes:
AviatorEvaluatorInstance.aliasOperator(OperatorType, String)
to set an alias token for logical &&
and ||
operator, read the doc.[]
index operator and seq functions performance when processing arrays.Expression#getVariableNames
returns wrong result in nested scope.AviatorEvaluator.execute(String, Map)
not work with global caching.主要改动:
AviatorEvaluatorInstance.aliasOperator(OperatorType, String)
方法用于给 &&
和 ||
逻辑运算符定义别名,比如定义成 and
或者 or
,参见文档
Expression#getVariableNames
在处理嵌套范围的时候返回错误结果AviatorEvaluator.execute(String, Map)
方法不支持全局缓存的 bugRelease 5.3.0 officially, main changes:
TRACE_EVAL
. #408ApplicationContextAware
for SpringContextFunctionLoader
. Now SpringContextFunctionLoader
can be managed by spring container.This is the 5.3.0 beta2 version.
Main changes:
This is the 5.3.0 beta version.
Main changes:
TRACE_EVAL
. #408Main changes:
Expression#getVariableNames
and Expression#getVariableFullNames
.a.b.c
dot syntax.A strongly recommended upgrading version if you are using 5.x versions.
Main changes:
continue
statement not work with if/else or nested if statements #394partial(f, &args)
that takes a function f and fewer than the normal arguments to f, and returns a fn that takes a variable number of additional args. When called, the returned function calls f with args + additional args.seq.get
function.