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

在模块化语言中删除限定名

Removing Qualified Names in Modular Languages

Keehang Kwon, Daeseong Kang

摘要:

虽然限定名的概念在模块系统中很流行,但它会导致严重的并发症。在本文中,我们提出了一种替代的合格的名称。关键思想是在使用其他模块中的声明之前将它们导入到当前模块中。通过这种方式,所有声明都可以在本地访问。然而,这种方法在内存使用方面效率不高。我们的贡献是{ \it模块弱化}计划,它允许我们导入最小的部分。作为这种方法的一个例子,我们提出了一个模块系统的函数式语言。

英文摘要:

Although the notion of qualified names is popular in module systems, it causes severe complications. In this paper, we propose an alternative to qualified names. The key idea is to import the declarations in other modules to the current module before they are used. In this way, all the declarations can be accessed locally. However, this approach is not efficient in memory usage. Our contribution is the {\it module weakening} scheme which allows us to import the minimal parts. As an example of this approach, we propose a module system for functional languages.

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

↑