Re: [lang] math expression parser

2011-01-09 Thread Henri Yandell
Or kick it off at apache-extras.org :) On Thu, Jan 6, 2011 at 12:17 AM, Paul Libbrecht wrote: > Frank, > > why not propose this as another project? > It requires more maintenance, that is true. > Sandbox is designed for that, including to evaluate if there are user bases. > > I tend to feel your

Re: [lang] math expression parser

2011-01-06 Thread Paul Libbrecht
Frank, why not propose this as another project? It requires more maintenance, that is true. Sandbox is designed for that, including to evaluate if there are user bases. I tend to feel your contribution is not useless. A readable syntax instead of java syntax for formulæ that are rather longer t

Re: [lang] math expression parser

2011-01-05 Thread Gary Gregory
On Jan 5, 2011, at 18:05, "Stephen Colebourne" wrote: > I would recommend against this for [lang]. > > [lang] is a low-level project intended to have no framework or > "religious" aspects, just simple relatively non-controversial elements > that assist the basic Java packages. A maths parser, ho

Re: [lang] math expression parser

2011-01-05 Thread Stephen Colebourne
I would recommend against this for [lang]. [lang] is a low-level project intended to have no framework or "religious" aspects, just simple relatively non-controversial elements that assist the basic Java packages. A maths parser, however useful, isn't that closely related IMO. Stephen On 5 Janu

Re: [lang] math expression parser

2011-01-05 Thread Ted Dunning
These things tend to be a slippery slope. Turing completeness is at the bottom of that hill. On Wed, Jan 5, 2011 at 12:18 PM, frank asseg wrote: > Hola Ted, > > On 05.01.2011 21:02, Ted Dunning wrote: > > Or bsh or jruby or rhino or groovy? > sorry, i did not make myself clear but i was talking

RE: [lang] math expression parser

2011-01-05 Thread Gary Gregory
05, 2011 16:12 > To: Commons Developers List > Subject: Re: [lang] math expression parser > > Hola Gary! > > On 05.01.2011 22:04, Gary Gregory wrote: > > Why should this be in [lang] instead of [math]? > I actually thought about posting on [math] but when i browsed the ma

Re: [lang] math expression parser

2011-01-05 Thread frank asseg
Hola Gary! On 05.01.2011 22:04, Gary Gregory wrote: > Why should this be in [lang] instead of [math]? I actually thought about posting on [math] but when i browsed the math library i gained the impression that it's much more concerned with more complex mathematical issues like integration of numer

Re: [lang] math expression parser

2011-01-05 Thread frank asseg
Hola Paul, On 05.01.2011 21:49, Paul Libbrecht wrote: > I find the classname PostfixExpression pretty bizarre... should it be simply > MathExpressionParser ? heh, you got me there, the naming is pretty awkward and stems from the fact that an infix expression "2 + 2", where the operator stands bet

RE: [lang] math expression parser

2011-01-05 Thread Gary Gregory
: Paul Libbrecht [mailto:p...@hoplahup.net] > Sent: Wednesday, January 05, 2011 15:49 > To: Commons Developers List > Subject: Re: [lang] math expression parser > > Well... I never thought about such but maybe it's indeed useful. > Something short and tiny that is a lot more

Re: [lang] math expression parser

2011-01-05 Thread Paul Libbrecht
Well... I never thought about such but maybe it's indeed useful. Something short and tiny that is a lot more compact than the java syntax for math but would have about the same capabilities. I am not used to commit to lang so we'll have to wait for them to answer. I find the classname Post

Re: [lang] math expression parser

2011-01-05 Thread Jason Young
While we're at it, I also have a feature complete mathematical parser that evaluates sets of expressions, variables and functions all at once over an arbitrary domain. Go to http://zee.dev.java.net and see the code samples. What do you think? On Jan 5, 2011 3:18 PM, "frank asseg" wrote: > Hola Te

Re: [lang] math expression parser

2011-01-05 Thread frank asseg
Hola Ted, On 05.01.2011 21:02, Ted Dunning wrote: > Or bsh or jruby or rhino or groovy? sorry, i did not make myself clear but i was talking about a pure mathematical expresssion parser, intended for evaluating user input and the like, not a turing complete grammer but simply a way to evaluate thi

Re: [lang] math expression parser

2011-01-05 Thread frank asseg
Hola Paul, On 05.01.2011 20:51, Paul Libbrecht wrote: > I don't see why langs would have this, especially since it generally involves > variables, scopes, objects, etc. > Can you compare that to JEXL ? In comparison to JEXL i was looking for a possiblity to pass a simple math expression to an eva

Re: [lang] math expression parser

2011-01-05 Thread Ted Dunning
Or bsh or jruby or rhino or groovy? Why yet another? On Wed, Jan 5, 2011 at 11:51 AM, Paul Libbrecht wrote: > Frank, > > I don't see why langs would have this, especially since it generally > involves variables, scopes, objects, etc. > Can you compare that to JEXL ? > > paul > > > Le 5 janv. 20

Re: [lang] math expression parser

2011-01-05 Thread Paul Libbrecht
Frank, I don't see why langs would have this, especially since it generally involves variables, scopes, objects, etc. Can you compare that to JEXL ? paul Le 5 janv. 2011 à 20:49, frank asseg a écrit : > hola guys, > > i am currently working on a math expression parser, and wanted to ask if >