Automatically generating program translators from source and target language specifications is a non-trivial problem. In this paper we focus on the problem of automating the process of building translators between operations languages, a family of DSLs used to program satellite operations procedures. We exploit their similarities to semi-automatically build transformation tools between these DSLs. The input to our method is a collection of annotated context-free grammars. To simplify the overall translation process even more, we also propose an intermediate representation common to all operations languages. Finally, we discuss how to enrich our annotated grammars model with more advanced semantic annotations to provide a verification system for the translation process. We validate our approach by semi-automatically deriving translators between some real world operations languages, using the prototype tool which we implemented for that purpose.
North-Holland
Science of Computer Programming
Software Analysis and Transformation

Ordonez Camacho, D., Mens, K., van den Brand, M., & Vinju, J. (2010). Automated generation of program translation and verification tools using annotated grammars. Science of Computer Programming, 72(1), 3–20.