felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clement Escoffier <clement.escoff...@gmail.com>
Subject Re: [DISCUSS] Release gogo runtime 0.14.0
Date Fri, 17 Oct 2014 12:02:48 GMT
+1,

Regards,

Clement

On 17 octobre 2014 at 13:26:40, Jamie G. (jamie.goodyear@gmail.com) wrote:

+1  

On Thu, Oct 16, 2014 at 4:40 AM, David Bosschaert  
<david.bosschaert@gmail.com> wrote:  
> +1 I like it!  
>  
> David  
>  
> On 15 October 2014 18:19, Achim Nierbeck <bcanhome@googlemail.com> wrote:  
>> +1 (non binding)  
>>  
>> Regards, Achim  
>>  
>> sent from mobile device  
>> Am 15.10.2014 18:57 schrieb "Jean-Baptiste Onofré" <jb@nanthrax.net>:  
>>  
>>> +1 for me (non binding)  
>>>  
>>> Regards  
>>> JB  
>>>  
>>>  
>>> -------- Original message --------  
>>> From: Guillaume Nodet <gnodet@apache.org>  
>>> 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 defined  
>>> 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 which 

>>> 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/051a3ee00b2df87ba787056e5423bdea9f95b17d/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/expr/ExpressionTest.java
 
>>>  
>>> Coupled with a while loop command taking 2 closures as arguments, one could 

>>> now execute the following:  
>>>  
>>> karaf@root()> a = 0 ; while { ((a < 10)) } { echo $a ; ((a += 1)) }  
>>>  
>>>  
>>> Note that I haven't provided support for ++ and -- operators, but that  
>>> could be added later. The += and -= operators can be used as a workaround.  
>>>  
>>> Please have a look and try it, I'd like to release it asap.  
>>>  
>>> Cheers,  
>>> Guillaume Nodet  
>>>  

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message