【24h】

Blame Prediction

机译:责备预测

获取原文

摘要

Static type systems are usually conservative. Therefore, many interesting programs are rejected by the static type system, even though they may execute without errors. Dynamic type systems allow such illtyped programs to run, at the cost of run-time errors. The cause of runtime errors is often far removed from the place where the type errors are raised, making the program hard to debug.We present a novel typing discipline called blame prediction which transforms programs in order to detect runtime type errors as soon as they are guaranteed to happen. These type errors relate the future type error with its cause, aiding in debugging. As a proof of concept, we have applied blame prediction to a functional Scheme-like language and evaluated our system against soft typing.
机译:静态系统通常是保守的。因此,静态类型系统拒绝了许多有趣的程序,即使它们可能没有错误。动态类型系统允许在运行时错误的成本下运行此类虚幻的程序。运行时错误的原因通常远离筛选类型错误的位置,使得程序难以调试.WE呈现一个名为Chinoup预测的新颖打字预测,该归属于转换程序以便在它们后立即检测到运行时类型错误保证发生。这些类型的错误与其原因相关的未来类型错误,同时涉及调试。作为概念证明,我们将责备预测应用于功能方案类似的语言,并评估我们的系统免受软打字。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号