aviatorscript icon indicating copy to clipboard operation
aviatorscript copied to clipboard

A high performance scripting language hosted on the JVM.

Results 121 aviatorscript issues
Sort by recently updated
recently updated
newest added

版本:5.2.7 运行环境:linux 问题描述:启用缓存模式,运行一段时间后会报NoClassDefFoundError,可能有一定的概率,不是每次都能重现 ---ts=2022-05-29 13:49:23;thread_name=pool-cal-14;id=36;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@33909752 `---[0.40077ms] com.abc.task.RiskPreRuleTask:execute() [throws Exception] +---[0.001793ms] com.abc.entity.TaskResult:() #30 +---[0.002145ms] com.abc.context.CrrContext:traceStart() #31 +---[0.002014ms] com.abc.context.CrrContext:getCustId() #32 +---[0.001781ms] com.abc.service.CrrStopWatch:() #32 +---[0.00263ms] com.abc.context.CrrContext:appendWatch() #33 +---[0.00171ms] com.abc.context.CrrContext:getBankId() #35 +---[0.001811ms] com.abc.context.CrrContext:getCalType() #36...

我们需要实现一些复杂类对象之间的运算,找了一下没发现对应能自定义的地方。目前仅能通过 hack AviatorType 进行补充类型, 建议补充一个 UserType 由用户自己去实现对应的 AviatorObject

建议出一个JS版本

编译后的expression缓存在外部环境中,比如说redis(尝试过,但是无法序列化为Expression)。如果服务多实例部署,缓存在本地是否存在一致性问题

希望添加类似于Expression#getVaraibleNames的方法,以获取表达式中所使用到的自定义方法(或者所有方法)。 自己去表达式字符串中查找,不严谨,可能存在转义,或本身是字符串常量而非方法调用的问题

If you are using aviator in your projects, please provide some info here.Thanks. A template: ``` Company: xxx company Use: formula calculation etc. ``` 如果你在你的项目里使用 aviator,请提供一些基本信息,为了更好地推广 aviator,感谢。模板: ``` 公司: xxx...

help wanted

方便创建 AviatorEvaluatorInstance 和集成自定义函数等

您好,现在有个需求,比如给if...else... 关键词起别名: is...else... --> 如果...那么。这样就更方便把封装好的规则交给运营配置。 看了下文档没看到添加别名的api。请问现在可以实现吗?

feature

类似: * [ ] 数值计算 * [ ] 方法和字段的反射调用