Java and Groovy can do it. Why not C# and PowerShell.
David Bergman presented Groovy: Java++ by being Java– at Lab49 which inspired me to record this 7min video doing the same with C# and PowerShell.
Best viewed in IE.
Press Ctrl-Shift-G if you want to speed up the presentation.