GNU epsilon——一种可扩展编程语言
GNU epsilon -- an extensible programming language
AI总结:
本文提出可扩展语言 GNU epsilon,以极简一阶命令式核心结合宏、反射与自修改实现高层抽象,并给出可靠静态分析和多核并行垃圾回收器。
摘要:
还原论是设计和实现实用编程语言的一种可行策略,可带来更易于扩展、实验和形式化分析的解决方案。我们形式化规定并实现了一种可扩展编程语言,其基础是一个极简的一阶命令式核心语言,并辅以强大的抽象机制、反射和自修改特性。该语言可被扩展到非常高的层次:通过使用 Lisp 风格的宏以及代码到代码转换(可自动将高层表达式重写为核心形式),我们在核心之上定义了闭包和一类延续。得益于该语言简单的语义,非自修改程序可被分析和形式化推理。我们形式化开发了一种静态分析,并证明了其相对于动态语义的可靠性性质。我们还开发了一种适用于多核机器的并行垃圾回收器,以支持并行程序的高效执行。
英文摘要:
Reductionism is a viable strategy for designing and implementing practical programming languages, leading to solutions which are easier to extend, experiment with and formally analyze. We formally specify and implement an extensible programming language, based on a minimalistic first-order imperative core language plus strong abstraction mechanisms, reflection and self-modification features. The language can be extended to very high levels: by using Lisp-style macros and code-to-code transforms which automatically rewrite high-level expressions into core forms, we define closures and first-class continuations on top of the core. Non-self-modifying programs can be analyzed and formally reasoned upon, thanks to the language simple semantics. We formally develop a static analysis and prove a soundness property with respect to the dynamic semantics. We develop a parallel garbage collector suitable to multi-core machines to permit efficient execution of parallel programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。