java执行字符串数学表达式【记录】

https://stackoverflow.com/questions/3422673/evaluating-a-math-expression-given-in-string-form

1. googlecode.aviator(未验证)

  https://blog.csdn.net/lxzo123/article/details/6082338

2.fast-el(未验证)

  https://code.google.com/archive/p/fast-el/

  https://blog.csdn.net/kisscatforever/article/details/80422976

  看网上的讨论说是不支持三元运算,

3.JEP(未验证)

  https://blog.csdn.net/CHS007chs/article/details/51728817

  https://www.cnblogs.com/JiaJianWorld/p/7732459.html

  

4. EvalEx

  github: https://github.com/uklimaschewski/EvalEx

  https://udojava.com

  

5.ScriptEngine(js eval)

  https://blog.csdn.net/w1014074794/article/details/45968559

   https://blog.csdn.net/msyqmsyq/article/details/52954833

  http://www.w3school.com.cn/jsref/jsref_obj_math.asp

 6.

  https://blog.csdn.net/earbao/article/details/39830563

 

posted @ 2018-07-10 21:57  月半榨菜  阅读(873)  评论(0编辑  收藏  举报