When I asked this same question a few months ago I was pointed to Camel Bones. It allows you to make Aqua programs in Perl! It seems pretty neat but I was never able to get anything to compile (others on this site have however). Good luck!
-Jonathan Gales
There are some interesting issues with CamelBones apps. You basically have to build them about three or four times in a row before things are properly compiled. Dunno why, but that's the way it works at the moment.