Menu

Output...

2003-06-10
2003-06-10
  • Christopher Baird

    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)?

     
    • Bruce Macdonald

      Bruce Macdonald - 2003-06-10

      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.

       

Log in to post a comment.