On Fri, April 10, 2009 11:21 am, Ralph Jocham wrote:
>
> Hi,
> I am looking for a basic grammar which supports +,-,/,* and variables.
>
> Assuming a=5, b=10
>
> a+(3*b)/2 results in 20
>
> I checked out the grammar site but could not find anything useful.
>
> Thanks,
> Ralph
If I recall correctly, there's a basic arithmetic "calculator" grammar
that comes shipped with javacc in the examples section.
DR
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...