Program source codes conversion system


  • I. Sokol
  • O. Volkovskyi


code conversion, compiler, lexical analyzer, tokens, parser, abstract syntax tree, full parse tree, semantic analysis, finite automata


The growing volume of technologies, the end of actively used development tools support, outdated API etc., entails the need of program codes conversion. In IT companies and not only, often begged the question of deprecated software support, which customers continue to use, or translation of current software to actual technologies. It is more rational for programmers to use the conversion and save most of code base, than rewriting all software by hand, even if manual adjustment is needed. At this moment, there are few high-quality code conversion systems. Largely, conversion systems work well only with similar programming languages. The task of program codes conversion is a deep and complex topic. Programmers are trying to improve translation technologies and facing with many challenges. This article discusses the basic principles of building a system for program codes conversion and some features of its practical implementation.


Volkovskyi O. S., Kovylin Y. R. Mathematical model for automatic creation the semantic thesaurus for the scientific text. System technologies. Regional interuni-versity compendium of scientific works. 2019. Vol.6, No. 125. P. 82–88.

Volkovskyi O. S., Kovylin Y. R. Matematical model for constructing the semantic network of a scientific text. Modern engineering and innovative technologies. // In-ternational periodic scientific journal, Karlsruhe, Germany. – 2020. – Issue №11, Part №2. – P. 128–133.

Moldovanova O. V. Programming languages and translation methods: Study guide. – Novosibirsk/SibSUTIS, 2012. – 134p.

Transcompiled languages: code-to-code conversion projects [Electronic resource] – Resource access mode:

The Most Accurate and Reliable Source Code Converters [Electronic resource] – Resource access mode:

Lexical analyzer in JavaScript [Electronic resource] – Resource access mode

C language alphabet. Lexemes [Electronic resource] – Resource access mode:

Programming languages theory and translation methods [Electronic resource] – Resource access mode:

GWT — Quick guide [Electronic resource] – Resource access mode:

Get started with Kotlin | IntelliJ IDEA - JetBrains [Electronic resource] – Re-source access mode:

Awesome Transpilers by target language [Electronic resource] – Resource access mode:

Abstract syntax tree [Electronic resource] – Resource access mode: