The changes in semantics of operations over the data structures called complexes in the LYaPAS programming language are discussed. The modifications include resizing the complexes, passing complexes that are created by a callee to the caller, and compiletime error reporting due to modifying operations being applied to input complexes. The goal is to make the work with complexes more convenient and less error prone, which is assumed to have a positive impact on the security of the programs written using the new language constructs. The implementation of the new semantics in the module of the translator is demonstrated.
Download file
Counter downloads: 164
- Title Complexes in LYaPAS
- Headline Complexes in LYaPAS
- Publesher
Tomsk State University
- Issue Prikladnaya Diskretnaya Matematika - Applied Discrete Mathematics 38
- Date:
- DOI 10.17223/20710410/38/8
Keywords
язык программирования ЛЯПАС, операции над комплексами, транслятор, LYaPAS, data structures, complex, translatorAuthors
References
Агибалов Г. П., Липский В. Б., Панкратова И. А. О криптографическом расширении и его реализации для русского языка программирования // Прикладная дискретная математика. 2013. №3. С. 93-104.
Стефанцов Д. А., Сафонов В. О., Першин В. В. и др. Модульный транслятор с языка ЛЯПАС // Прикладная дискретная математика. Приложение. 2016. №8. С. 122-126.
https://github.com/tsu-iscd/lyapas-lcc - LYaPAS Compiler Chain. 2017.
Томских П. А., Стефанцов Д. А. Разработка операционной системы на языке ЛЯПАС // Прикладная дискретная математика. Приложение. 2015. №8. С. 134-135.
https://github.com/tsu-iscd/lyapas-lcc/blob/73b21bcd5f674bc6762a379bc32f71f61ee51164/ doc/cyaz.md - LYaPAS Cyaz Documentation. 2017.
http://en.cppreference.com/w/cpp/container/vector/reserve - std::vector::reserve. 2017.
Meyers S. Effective C++: 55 Specific Ways to Improve Your Programs and Designs. Addison-Wesley Professional, 2005. 297 p.
https://github.com/tsu-iscd/lyapas-lcc/blob/73b21bcd5f674bc6762a379bc32f71f61ee51164/ sources/libs/translation_module/src/include/translation_module/translation_ module.h - LYaPAS class Translator. 2017.
Gamma E., Helm R., Johnson R., et al. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley Professional, 1994.
https://github.com/tsu-iscd/lyapas-lcc/blob/73b21bcd5f674bc6762a379bc32f71f61ee51164/ sources/libs/translation_module/src/include/translation_module/cmd_builder. h - LYaPAS class CmdBuilder. 2017.
https://github.com/tsu-iscd/lyapas-lcc/blob/73b21bcd5f674bc6762a379bc32f71f61ee51164/ sources/libs/translation_module/src/include/translation_module/arg_builders.h - LYaPAS class ArgBuilder. 2017.

Complexes in LYaPAS | Prikladnaya Diskretnaya Matematika - Applied Discrete Mathematics. 2017. № 38. DOI: 10.17223/20710410/38/8
Download full-text version
Counter downloads: 457