xseev is a simple
expression evaluator framework
to evaluate expressions at runtime in your programs.
Key features:
- simple syntax
- minimal external dependencies
- no license fees, licensed under LGPL
- very easy to use in custom projects
- flexible functionality
- extendible with custom functions
xseev is an embeddable framework to evaluate expressions in your
custom programs. It utilizes an ANTLR
syntax file to internally build an expression tree that can be evaluated at runtime.
Expressions can be either simple like
1 + 2 * 3 - 4
or complex like 'example_' + left('abcdefg', x + 2)
Currently the following flavours of xseev are implemented:
Depending on ANTLR's abilities to generate source code, other implementations
in Ruby or Python might appear in future, but the author's focus is currently
on the two given implementations.
Latest version
You can find the latest version of xseev on the
"Files" SourceForge page of this project.
The current version is 1.0.1 (Nseev only)
License
xseev is provided under the GNU Lesser General Public License.
If you have any questions about this, feel free to leave a comment in the project forums.
If you have any questions about this, feel free to leave a comment in the project forums.
A short version history
- 1.0.1 [Nseev only] Added support for variable names with dots (January 2012)
- 1.0.0 the initial version (June 2011)
Future plans
- provide more sample code
- provide additional custom functions
- bug fixes
- small refactorings to improve the source code
Some additional notes
I want to thank all my colleagues and friends who supported my with this project.
Special thanks go out to Scott Stanchfield for
his great video tutorials
about ANTLR.
If you have any comments, suggestions or ideas, please leave a note in the
project forums.