arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.13236cs.PL
收藏

编程语言中的可扩展性:概述

Extensibility in Programming Languages: An overview

IT University of Copenhagen (ITU)(哥本哈根IT大学)

Sebastian mateos Nicolajsen

AI总结:

本文通过文献综述概述编程语言可扩展性,识别宏、模块、类型和反射等关键主题及跨主题属性,旨在激励未来语言设计者批判性考虑可扩展性。

摘要:

我在此对编程语言的可扩展性进行探索,并论证传统语言设计中一个常被忽视的组成部分。本文并非对这些组成部分的技术性详述,而是试图提供一个概述,因为我在研究编程语言期间一直缺乏这样的概述。因此,请将此文视为通往可扩展性奇妙世界的入门介绍。通过文献综述,我识别出可扩展性的关键主题——宏、模块、类型和反射——强调了促进可扩展性的多样化策略。分析还延伸到跨主题属性,如参数化和一等公民行为,通过强调编程语言构造中可定制性和灵活性的重要性,引入了复杂性层次。通过概述现有编程语言和研究的这些方面,我旨在激励未来的语言设计者批判性地评估和考虑其创作的可扩展性。

英文摘要:

I here conduct an exploration of programming language extensibility, making an argument for an often overlooked component of conventional language design. Now, this is not a technical detailing of these components, rather, I attempt to provide an overview as I myself have lacked during my time investigating programming languages. Thus, read this as an introduction to the magical world of extensibility. Through a literature review, I identify key extensibility themes - Macros, Modules, Types, and Reflection - highlighting diverse strategies for fostering extensibility. The analysis extends to cross-theme properties such as Parametricism and First-class citizen behaviour, introducing layers of complexity by highlighting the importance of customizability and flexibility in programming language constructs. By outlining these facets of existing programming languages and research, I aim to inspire future language designers to assess and consider the extensibility of their creations critically.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑