Implicit Parameter Scope Handling in Programming Languages

被引:0
作者
Vanags, Mikus [1 ]
机构
[1] Logics Res Ctr, Sterstu St 7-6, LV-1004 Riga, Latvia
来源
BALTIC JOURNAL OF MODERN COMPUTING | 2025年 / 13卷 / 01期
关键词
programming languages; implicit parameter; anonymous methods; parameter scope;
D O I
10.22364/bjmc.2025.13.1.04
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper introduces a novel abstract syntax approach designed to simplify the scope and implicit parameter management in nested anonymous methods across programming languages. The proposed innovations include: 1) non-capturing function - a new method for declaring anonymous methods that does not capture implicit parameters, and 2) shorthand higher-order function call - a novel technique for invoking methods that captures implicit parameters within the scope of the function call, thereby generating a new anonymous function to be passed to the calling function. These advancements enable a more concise syntax for anonymous methods, enhancing code readability. Furthermore, the approach to implicit parameter handling in nested anonymous methods improves the conceptual understanding of boundaries and interactions between complex nested anonymous functions. Collectively, these innovations pave the way for more intuitive, maintainable, and expressive anonymous methods in programming languages.
引用
收藏
页码:67 / 74
页数:8
相关论文
共 50 条
[41]   Introducing Programming Languages through Data Acquisition Examples [J].
Kocijancic, Slavko ;
Kusar, Tomaz ;
Rihtarsic, David .
INTERNATIONAL JOURNAL OF EMERGING TECHNOLOGIES IN LEARNING, 2008, 3 :28-33
[42]   Programming Languages for Wireless Sensor Networks: A Comparative Study [J].
Chandra, Tej Bahadur ;
Dwivedi, Anuj Kumar .
2015 2ND INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT (INDIACOM), 2015, :1702-1708
[43]   Technology of simulation modeling by using universal programming languages [J].
Oslin, B .
KORUS 2003: 7TH KOREA-RUSSIA INTERNATIONAL SYMPOSIUM ON SCIENCE AND TECHNOLOGY, VOL 2, PROCEEDINGS: ELECTRICAL ENGINEERING AND INFORMATION TECHNOLOGY, 2003, :193-195
[44]   A Cultural Diffusion Model for the Rise and Fall of Programming Languages [J].
Valverde, Sergi ;
Sole, Ricard V. .
HUMAN BIOLOGY, 2015, 87 (03) :224-234
[45]   A Comparison of Five Programming Languages in a Graph Clustering Scenario [J].
Stein, Martin ;
Geyer-Schulz, Andreas .
JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2013, 19 (03) :428-456
[46]   The Politics of Early Programming Languages: IBM and the Algol Project [J].
Nofre, David .
HISTORICAL STUDIES IN THE NATURAL SCIENCES, 2021, 51 (03) :379-413
[47]   Do programming languages make software too soft? [J].
Jones, Peter Edward .
IEEE SOFTWARE, 2007, 24 (03) :120-+
[48]   Impact of Programming Languages on Energy Consumption for Mobile Devices [J].
Kholmatova, Zamira .
PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, :1693-1695
[49]   Permission-Based Programming Languages (NIER Track) [J].
Aldrich, Jonathan ;
Garcia, Ronald ;
Hahnenberg, Mark ;
Mohr, Manuel ;
Naden, Karl ;
Saini, Darpan ;
Stork, Sven ;
Sunshine, Joshua ;
Tanter, Eric ;
Wolff, Roger .
2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, :828-831
[50]   Types in Programming Languages, Between Modelling, Abstraction, and Correctness [J].
Martini, Simone .
Pursuit of the Universal, 2016, 9709 :164-169