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 条
[31]   A Survey on SDN Programming Languages: Toward a Taxonomy [J].
Trois, Celio ;
Del Fabro, Marcos D. ;
de Bona, Luis C. E. ;
Martinello, Magnos .
IEEE COMMUNICATIONS SURVEYS AND TUTORIALS, 2016, 18 (04) :2687-2712
[32]   Computing and Programming Languages as Medium for Teaching Ethics [J].
Keturakis, Saulius .
Global Cooperation in Engineering Education: Innovative Technologies, Studies and Professional Development - International Conference Proceedings, 2008, :56-59
[33]   Teaching Programming Languages: Java']Java as a metalanguage [J].
Ortiz, A .
PDPTA'2001: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, 2001, :1798-1802
[34]   Models of quantum computation and quantum programming languages [J].
Miszczak, J. A. .
BULLETIN OF THE POLISH ACADEMY OF SCIENCES-TECHNICAL SCIENCES, 2011, 59 (03) :305-324
[35]   Context-sensitive parsing for programming languages [J].
Slivnik, Bostjan .
JOURNAL OF COMPUTER LANGUAGES, 2022, 73
[36]   30 YEARS OF CSI: PROGRAMMING LANGUAGES EVOLUTION [J].
Sobral, Sonia Rolland .
12TH INTERNATIONAL CONFERENCE OF EDUCATION, RESEARCH AND INNOVATION (ICERI2019), 2019, :9197-9205
[37]   USING WEB ENGINEERING AND PROGRAMMING LANGUAGES IN DOCUMENTS MANAGEMENT [J].
Cioca, Lucian-Ionel ;
Cioca, Marius ;
Cioca, Adrian .
ANNALS OF DAAAM FOR 2009 & PROCEEDINGS OF THE 20TH INTERNATIONAL DAAAM SYMPOSIUM, 2009, 20 :1399-1400
[38]   Modeling the use of Programming Languages: a very Simple Approach [J].
Chimal-Eguia, J. C. ;
Chavez-Valle, A. .
APPLIED MATHEMATICS & INFORMATION SCIENCES, 2014, 8 (03) :1037-1040
[39]   Evaluating the Inherent Sensitivity of Programming Languages to Soft Errors [J].
Cerveira, Frederico ;
Fonseca, Alcides ;
Barbosa, Raul ;
Madeira, Henrique .
2018 14TH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC 2018), 2018, :65-72
[40]   Examining students' academic motivation for studying programming languages [J].
Ankora, Carlos ;
Bolatimi, Stephen Oladagba ;
Bensah, Lily ;
Mahama, Francois ;
Kuadey, Noble Arden ;
Adu, Adolph Sedem Yaw ;
Adjei, Laurene .
JOURNAL OF COMPUTER ASSISTED LEARNING, 2023, 39 (06) :2025-2034