Programming languages
Reference:
Nuriev M.G., Belashova E.S., Barabash K.A.
Markdown File Converter to LaTeX Document
// Software systems and computational methods.
2023. № 1.
P. 1-12.
DOI: 10.7256/2454-0714.2023.1.39547 EDN: SNAYLQ URL: https://en.nbpublish.com/library_read_article.php?id=39547
Abstract:
Common text editors such as Microsoft Word, Notepad++ and others are cumbersome. Despite their enormous functionality, they do not eliminate the risk of incorrectly converting the document, for example, when opening the same Word files on older or, conversely, newer versions of Microsoft Word. The way out is the use of markup languages, which allow you to mark up text blocks in order to present them in the desired style. Currently, very popular are LaTeX (a set of macro-extensions of the TeX typesetting system) and Markdown (a lightweight markup language, designed to denote formatting in plain text). So the question of converting a Markdown document into a LaTeX document is relevant. There are various tools to convert Markdown files to LaTeX document, such as Pandoc library, Markdown.lua, Lunamark and others. But most of them have redundant steps to generate the output document. This paper highlights a solution method by integrating a Markdown file into a LaTeX document, which will potentially reduce the output document generation time unlike existing solutions. The developed Markdown to LaTeX document converter will automatically generate the output document and reduce the possibility of errors when manually converting text from Markdown format to LaTeX format.
Keywords:
text conversion, Overleaf, markup language, Python, converter, programming, LaTeX, Markdown, Word, regular expressions
Programming languages
Reference:
Viktorov I.V., Gibadullin R.F.
Syntax Tree Development for Automated Serial-to-Parallel Code Translator for Multicore Processors
// Software systems and computational methods.
2023. № 1.
P. 13-25.
DOI: 10.7256/2454-0714.2023.1.38483 EDN: ANMSZI URL: https://en.nbpublish.com/library_read_article.php?id=38483
Abstract:
The emergence of multicore architectures has extremely stimulated the area of parallel computing. However, developing a parallel program and manually paralleling inherited sequential program codes are time-consuming work. The programmer should have good skills in using parallel programming methods. This fact determines the relevance of the subject of the research – the development of a serial-to-parallel code translator. The article gives a review of existing solutions in the chosen direction of research and considers their advantages and disadvantages. The principle of formation of a syntactic tree which is based on JSON format (the text format of data exchange based on JavaScript) is offered and an example of formation of a syntactic tree on the basis of this principle is considered. The result of the work is an approach for building a program platform for translating sequential code into parallel code. The distinctive feature of the developed platform is the web-service, which potentially allows you to extend the translator with other programming languages. The interaction with the programming environment is realized by means of REST-requests (HTTP-requests designed to call remote procedures). The developed software platform consists of three modules: the query processing module, which provides interaction with external systems through REST-requests; the tree building module, which forms a syntax tree on the basis of the source program code; the code conversion module, which obtains parallel program code on the basis of the syntax tree.
Keywords:
programming languages, JSON format, automated translator, multithreaded programming, parallel programming, parallel computing, multicore processors, syntax tree, web service, REST requests
Programming languages
Reference:
Dagaev D.V.
Restrictive language semantics in the Multioberon system
// Software systems and computational methods.
2023. № 1.
P. 26-41.
DOI: 10.7256/2454-0714.2023.1.36217 EDN: IWIODR URL: https://en.nbpublish.com/library_read_article.php?id=36217
Abstract:
The Oberon-based language and systems in implementation demonstrate a minimalist approach to achieving reliability, significantly different from most software systems that seek to maximize the number of supported functions. The requirements for critical systems for Category A nuclear power plants prohibit the use of even more programming practices. In order to meet the category A requirement of a stable number of iterations, the use of conditional loop operators is prohibited. To ensure ergodicity, the prohibition of the use of dynamic memory and recursion is used. A buffer overflow type vulnerability is closed by prohibiting the system operations module SYSTEM. Restrictions can be set to identify the problem of a fragile base class, type change operations, and the use of nested procedures. It is noted that the transition to the Oberon-07 dialect mainly concerned additional restrictions and fits well into the framework of restrictive semantics. Instead of languages and dialects for each set of requirements, the author proposes an approach of restrictive semantics, in which one language with a system of restrictions is used. A single RESTRICT statement has been introduced into the language as a declaration of restrictions on this module. The Multioberon compiler is implemented with one frontend, including a system of restrictions, and several replaceable backends. The syntactic analysis of the compiler is demonstrated by examples. The strategy of scaling the compiler depending on the system requirements is shown. The novelty of the restrictive semantics approach is the achievement of a set of minimum necessary properties that meet the requirements for the system. The use of the "from limitations" approach by system developers is an advantage, because it declares the really necessary properties of the system, linked to the requirements.
Keywords:
Oberon, Component Pascal, ergodicity, SW reliability, restriction, compiler, syntax tree, semantic analysis, modularity, fragile base class
Automation of manufacturing and production planning
Reference:
Vyatkin S.I., Dolgovesov B.S.
Direct Rendering of Three-Dimensional Objects Based on Perturbation Functions Using GPUs
// Software systems and computational methods.
2023. № 1.
P. 42-50.
DOI: 10.7256/2454-0714.2023.1.38263 EDN: IWRNCU URL: https://en.nbpublish.com/library_read_article.php?id=38263
Abstract:
The object of the study is a method of direct rendering of complex three-dimensional objects based on perturbation functions using graphics processors, using a variety of streaming multiprocessors. Direct rendering means that the visualization of functionally defined models takes place without their preliminary conversion to other formats, for example, into triangle grids. The research method is based on analytical geometry in space, differential geometry, interpolation theory and matrix theory, based on mathematical modeling and the theory of computing systems. The main conclusions of the study are: the possibility of direct rendering of functionally specified objects, when rendering it is important that the computing processors are not idle. The first problem that was solved was that different GPUs have different numbers of streaming multiprocessors. Therefore, it was necessary to choose during execution the optimal stage from which the work began. Thus, you can partially get rid of the problem with unused computing resources. The second problem, the balancing problem, was solved by using a large number of computing processors. For implementation, the CUDA parallel programming model was used, which, together with a set of software tools, allows implementing programs in the C language for execution on a GPU. The resulting system visualizes complex functionally defined objects with high resolution interactively. The dependence of performance on the computing power of graphics processors is investigated.
Keywords:
acceleration of calculations, parallel programming model, hierarchy of thread groups, parallel computing, streaming multiprocessors, graphics processor, constructive solid-state geometry, direct rendering, perturbation functions, functionally defined object
Computer graphics, image processing and pattern recognition
Reference:
Borevich E.V.
The Eye-Tracking Study of the Film Frame Composition Influence on the Visual Perception
// Software systems and computational methods.
2023. № 1.
P. 51-60.
DOI: 10.7256/2454-0714.2023.1.39634 EDN: IWYBNX URL: https://en.nbpublish.com/library_read_article.php?id=39634
Abstract:
The research is aimed at studying the elements that affect the visual perception of the film frame in order to develop methodological recommendations for the process harmonization of the film frame. The object of research is a film frame. The subject of the research is the technology of film frame processing. The purpose of this work is to obtain experimental data of the film frame viewing pattern and to identify statistical patterns to confirm or refute the formulated hypothesis. The goal of the study is to conduct an experimental study of the influence of composition on the parameters of the film frame viewing pattern. The influence of the factor of the mutual ratio of the areas of the centers of interest to the background on the parameters of the template for viewing the stimulus material is investigated. As a result, the methodology has been developed for conducting experimental studies of human perception of visual information using an eye-tracking software and hardware complex. When analyzing data on the influence of the objects size factor. The results obtained show that under the condition that objects occupy a small area of the frame, the observer needs more time to consider this frame. As well as in the case when objects occupy most of the frame (more than 40%). In the first case, due to the small size of the objects, it becomes more difficult for the observer to find objects in the frame space. In the second case, it takes time to identify objects, since they tend to be perceived as a background due to their large size.
Keywords:
Cinematograph, Human visual system, Gestalt psychology, Statistical analysis of data, Experiment, Color scheme, Eye-tracker, Film frame, Visual appeal, Composition