I use Groovy as a scripting language, to help me do quick and dirty processing. I often need to reference its syntax. So here’s my personal cheat sheet. Basic Prints text to the console. For complex GString expressions, use ${expression}. value = 6 println "The value is $value." Loops Loop a range (both inclusive). for ( i in 1..10 ) { println i } Loop a range (upper exclusive). for ( i in 0..<10