[jira] [Commented] (JEXL-360) Add missing bitwise operators ( >>, >>>, etc)

2022-02-15 Thread Henri Biestro (Jira)


[ 
https://issues.apache.org/jira/browse/JEXL-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492677#comment-17492677
 ] 

Henri Biestro commented on JEXL-360:


Vision is that we should probably target including all Java/C operators; a 
refactor to reduce the boiler-plate code in the AST nodes is probably needed at 
some point.
Let's try and move forward with this first. Created a branch 
[JEXL-360|https://github.com/apache/commons-jexl/tree/JEXL-360] so we can 
create/review PRs.

> Add missing bitwise operators ( >>, >>>, etc)
> -
>
> Key: JEXL-360
> URL: https://issues.apache.org/jira/browse/JEXL-360
> Project: Commons JEXL
>  Issue Type: Improvement
>Affects Versions: 3.2.1
>Reporter: Ian Hawkins
>Priority: Minor
>  Labels: newbie
>
> Hi!
> Jexl appears to be missing the >>  <<  >>>  <<< bit shift operators - it 
> would be really useful to have them so we can do things like (b >> 
> bitnumber), etc.
> Thanks!
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (JEXL-360) Add missing bitwise operators ( >>, >>>, etc)

2022-02-14 Thread Dmitri Blinov (Jira)


[ 
https://issues.apache.org/jira/browse/JEXL-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492400#comment-17492400
 ] 

Dmitri Blinov commented on JEXL-360:


This is what, among many other things, that I have added in the experimental 
fork ([See 
https://github.com/dmitri-blinov/commons-jexl|https://github.com/dmitri-blinov/commons-jexl]),
 you can look at it and tell what you think. I could prepare PR for this if 
Henry would be so kind to accept it. Henry, what is your current vision about 
further language extensions (new operators / refactoring) ?

> Add missing bitwise operators ( >>, >>>, etc)
> -
>
> Key: JEXL-360
> URL: https://issues.apache.org/jira/browse/JEXL-360
> Project: Commons JEXL
>  Issue Type: Improvement
>Affects Versions: 3.2.1
>Reporter: Ian Hawkins
>Priority: Minor
>  Labels: newbie
>
> Hi!
> Jexl appears to be missing the >>  <<  >>>  <<< bit shift operators - it 
> would be really useful to have them so we can do things like (b >> 
> bitnumber), etc.
> Thanks!
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)