JEXL – A simple expression evaluation engine
February 15, 2009 4 Comments
When I was developing a framework looking for a solution very similar to eval() function in JavaScript. Initially I thought of Velocity but somehow I wasn’t convinced with that approach. (Struts2 uses Velocity to externalize the HTML generation to make it customizable). Later I wrote my own parser to evaluate an expression that returns a Boolean value. Recently I found an open source which exactly meets my requirement. I don’t have to talk much about this open source you can find lot more information in their website. I thought it might be useful to others as well.
Reference: http://commons.apache.org/jexl/
your own parser? seems quite intersting, could you blog about it?
Writing simple or complex parsers – always fun. I never did.
Hey!
if you use scripengine library, Why do you need parser?
Mohan
If you are looking for a simple expression evaluation, I found one at http://expressionoasis.vedantatree.com/. It is simply for mathematical and object expressions, and easy to use. Like I created a calculator using it.
Instead search engines, marketers, and even your ISP see only
the VPN server. A green arrow indicates the services for RRS is enabled.
Restrictive firewalls block VPN connections, and if you have this, then the use of a SSL VPN protocol is needed.