Issue No. 06 - June (1990 vol. 16)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.55092
<p>The transportable programming language (TPL) method is a high-level-language approach that uses a bifunctional compiler to efficiently convert code among various dialects of a particular high-level language (HLL) via the hypothetical parent of the high-level language (HPHLL). The TPL compiler system that has been implemented has three parts: a rule modifier, a table generator, and a TPL compiler. A metalanguage, called the conversion rule description language (CRDL), is used to describe the conversion of a dialect to HPHLL and of the HPHLL to another dialect. The table generator translates those descriptions to tabular forms that drive the bifunctional compiler. The TPL compiler can then be used to translate programs coded in a local dialect into HPHLL and vice versa. The rule modifier alters the descriptions of a default-a synthetic 'most common'-dialect. It greatly simplifies the task of writing the conversion descriptions for a new environment or dialect. The TPL method is now being extended so that it can be used to retarget a dialect of any HLL to a standard environment such as Ada. Details of the TPL compiler system are given.</p>
code conversion, program translation; transportable programming language; high-level-language; bifunctional compiler; hypothetical parent; rule modifier; table generator; metalanguage; conversion rule description language; tabular forms; high level languages; program compilers.
O. Jiang, P. de Maine, S. Jodis, K. Sullivan and S. Leong, "A Transportable Programming Language (TPL) System. II. The Bifunctional Compiler System," in IEEE Transactions on Software Engineering, vol. 16, no. , pp. 639-646, 1990.