首页> 外文期刊>Journal of Functional Programming >Automatic useless-code elimination for HOT functional programs
【24h】

Automatic useless-code elimination for HOT functional programs

机译:自动清除HOT功能程序的无用代码

获取原文
           

摘要

In this paper we present two type inference systems for detecting useless-code in higher-order typed functional programs. Type inference can be performed in an efficient and complete way, by reducing it to the solution of a system of constraints. We also give a useless-code elimination algorithm which is based on a combined use of these type inference systems. The main application of the technique is the optimization of programs extracted from proofs in logical frameworks, but it could be used as well in the elimination of useless-code determined by program transformations.
机译:在本文中,我们提出了两种类型的推理系统,用于检测高阶类型的功能程序中的无用代码。通过将类型推断简化为约束系统的解决方案,可以高效,完整地执行类型推断。我们还给出了基于这些类型推断系统的组合使用的无用代码消除算法。该技术的主要应用是优化从逻辑框架中的证明中提取的程序,但它也可以用于消除由程序转换确定的无用代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号