felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4671) Provide an expression parser
Date Mon, 26 Jan 2015 10:52:35 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guillaume Nodet resolved FELIX-4671.
    Resolution: Fixed
      Assignee: Guillaume Nodet  (was: J.W. Janssen)

I just pushed a new syntax which should be compatible with the previous one.
It now uses %(xxx) to evaluate expressions.  Let me know if it causes you any problems.

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	A	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expression.java
	A	gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/TestParser3.java
	A	gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/expr/ExpressionTest.java
	M	gogo/runtime/NOTICE
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandProcessorImpl.java
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Parser.java
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Tokenizer.java
	M	gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/Context.java
Committed r1654761

> Provide an expression parser
> ----------------------------
>                 Key: FELIX-4671
>                 URL: https://issues.apache.org/jira/browse/FELIX-4671
>             Project: Felix
>          Issue Type: New Feature
>          Components: Gogo Runtime
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: gogo.runtime-0.14.0
> Gogo provides no way to do arithmetic operations or to provide boolean operators.
> This makes writing scripted loops or conditions extremely difficult.

This message was sent by Atlassian JIRA

View raw message