title: Equivalent of eval() in Groovy
body: <p>In python, I can use eval() to execute user entered code in my program.
  Is there anything similar I can do in Groovy? I want to have a SWING UI textbox where the user enters a piece of code that I want to execute?</p>
  
  <p>Thanks,
  Hari</p>