What if we look at this as a special kind of method call: in-fix method calls?

Maarten


On October 30, 2016 2:08:07 PM "Daniel.Sun" <realblue...@hotmail.com> wrote:

Hi Paolo,

     There are some limitations when we use antlr to define grammar, so the
backticks are used to distinguish with other operators.

     I saw an answer from Jochen(shown as follow), so I tryied to add this
experimental feature

     "We always wanted the ability to define an operator through the user in
Groovy, but so far we haven't gotten around the problems that come along
with that."
http://stackoverflow.com/questions/6485861/is-it-possible-to-define-a-new-operator-in-groovy/10848093#10848093

       BTW, this is a experimental feature and some traps may exist as
Cédric said, so I'm not sure it will be added to Groovy 3 ;-)


Cheers,
Daniel.Sun



--
View this message in context: http://groovy.329449.n5.nabble.com/Custom-operator-for-Groovy-3-tp5736388p5736396.html
Sent from the Groovy Dev mailing list archive at Nabble.com.


Reply via email to