Journal of Samara State Technical University, Ser. Physical and Mathematical Sciences
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Forthcoming papers
Archive
Impact factor
Editorial staff
Guidelines for authors
License agreement
Editorial policy

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Vestn. Samar. Gos. Tekhn. Univ., Ser. Fiz.-Mat. Nauki [J. Samara State Tech. Univ., Ser. Phys. Math. Sci.]:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Journal of Samara State Technical University, Ser. Physical and Mathematical Sciences, 2014, Issue 3(36), Pages 169–182
DOI: https://doi.org/10.14498/vsgtu1334
(Mi vsgtu1334)
 

This article is cited in 2 scientific papers (total in 2 papers)

Computer Science

The Templet Language Preprocessor: A Programming Tool for Process-per-Message Modeling

S. V. Vostokin

S. P. Korolyov Samara State Aerospace University (National Research University), Samara, 443086, Russian Federation
Full-text PDF (851 kB) Citations (2)
(published under the terms of the Creative Commons Attribution 4.0 International License)
References:
Abstract: Motivation: A large number of applications can be described as a set of processes that exchange messages. Traditionally the process-per-message model is used in the form of a specialized language or a run-time library for general purpose language. The first approach lacks implementation simplicity, while the second approach is difficult in use. We propose a new method that comprises domain-specific language called Templet for code markup, a general purpose language, and the preprocessor. Our approach is free from disadvantages mentioned above. Method: A code of a program is divided into blocks. Block boundaries are indicated by comments. The entire code structure is defined in Templet language so it can be checked out automatically before compilation. Description of Channels: A channel defines a message exchange protocol between two interconnected processes. We provide channel syntax in the form of Extended Backus-Naur Formalism (EBNF). The informational structure of the channel is described with Entity-Relation diagram (ER). Description of Processes: A process defines the algorithm for message processing. Information structure of the process is shown in conjunction with the syntax. EBNF and ER models are also used in the process specification. Syntax rules are illustrated with the fork-join code sample. Preprocessor structure and work scheme: We present the algorithm and the structure of the preprocessor. Subsystems discussed are: syntax analyzer; semantics analyzer; internal database; inference mechanism; and code generator. The method for estimation of workload of manual coding is presented. It shows the diminishment of workload in 20 times comparing with manual coding. Discussion: The preprocessor is used for skeleton programming as a part of web-service for automated parallel programming. Its advantages and features are discussed in comparison with parallelization with markup technique; general-purpose macro processor; parallel programming language, metaprogramming; and model-driven development.
Keywords: preprocessor, domain-specific language, process, message, parallel programming.
Funding agency Grant number
Ministry of Education and Science of the Russian Federation
This work was supported by the Ministry of Education and Science of the Russian Federation in the framework of the implementation of the Program of increasing the competitiveness of SSAU among the world’s leading scientific and educational centers over the period from 2013 till 2020.
Original article submitted 18/VII/2014
revision submitted – 21/VIII/2014
Bibliographic databases:
Document Type: Article
UDC: 519.682
MSC: 68N15, 68N19
Language: Russian
Citation: S. V. Vostokin, “The Templet Language Preprocessor: A Programming Tool for Process-per-Message Modeling”, Vestn. Samar. Gos. Tekhn. Univ., Ser. Fiz.-Mat. Nauki [J. Samara State Tech. Univ., Ser. Phys. Math. Sci.], 3(36) (2014), 169–182
Citation in format AMSBIB
\Bibitem{Vos14}
\by S.~V.~Vostokin
\paper The Templet Language Preprocessor: A Programming Tool for Process-per-Message Modeling
\jour Vestn. Samar. Gos. Tekhn. Univ., Ser. Fiz.-Mat. Nauki [J. Samara State Tech. Univ., Ser. Phys. Math. Sci.]
\yr 2014
\vol 3(36)
\pages 169--182
\mathnet{http://mi.mathnet.ru/vsgtu1334}
\crossref{https://doi.org/10.14498/vsgtu1334}
\zmath{https://zbmath.org/?q=an:06968926}
\elib{https://elibrary.ru/item.asp?id=23085722}
Linking options:
  • https://www.mathnet.ru/eng/vsgtu1334
  • https://www.mathnet.ru/eng/vsgtu/v136/p169
  • This publication is cited in the following 2 articles:
    Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Вестник Самарского государственного технического университета. Серия: Физико-математические науки
    Statistics & downloads:
    Abstract page:512
    Full-text PDF :249
    References:63
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2024