commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <>
Subject Re: [JEXL] Syntax information
Date Mon, 04 Apr 2005 23:56:46 GMT
if, foreach and while are defined in the grammar, but not implemented in 1.0.

If you need that sort of expression language, something like Rhino
from Mozilla would be great.

On Apr 5, 2005 9:49 AM, <> wrote:
> Hi,
>   I've recently been using JEXL in an attempt to incorporate simple scripting and templating
into a solution (without going the full blown Velocity route) and I'm having all kinds of
difficulties figuring out what the syntax is for if, foreach and while statements. I've looked
through the documentation for an example of a valid IF statement (or a WHILE statement) and
I've simply been unable to locate one. The example documentation at
does not have anything useful to offer on that front: the example documentation is limited
to operator assignments with no examples of if/while/foreach constructs.
>   If anyone has more complete examples or can understand the JavaCC generated code well
enough to explain it to me, I'd be perfectly willing to compile them into a more complete
>   Thanks,
>   Femi.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message