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

ASF GitHub Bot commented on METRON-1090:
----------------------------------------

Github user cestella commented on the issue:

    https://github.com/apache/metron/pull/687
  
    hah, well @nickwallen, laziness is often a good trait in a developer.  
Honestly, I am ok with *not* migrating here in favor of more intuitive 
approaches.  I chose `:=` because I needed the functionality and worried about 
making the language more complex (there's something different about a language 
that has assignments versus an expression language.  I wanted to keep it an 
expression language at the time.), so I was forced to choose a character 
sequence that didn't exist as a lexable token.  Now, honestly, we're already 
halfway down that road, so probably the right thing to do *is* deprecate it and 
rip the bandaid fast.  I honestly could be convinced either way. 


> STELLAR Add Assignment capability to Stellar language
> -----------------------------------------------------
>
>                 Key: METRON-1090
>                 URL: https://issues.apache.org/jira/browse/METRON-1090
>             Project: Metron
>          Issue Type: New Feature
>            Reporter: Otto Fowler
>            Assignee: Otto Fowler
>            Priority: Major
>
> Add support for =, +=, -=, *=, /= for variables in stellar.
> foo = 5  returns 5 AND sets foo to 5 if the VariableResolver supports it.
> The shell should be changed to assign variables using this syntax, because 
> exposing the left side to stellar allows catching errors for invalid keywords 
> in left side.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to