首页> 外文会议>ACM SIGPLAN-SIGACT symposium on Principles of programming languages >Implementation of the typed call-by-value λ-calculus using a stack of regions
【24h】

Implementation of the typed call-by-value λ-calculus using a stack of regions

机译:使用区域堆栈实现类型化的按值调用λ演算

获取原文

摘要

We present a translation scheme for the polymorphically typed call-by-value λ-calculus. All runtime values, including function closures, are put into regions. The store consists of a stack of regions. Region inference and effect inference are used to infer where regions can be allocated and de-allocated. Recursive functions are handled using a limited form of polymorphic recursion. The translation is proved correct with respect to a store semantics, which models as a region-based run-time system. Experimental results suggest that regions tend to be small, that region allocation is frequent and that overall memory demands are usually modest, even without garbage collection.

机译:

我们提出了一种多态类型的按值调用λ微积分的翻译方案。所有运行时值(包括函数闭包)都放入区域。商店由一堆区域组成。区域推断和效果推断用于推断可以分配和取消分配区域的位置。递归函数是使用有限形式的多态递归来处理的。相对于商店语义而言,翻译被证明是正确的,该商店语义建模为基于区域的运行时系统。实验结果表明,即使没有垃圾收集,区域也往往很小,区域分配很频繁,并且总体内存需求通常很小。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号