Approaches to Translation and Compilation in a Multilingual System
https://doi.org/10.25682/NIISI.2025.3.0006
Abstract
Digital transformation in education brings to the forefront the task of lowering the entry barrier into
programming for the youngest audience. As a solution, the use of block-based environments, such as "PiktoMir-K,"
is proposed. These environments allow users to focus on the algorithmic component, bypassing the complexities of
professional tools. The article details the system's core, which is built on the separation of a universal SyntaxTree,
storing the program's semantics, and a VisualTree, responsible for its rendering. This approach implements
a multilingualism function, allowing for instant switching of the code representation between different syntaxes
(KuMir, Python, C++). Furthermore, the syntax tree is used to compile the program into a set of instructions for a
virtual stack machine. It is shown that the proposed architecture is flexible and extensible, opening up possibilities for
supporting new languages and translation into various executable formats.
About the Authors
V. A. КovyrshinaRussian Federation
A. G. Leonov
Russian Federation
M. V. Rayko
Russian Federation
References
1. Стартовая страница проекта «ПиктоМир - К» на сайте НИЦ «Курчатовский институт» -
2. НИИСИ . URL: https://www.niisi.ru/piktomir/ (дата обращения 01.10.2025)
3. Бесшапошников Н.О., Леонов А.Г. Пиктограммный язык программирования «Пикто» //
4. Вестник кибернетики. 2017. № 4 (28). С. 173–180
5. Райко М.В. Построение компилятора-интерпретатора для гибридной текстовопиктограммной цифровой образовательной среды ПиктоМир-К / М.В. Райко,
6. Д.Б. Аглямутдинова, А.Г. Леонов // Труды НИИСИ РАН. — 2020. — Т. 10, № 5-6. — С. 148–
7.
8. ISO/IEC 22275:2018. Information technology — Programming languages, their environments, and
9. system software interfaces — ECMAScript Specification Suite.
Review
For citations:
Кovyrshina V.A., Leonov A.G., Rayko M.V. Approaches to Translation and Compilation in a Multilingual System. SRISA Proceedings. 2025;15(3):42-50. (In Russ.) https://doi.org/10.25682/NIISI.2025.3.0006