Content area

Abstract

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.

Details

1009240
Title
Implicit Parameter Scope Handling in Programming Languages
Publication title
Volume
13
Issue
1
Pages
67-74
Publication year
2025
Publication date
2025
Publisher
University of Latvia
Place of publication
Riga
Country of publication
Latvia
Publication subject
ISSN
22558942
e-ISSN
22558950
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
ProQuest document ID
3214124060
Document URL
https://www.proquest.com/scholarly-journals/implicit-parameter-scope-handling-programming/docview/3214124060/se-2?accountid=208611
Copyright
© 2025. This work is published under https://creativecommons.org/licenses/by-sa/4.0/ (the "License"). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-10-10
Database
2 databases
  • ProQuest One Academic
  • ProQuest One Academic