I was wondering whether (and how) one would/should implement a "GroovyPresentationScriptProcessor" so one would use groovy instead of JavaScript or both (choosing the interpreter dependent on the extension of the script).
I guess I could implement that myself, but I'd like to avoid reinventing the wheel.
You are right - accessing ScriptNode wrapper may be different from accessing node properties and content directly so doing both it the same time is not recommended.
I was thinking to create some thin method wrapper on the NodeRef class using groovy MetaClass and stop using ScriptNode.