One of my pet projects at the moment is LCD (Lowest Common Denominator) Game Code a cross language Translator. http://thegamedeveloper.co.za/?cat=1

Surprisingly there is very little information on Langauge-to-Language translators out there.

Basically a Language-To-Language translator has to first compile to an intermediate code level and then from that into the final language. To achieve this a certtain amount of interpretation of the language is needed. Obviously making the translator understand the full language is a lot harder than making it understand a significant subset.

(LCD will predefine the sub set, and use customized libraries in the final languages to achieve multiple language/maultiple platform compatability)