<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">trudyniisi</journal-id><journal-title-group><journal-title xml:lang="ru">Труды НИИСИ</journal-title><trans-title-group xml:lang="en"><trans-title>SRISA Proceedings</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">2225-7349</issn><issn pub-type="epub">3033-6422</issn><publisher><publisher-name>НИЦ «КУРЧАТОВСКИЙ ИНСТИТУТ» - НИИСИ</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.25682/NIISI.2025.3.0006</article-id><article-id custom-type="elpub" pub-id-type="custom">trudyniisi-119</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>МАТЕМАТИЧЕСКОЕ И ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ВЫЧИСЛИТЕЛЬНЫХ СИСТЕМ, КОМПЛЕКСОВ И КОМПЬЮТЕРНЫХ СЕТЕЙ</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>MATHEMATICAL AND SOFTWARE SUPPORT FOR COMPUTING SYSTEMS, COMPLEXES AND COMPUTER NETWORKS</subject></subj-group></article-categories><title-group><article-title>Подходы к переводу и компиляции в многоязыковой системе</article-title><trans-title-group xml:lang="en"><trans-title>Approaches to Translation and Compilation in a Multilingual System</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Ковыршина</surname><given-names>В. А.</given-names></name><name name-style="western" xml:lang="en"><surname>Кovyrshina</surname><given-names>V. A.</given-names></name></name-alternatives><email xlink:type="simple">potchtovy_jashik@mail.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Леонов</surname><given-names>А. Г.</given-names></name><name name-style="western" xml:lang="en"><surname>Leonov</surname><given-names>A. G.</given-names></name></name-alternatives><email xlink:type="simple">dr.l@vip.niisi.ru</email><xref ref-type="aff" rid="aff-2"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Райко</surname><given-names>М. В.</given-names></name><name name-style="western" xml:lang="en"><surname>Rayko</surname><given-names>M. V.</given-names></name></name-alternatives><email xlink:type="simple">rayko@niisi.ru</email><xref ref-type="aff" rid="aff-3"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru">НИЦ «Курчатовский институт» - НИИСИ, Москва<country>Россия</country></aff></aff-alternatives><aff-alternatives id="aff-2"><aff xml:lang="ru">НИЦ «Курчатовский институт» - НИИСИ, МПГУ, МГУ, Москва<country>Россия</country></aff></aff-alternatives><aff-alternatives id="aff-3"><aff xml:lang="ru">НИЦ «Курчатовский институт» - НИИСИ, МПГУ, Москва<country>Россия</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2025</year></pub-date><pub-date pub-type="epub"><day>28</day><month>12</month><year>2025</year></pub-date><volume>15</volume><issue>3</issue><issue-title>ТРУДЫ НИИСИ. МАТЕМАТИЧЕСКОЕ И КОМПЬЮТЕРНОЕ МОДЕЛИРОВАНИЕ СЛОЖНЫХ СИСТЕМ: ТЕОРЕТИЧЕСКИЕ И ПРИКЛАДНЫЕ АСПЕКТЫ</issue-title><fpage>42</fpage><lpage>50</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Ковыршина В.А., Леонов А.Г., Райко М.В., 2025</copyright-statement><copyright-year>2025</copyright-year><copyright-holder xml:lang="ru">Ковыршина В.А., Леонов А.Г., Райко М.В.</copyright-holder><copyright-holder xml:lang="en">Кovyrshina V.A., Leonov A.G., Rayko M.V.</copyright-holder><license license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.t-niisi.ru/jour/article/view/119">https://www.t-niisi.ru/jour/article/view/119</self-uri><abstract><p>Цифровая трансформация образования актуализирует задачу снижения порога входа в программирование для самой юной аудитории. В качестве решения предлагается использование блочных сред, таких как «ПиктоМир-К», которые позволяют концентрироваться на алгоритмической составляющей, минуя сложности профессиональных инструментов. В статье детально описывается ядро многоязыковой учебной среды программирования, построенное на разделении универсального синтаксического дерева SyntaxTree), хранящего семантику программы, и визуального дерева (VisualTree), ответственного за отрисовку представлений программы на различных языках программирования. Такой подход реализует функции многоязыковости, позволяя мгновенно переключать представление кода между различными синтаксисами (КуМир, Python, C++). Кроме того, синтаксическое дерево используется для компиляции программы в набор инструкций для виртуальной стековой машины. Показано, что предложенная архитектура является гибкой и расширяемой, открывая возможности для поддержки новых языков и трансляции в различные исполняемые форматы.</p></abstract><trans-abstract xml:lang="en"><p>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.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>компиляторы</kwd><kwd>стековая машина</kwd><kwd>синтаксическое дерево</kwd></kwd-group><kwd-group xml:lang="en"><kwd>compilers</kwd><kwd>stack machine</kwd><kwd>syntax tree</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Стартовая страница проекта «ПиктоМир - К» на сайте НИЦ «Курчатовский институт» - НИИСИ . URL: https://www.niisi.ru/piktomir/ (дата обращения 01.10.2025)</mixed-citation><mixed-citation xml:lang="en">Стартовая страница проекта «ПиктоМир - К» на сайте НИЦ «Курчатовский институт» - НИИСИ . URL: https://www.niisi.ru/piktomir/ (дата обращения 01.10.2025)</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Бесшапошников Н.О., Леонов А.Г. Пиктограммный язык программирования «Пикто» // Вестник кибернетики. 2017. № 4 (28). С. 173–180</mixed-citation><mixed-citation xml:lang="en">Бесшапошников Н.О., Леонов А.Г. Пиктограммный язык программирования «Пикто» // Вестник кибернетики. 2017. № 4 (28). С. 173–180</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Райко М.В. Построение компилятора-интерпретатора для гибридной текстово-пиктограммной цифровой образовательной среды ПиктоМир-К / М.В. Райко, Д.Б. Аглямутдинова, А.Г. Леонов // Труды НИИСИ РАН. — 2020. — Т. 10, № 5-6. — С. 148–160</mixed-citation><mixed-citation xml:lang="en">Райко М.В. Построение компилятора-интерпретатора для гибридной текстово-пиктограммной цифровой образовательной среды ПиктоМир-К / М.В. Райко, Д.Б. Аглямутдинова, А.Г. Леонов // Труды НИИСИ РАН. — 2020. — Т. 10, № 5-6. — С. 148–160</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">ISO/IEC 22275:2018. Information technology — Programming languages, their environments, and system software interfaces — ECMAScript Specification Suite.</mixed-citation><mixed-citation xml:lang="en">ISO/IEC 22275:2018. Information technology — Programming languages, their environments, and system software interfaces — ECMAScript Specification Suite.</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
