...
【24h】

Type safe incremental rebinding

机译:类型安全的增量重新绑定

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

We extend the simply-typed lambda-calculus with a mechanism for dynamic and incrementalrnrebinding of code. Fragments of open code which can be dynamically rebound are values.rnDifferently from standard static binding, which is done on a positional basis, rebinding isrndone on a nominal basis, that is, free variables in open code are associated with names whichrndo not obey α-equivalence. Moreover, rebinding is incremental, that is, just a subset of namesrncan be rebound, making possible code specialization, and rebinding can even introduce newrnnames. Finally, rebindings, which are associations between names and terms, are first-classrnvalues, and can be manipulated by operators such as overriding and renaming. We define arntype system in which the type for a rebinding, in addition to specify an association betweenrnnames and types (similarly to record types), is also annotated. The annotation says whetherrnor not the domain of the rebinding having this type may contain more names than the onesrnthat are specified in the type. We show soundness of the type system.
机译:我们使用动态和增量式代码重新绑定机制来扩展简单类型的lambda演算。可以动态反弹的开放代码片段是值。rn与基于位置的标准静态绑定不同,名义上重新绑定isrndone,即开放代码中的自由变量与不遵守α-的名称相关联等价。而且,重新绑定是递增的,也就是说,名称的子集可以重新绑定,从而可以进行代码专门化,并且重新绑定甚至可以引入新名称。最后,重绑定是名称和术语之间的关联,是一等值,可以由诸如重载和重命名之类的运算符操纵。我们定义了arntype系统,在该系统中,除了指定名称和类型(类似于记录类型)之间的关联之外,还对重新绑定的类型进行了注释。注释说明具有这种类型的重绑定域是否可以包含比该类型中指定的名称更多的名称。我们展示了类型系统的健全性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号