Optimized syntax concept for variable scoping, loop structures, and flow control in programming language
Вантажиться...
Дата
2025
Науковий керівник
Назва журналу
Номер ISSN
Назва тому
Видавець
National Technical University of Ukraine "Igor Sikorsky Kyiv Polytechnic Institute"
Анотація
This article examines syntactic redundancy in modern programming languages and its impact on code perception, readability, and logical consistency. The object of the study is the analysis of redundant syntactic constructs, particularly those related to variable declarations, scope management, loop structures, and flow control mechanisms. The primary aim is to develop and substantiate an optimized syntax concept. This concept combines the declarative rigor of classical languages with the simplicity of dynamic systems. The goal is to reduce code redundancy and improve cognitive ergonomics for developers. The research methodology involved a comparative analysis of key syntactic elements across different language paradigms. The materials for the study included a formal comparison of semantics and an evaluation of equivalent program fragments written in classical languages and in the proposed conceptual language.The results show that the proposed syntactic model significantly reduces auxiliary symbols, improves code clarity, and lowers cognitive load. The scientific novelty is a holistic syntax model defined by three key innovations. First, a simplified variable management system creates local variables automatically, eliminating keywords like var or global and using explicit markers for outer-scope access. Second, a universal loop operator unifies the functionality of traditional for, while, and do-while loops, allowing condition evaluation at the beginning, middle, or end of the block. Third, the traditional goto operator is replaced with a structured try-throw construct, providing a safe, semantically coherent mechanism for exiting nested blocks and error handling. This unified approach forms a basis for further research into minimalist syntax focused on naturalness and readability.
Опис
Ключові слова
programming language, language design, syntax model, variable scoping, loop structures, flow control, error handling, code readability, syntax optimization, syntax unification, мова програмування, проєктування мови, синтаксична модель, область видимостi змiнних, структури циклiв, керування потоком виконання, обробка помилок, читабельнiсть коду, оптимiзацiя синтаксису, унiфiкацiя синтаксису.
Бібліографічний опис
Zhyrytovskyi, O. Optimized syntax concept for variable scoping, loop structures, and flow control in programming language / Oleksandr Zhyrytovskyi, Roman Zubko // Information, Computing and Intelligent systems. – 2025. – No. 7. – P. 142-159. – Bibliogr.: 16 ref.