Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 A8F7B17766 for ; Fri, 17 Oct 2014 11:26:39 +0000 (UTC) Received: (qmail 93832 invoked by uid 500); 17 Oct 2014 11:26:39 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 93759 invoked by uid 500); 17 Oct 2014 11:26:39 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 93747 invoked by uid 99); 17 Oct 2014 11:26:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 11:26:39 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jamie.goodyear@gmail.com designates 209.85.192.178 as permitted sender) Received: from [209.85.192.178] (HELO mail-pd0-f178.google.com) (209.85.192.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 11:26:35 +0000 Received: by mail-pd0-f178.google.com with SMTP id y10so651531pdj.9 for ; Fri, 17 Oct 2014 04:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=oKbLPMp091qyKoRxdScV4JapgtjwVMiVmRK+9+eDCUs=; b=L4TazFIcmf/J2VBFSKXRO21m8Amsohz40BYS/UbQtsIOLcbFnDVgFG/Bb11M+/xyL/ 3ZVgxZg17aU/VyVWdunRM2xNQryB3II+ed5paAeOefqt93P6/1e8WD2HiMyceHYfDRmN X/PPrLchSx5vC1cl42dDR97PISSDVEpDGt/Cla0Sw3776tXrTNfUnejSMJKxJCTMKiN8 AidA/oukw5X8l0HqD6+fNoJqbY9zt4vJd+BEOvH8XSfczcY9FyiJeIeRXz/iykvuIEzn sdwsS/WgP+/DelkB9idtx+U5YGXI6yHj0I7rfSgjUpG304+Qh9ttUiStUjRIH25fajhi 9/kA== MIME-Version: 1.0 X-Received: by 10.69.26.34 with SMTP id iv2mr2079840pbd.154.1413545174859; Fri, 17 Oct 2014 04:26:14 -0700 (PDT) Received: by 10.70.69.34 with HTTP; Fri, 17 Oct 2014 04:26:14 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 Oct 2014 08:56:14 -0230 Message-ID: Subject: Re: [DISCUSS] Release gogo runtime 0.14.0 From: "Jamie G." To: dev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org +1 On Thu, Oct 16, 2014 at 4:40 AM, David Bosschaert wrote: > +1 I like it! > > David > > On 15 October 2014 18:19, Achim Nierbeck wrote: >> +1 (non binding) >> >> Regards, Achim >> >> sent from mobile device >> Am 15.10.2014 18:57 schrieb "Jean-Baptiste Onofr=C3=A9" : >> >>> +1 for me (non binding) >>> >>> Regards >>> JB >>> >>> >>> -------- Original message -------- >>> From: Guillaume Nodet >>> Date:15/10/2014 18:44 (GMT+01:00) >>> To: dev@felix.apache.org >>> Cc: >>> Subject: [DISCUSS] Release gogo runtime 0.14.0 >>> >>> I'd like to release gogo runtime 0.14.0 >>> >>> ** Bug >>> * [FELIX-4637] - Gogo can't cope without several commands with defi= ned >>> service.ranking >>> >>> ** New Feature >>> * [FELIX-4671] - Provide an expression parser >>> >>> The first issue is when you end up with several functions with the same >>> scope/name registered at the same time. Gogo now tracks them properly = and >>> use service ranking to choose the one to execute. >>> >>> The second one provides an expression parser activate by (( xxx )) in w= hich >>> arithmetic operators, assignments, comparisons (numeric or string) can = be >>> done easily. >>> A few raw examples are provided in the test below: >>> >>> https://github.com/apache/felix/blob/051a3ee00b2df87ba787056e5423bdea9f= 95b17d/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/expr/Expres= sionTest.java >>> >>> Coupled with a while loop command taking 2 closures as arguments, one c= ould >>> now execute the following: >>> >>> karaf@root()> a =3D 0 ; while { ((a < 10)) } { echo $a ; ((a +=3D 1)) } >>> >>> >>> Note that I haven't provided support for ++ and -- operators, but that >>> could be added later. The +=3D and -=3D operators can be used as a wor= karound. >>> >>> Please have a look and try it, I'd like to release it asap. >>> >>> Cheers, >>> Guillaume Nodet >>>