Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7D69C70A for ; Wed, 11 Jul 2012 16:00:56 +0000 (UTC) Received: (qmail 3733 invoked by uid 500); 11 Jul 2012 16:00:56 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 3637 invoked by uid 500); 11 Jul 2012 16:00:56 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 3629 invoked by uid 99); 11 Jul 2012 16:00:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 16:00:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ted.dunning@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-ob0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 16:00:51 +0000 Received: by obqv19 with SMTP id v19so2886150obq.30 for ; Wed, 11 Jul 2012 09:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=c3C/Fx6TKPT8/L7UfzloOdu9kMRfnU8QSoUNS5a3vR0=; b=BV5jNoEmS3DcKlXjqX+wUGYl4xRpMETbnzq7Lx+8kj2pAmcpeQF1xDczPag4Eyfvn1 uN0hSdvm+LHJ7c22z55inE2dbaglEayRlgtUZJZs/jppNImKUeEuTlnwKinka/rzOSCc U19g13Bfewg9o0fuYc9NA7fTrhQDXRJRE71m+esYLe3srqayMRj1hbyseipe4LoyVnyl sgt8OWR9SdMFqZt+vepjmGIIaHc4P6XWQIDEsQZCIS84tHxUrD/GJzev/zmNbB1yc9QW d8LNZA8qPePk0GbNM0luoWleHVpJKhNLM+GgfRWXdVH8kH57Rkd8xTsrjhpSkeogxQkY O5mg== Received: by 10.60.20.233 with SMTP id q9mr42717oee.57.1342022430684; Wed, 11 Jul 2012 09:00:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.152.103 with HTTP; Wed, 11 Jul 2012 09:00:00 -0700 (PDT) In-Reply-To: <20120711125152.GG20488@dusk.harfang.homelinux.org> References: <20120711125152.GG20488@dusk.harfang.homelinux.org> From: Ted Dunning Date: Wed, 11 Jul 2012 09:00:00 -0700 Message-ID: Subject: Re: [math] Expression evaluator To: Commons Developers List Content-Type: multipart/alternative; boundary=e89a8ff1c75a42f5b604c48ff2c5 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c75a42f5b604c48ff2c5 Content-Type: text/plain; charset=UTF-8 Also, why is this better than, say, simply binding commons math into jruby? On Wed, Jul 11, 2012 at 5:51 AM, Gilles Sadowski < gilles@harfang.homelinux.org> wrote: > 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 functionality into commons-math > for some reasons: > > > > - Writing a new library only for this function isn't very > gainful; > > > > - Evaluating an expression is a common math operation; > > > > N.B: Implementation will use interpreter, builder and factory design > patterns. > > > > 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --e89a8ff1c75a42f5b604c48ff2c5--