this is a bit off topic, but speaking about code generation, one very interesting feature of the Maple CAS is the ability to generate code from Maple Code to a variety of languages, C, C#, Fortran, Java, Javascript, VisualBasic.
it would be awesome to have such a tool to translate code from one language to another.