I want to know if there is any way to convert a String to Java compilable code.
String
I have a comparative expression saved in a database field. I want to re
Use Groovy!
Binding binding = new Binding(); GroovyShell shell = new GroovyShell(binding); Object value = shell.evaluate("for (x=0; x<5; x++){println "Hello"}; return x");