I just downloaded Groovy and I'm having a terrific time with it. Right now, I'm doing some simple calculations just to teach myself the tool. I'm curious if anyone can offer some help on the output of Groovy. Specifically, when dealing with an equation it looks like some very odd notation that goes -- operator (operand1 operand2). First, is that correct? Second, anyone write anything to change this to the more familiar form of (operand1 operator operand2)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would say that the reason is because you
want to represent this as a part of a s-expression
(as part of a binary tree). This is how Koza I believe would represent an expression.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just downloaded Groovy and I'm having a terrific time with it. Right now, I'm doing some simple calculations just to teach myself the tool. I'm curious if anyone can offer some help on the output of Groovy. Specifically, when dealing with an equation it looks like some very odd notation that goes -- operator (operand1 operand2). First, is that correct? Second, anyone write anything to change this to the more familiar form of (operand1 operator operand2)?
I would say that the reason is because you
want to represent this as a part of a s-expression
(as part of a binary tree). This is how Koza I believe would represent an expression.