C Language Extension to Support Procedural-Parametric Polymorphism

Software development is often about expanding functionality. To improve reliability in this case, it is necessary to minimize the change in previously written code. For instrumental support of the evolutionary development of programs, a procedural-parametric programming paradigm was proposed, which...

Celý popis

Uloženo v:
Podrobná bibliografie
Vydáno v:Modelirovanie i analiz informacionnyh sistem Ročník 30; číslo 1; s. 40 - 62
Hlavní autoři: Legalov, Alexander I., Kosov, Pavel V.
Médium: Journal Article
Jazyk:angličtina
Vydáno: Yaroslavl State University 28.04.2023
Témata:
ISSN:1818-1015, 2313-5417
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Popis
Shrnutí:Software development is often about expanding functionality. To improve reliability in this case, it is necessary to minimize the change in previously written code. For instrumental support of the evolutionary development of programs, a procedural-parametric programming paradigm was proposed, which made it possible to increase the capabilities of the procedural approach. This allows to extend both data and functions painlessly. The paper considers the inclusion of procedural-parametric programming in the C language. Additional syntactic constructions are proposed to support the proposed approach. These constructions include: parametric generalizations, specializations of generalizations, generalizing functions, specialization handlers. Their semantics, possibilities and features of technical implementation are described. To check the possibilities of using this approach, models of procedural-parametric constructions in the C programming language were built. The example in the article demonstrates the flexible extension of the program and support of multiple polymorphism.
ISSN:1818-1015
2313-5417
DOI:10.18255/1818-1015-2023-1-40-62