Abstract:
Translation between high-level programming languages might be the last resort to preserve software written in languages that are no longer widely used. Although the trans...Show MoreMetadata
Abstract:
Translation between high-level programming languages might be the last resort to preserve software written in languages that are no longer widely used. Although the translation process has many similarities with the compilation process, it becomes much more complex when it must produce maintainable code. In this case, besides preserving the semantics of the original software, the translator must also generate a program that obeys the pragmatics of the target language and that should be as similar as possible to an equivalent human-written program in that language. In this paper, we present Linj, a translator between common Lisp and Java that generates human-readable Java code that can be further maintained by Java programmers. The translator explores extensive knowledge of the syntax, semantics and pragmatics of both common Lisp and Java, is extensible and has been successfully used in several industry projects
Date of Conference: 21-23 March 2007
Date Added to IEEE Xplore: 02 April 2007
Print ISBN:0-7695-2802-3
Print ISSN: 1534-5351