Re: [math] Expression evaluator

2012-08-17 Thread Ted Dunning
Why not just use the scripting language support that is built into Java? For instance, you can use Rhino to evaluate javascript expressions in a controlled environment. Other options include jython, groovy, beanshell, jruby, BSF, and many, many others. http://java-source.net/open-source/scriptin

Re: [math] Expression evaluator

2012-08-17 Thread Guillaume CHAUVET
> Hi > [...] > Could you provide a few small examples of what the usage would look like? > Also, some use-cases in "real" applications would be welcome in order to > figure out whether this functionality would fit in Commons Math. > Thanks, > Gilles Hello, I apologize for not having replied earlie

Re: [math] Expression evaluator

2012-07-11 Thread Ted Dunning
Also, why is this better than, say, simply binding commons math into jruby? On Wed, Jul 11, 2012 at 5:51 AM, Gilles Sadowski < gil...@harfang.homelinux.org> wrote: > Hi. > > > > > I would like to submit you a new feature: an expression evaluator > (MATH-809, ignore my patch). This interpreter wil

Re: [math] Expression evaluator

2012-07-11 Thread Gilles Sadowski
Hi. > > I would like to submit you a new feature: an expression evaluator (MATH-809, > ignore my patch). This interpreter will evaluate an expression (including > variable, function) but will don't provide parser (to keep I/O independency). > > I think it would be useful to put this functional

[math] Expression evaluator

2012-07-10 Thread Guillaume CHAUVET
Hello, I would like to submit you a new feature: an expression evaluator (MATH-809, ignore my patch). This interpreter will evaluate an expression (including variable, function) but will don't provide parser (to keep I/O independency). I think it would be useful to put this functionality into c