arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1206.5112cs.PLcs.LO
收藏

Lucretia -一个反射语言中对象的类型系统

Lucretia - a type system for objects in languages with reflection

Viviana Bono, Marcin Benke, Aleksy Schubert

摘要:

面向对象的脚本语言(如JavaScript或Python)由于其灵活性而越来越受欢迎。尽管如此,用这些语言编写的越来越多的代码库需要一些方法来自动控制程序的属性,以确保它们在运行时的稳定性。我们提出了一个类型系统,称为Lucretia,这使得有可能控制反射语言的对象结构。主题减少和健全的类型系统的语言的语义证明。

英文摘要:

Object-oriented scripting languages such as JavaScript or Python gain in popularity due to their flexibility. Still, the growing code bases written in the languages call for methods that make possible to automatically control the properties of the programs that ensure their stability in the running time. We propose a type system, called Lucretia, that makes possible to control the object structure of languages with reflection. Subject reduction and soundness of the type system with respect to the semantics of the language is proved.

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

↑