[math] Refactored Precision

2015-12-14 Thread Ole Ersoy
Hi, Just a heads up for those of you interested or have nothing better to do at 2 am :). I refactored the Precision class into classes PrecisionAssert and RoundDouble. https://github.com/firefly-numbers/firefly-numbers I created a new github organization for the package, since it deals less

Re: [math] Refactored Precision

2015-12-14 Thread Thomas Neidhart
On Mon, Dec 14, 2015 at 9:17 AM, Ole Ersoy wrote: > Hi, > > Just a heads up for those of you interested or have nothing better to do > at 2 am :). I refactored the Precision class into classes PrecisionAssert > and RoundDouble. > > https://github.com/firefly-numbers/firefly-numbers > > I created

[configuration] - Maven Release

2015-12-14 Thread Nicolas SAVOINI
Hello, When will be the next Maven release for the commnon-configuration2 ? The last one is the Alpha1, without the size() method, which i need Thanks, Nicolas Savoini - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org

Re: [math] Refactored Precision

2015-12-14 Thread Ole Ersoy
Hi Thomas, On 12/14/2015 06:37 AM, Thomas Neidhart wrote: On Mon, Dec 14, 2015 at 9:17 AM, Ole Ersoy wrote: Hi, Just a heads up for those of you interested or have nothing better to do at 2 am :). I refactored the Precision class into classes PrecisionAssert and RoundDouble. https://github

[Proposal] simple expression language in commons-math

2015-12-14 Thread Himanshu
Hi, Recently I needed to embed support for simple math expressions in my project. Example grammar is... expr : ('-'|'!') expr | expr '^' expr | expr ('*'|'/'|'%') expr | expr ('+'|'-') expr | expr ('<'|'<='|'>'|'>='|'=='|'!=') expr | '(' expr ')' | ID | DOUBLE

Re: [Proposal] simple expression language in commons-math

2015-12-14 Thread Gary Gregory
This seems out of scope to me; especially since Java has built-in support for JavaScript and any and all languages that support the Java scripting API. Gary On Mon, Dec 14, 2015 at 8:48 PM, Himanshu wrote: > Hi, > > Recently I needed to embed support for simple math expressions in my > project.

Re: [Proposal] simple expression language in commons-math

2015-12-14 Thread Himanshu
Hi, Thanks for replying. However, The problem with JavaScript is that it exposes much more than I want it to. Users can't be allowed to pass arbitrary scripts and have server execute it, due to potential security issues. -- Himanshu > This seems out of scope to me; especially since Java has bu

Re: [Proposal] simple expression language in commons-math

2015-12-14 Thread Gary Gregory
Then perhaps you can implement your scripting language through the Java Scripting API [1]? Users can choose which scripting language they want, or an application (like yours) can hard-wire access to a single engine. This seems like an orthogonal concern to [math] though Gary [1] https://docs.or