JAVA - Expression parsing & evaluating library

后端 未结 4 2183
再見小時候
再見小時候 2021-02-09 01:04

I\'m looking for a JAVA library to parse & evaluate expression. I searched and tried some libraries like Apache\'s JEXL and Jeval, but they are not exactly what I need.

4条回答
  •  执笔经年
    2021-02-09 01:56

    Try Janino. It's a runtime in-memory compiler that can be used as an expression evaluator. Maybe it is the right thing for you.

提交回复
热议问题