Source-to-Source Translation and Software EngineeringReportar como inadecuado




Source-to-Source Translation and Software Engineering - Descarga este documento en PDF. Documentación en PDF para descargar gratis. Disponible también para leer online.

Source-to-sourcetranslation of programs from one high level language to another has been shownto be an effective aid to programming in many cases. By the use of thisapproach, it is sometimes possible to produce software more cheaply andreliably. However, the full potential of this technique has not yet beenrealized. It is proposed to make source-to-sourcetranslation more effective by the use of abstract languages, which areimperative languages with a simple syntax and semantics that facilitate theirtranslation into many different languages. By the use of such abstract languages and by translating only often-used fragments ofprograms rather than whole programs, the need to avoid writing the same programor algorithm over and over again in different languages can be reduced. It isfurther proposed that programmers be encouraged to write often-used algorithmsand program fragments in such abstract languages. Libraries of such abstractprograms and program fragments can then be constructed, and programmers can beencouraged to make use of such libraries by translating their abstract programsinto application languages and adding code to join things together when codingin various application languages. This approach can also improve programreliability, because it is only necessary toverify the abstract programs once instead of verifying them separately in eachapplication language. Also, this approach makes it possible to generate codefaster than programming from scratch each time. This approach is compared tothe use of libraries and to other methods in current use for communicationbetween programming languages and translationbetween languages.

KEYWORDS

Source-to-Source Translation; Libraries; Legacy Code

Cite this paper

D. Plaisted -Source-to-Source Translation and Software Engineering,- Journal of Software Engineering and Applications, Vol. 6 No. 4A, 2013, pp. 30-40. doi: 10.4236-jsea.2013.64A005.





Autor: David A. Plaisted

Fuente: http://www.scirp.org/



DESCARGAR PDF




Documentos relacionados