[antlr-interest] I need help
yavuztunc2085 at yahoo.com
Mon Aug 8 05:37:02 PDT 2005
Actually you are right since my question was a bit silly, but in order to make validation
by creating a grammer, I need these two functions. I looked at the examples given in antlr.
But I did not understand the parts about the function implementation.
I tried to add some functionality to the "calc" example in order to make a function that takes an expression and an integer value as parameters and returns the addition of these two parameters
Prashant Deva <prashant.deva at gmail.com> wrote:And exactly how is this related to antlr???
On 8/8/05, Yavuz TUNÇ wrote:
> I need two functions. One that gets two parameters, an integer and a
> boolean. If the boolean is true the function returns three times the integer
> parameter, else it returns half of the integer value. Another one is such
> that it takes two arguments, the previous function and an integer value as
> parameters successively and returns the sum of the parameters.
> I would be grateful if someone can help
> Start your day with Yahoo! - make it your home page
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest