Groovy is groovy

A couple days ago I came across a new scripting language for the Java platform called Groovy. This language is pretty slick and is actually approximating what i was talking about in my post about baking XML into the language. It doesn't use XPath, but does have a language GPath that is based on the base syntax of the language and can be used to query any in memory data structure. The language does have some built in XML support and as part of the syntax enables a Groovy program to be treated as an alternative markup language. Very lisp like, but also very cool to see in a Java like language.

Since Groovy targets the Java platform it can use any java classes and provides nice builtins for lists, tuples and closures. Overall a very promising looking language. In a lot of ways it does the same thing as Jython, but the features like GPath and GroovyMarkup are pretty compelling.

Posted by Kimbro Staken

Tuesday Dec 2, 2003 at 1:35 PM
Recommended Sites