JEL is the library for evaluating a simple single line expressions in Java. The key feature of JEL is the fact that it is a compiler. To write the interpreter for expressions is the task, close to trivial but incurs a HUGE perfomance penalty due to the fact that Java is interpreted language itself. JEL, in contrary, compiles expressions directly to Java bytecodes, allowing their fast evaluation. Gnu - Jel home is
here.