Package cl.obcom.desktopfx.expr

package cl.obcom.desktopfx.expr
Compiler and Expression Library. Classes and interfaces for compiling and evaluating desktop expressions.

A desktop expression is a simplified version of a Java expression, and it includes conditional, comparator, addition, multiplication and uniry operators. A desktop expression can also invoke built-in and user-defined functions. Class Compiler defines the BNF grammar of expressions, and the list of built-in functions.

A user-defined function is implemented in Java, and it can access the entire desktop and Java environment. These functions must be registered before an expression is compiled and evaluated.

See Also: