Peut-être du côté de Groovy, sinon beanshell: http://www.beanshell.org/

;)