Abstract
This paper proposes the idea of source-to-source conversion between two heterogeneous high-level programming languages. The conversion is based on formal definition and oriented to multi-pairs of languages. The issues in conversion from PASCAL to C are also discussed.
Similar content being viewed by others
References
P. F. Albrechtet al., Source-to-source translation: Ada to Pascal and Pascal to Ada.ACM SIGPLAN Notices,15:12(1980), 183–193.
J. G. Slape and P. J. L. Wallis, Conversion of Fortran to Ada using an intermediate tree representation.The Computer Journal,26:4 (1983), 344–353.
Zheng Goulianget al., The Automatic Conversion Tool From Pascal To Modula-2. Collectanea for computer software tools, technique and environment, 1985.
Zhou Changle, A translating tool of PASCAL into C: The PTOC software.Computer Research and Development,24:3 (1987).
Zhang Xing’er, The canonical abstract syntax and direct generation of abstract syntax tree.Chinese J. Computers,13: 12 (1990).
Zhang Xing’eret al., Implementation of the abnormal exit from procedure.Microelectronics and Computer,7: 6 (1990), 7–10.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Zhang, X., Zhu, X., Li, J. et al. Source-to-source conversion based on formal definition. J. of Comput. Sci. & Technol. 6, 178–184 (1991). https://doi.org/10.1007/BF02945369
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02945369