Projects / ExpressionJ

ExpressionJ

ExpressionJ is a Java library for interpreting simple numeric expressions, which may be used in all applications that have to combine numeric values but do not want to use full-blown scripting languages.

Tags
Licenses
Operating Systems
Implementation

Last announcement

another 0.8.6 fix 05 Mar 2012 22:56

I forgot to add this fix which was also there for 0.8.6: Fix indexes of arrays which could not be parsed if they were the rsult of expressions (such as TAB[a+1])

Recent releases

  •  02 Apr 2012 23:59

    Release Notes: This release allows semicolons inside function declarations, fixes expressions before semicolons followed by function expressions not being taken into account in some cases, adds array declaration and array affectation expressions, makes the expressions cloneable, and adds a new combiner method allowing easy creation of an array expression.

    •  22 Mar 2012 00:30

      Release Notes: This release adds a sign function, an echo function, comments, and several characters to the list of characters allowed in expressions: =, <, and >.

      •  18 Mar 2012 23:29

        Release Notes: This release fixes several bugs in the expressions combiner, including Array expressions. It fixes constants of type String being exported without enclosing double-quotes. It makes the parser much more lenient on the use of semicolons or not to separate expressions. It adds a decrement operator (--). It adds the assignments operators (+=, -=, */, /=). It adds new combiners that allow it to add / subtract, multiply, or divide directly with a value. It allows you to give names to constants.

        •  14 Mar 2012 01:25

          Release Notes: This release adds an increment operator (++). It fixes "else" expression code blocks not being able to have more than one line, cases in which unwinding of curly brackets was not performed well and could lead to false results for some expressions, cases in which the parser could incorrectly parse expressions containing both "while" and "choice" expressions, and wrong parsing for "choice" expressions without "else" and "else if".

          •  11 Mar 2012 18:56

            Release Notes: This release fixes local variables not being available in a block if they were defined in a super block. Previously, a global variable with the same name was created or used, and now the local variable is correctly used. This release fixes some expressions in blocks not being parsed in some cases and adds "while" expressions.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.