首页> 外文会议>ACM SIGPLAN International Conference on Functional Programming >A Theory of Typed Coercions and its Applications
【24h】

A Theory of Typed Coercions and its Applications

机译:类型胁迫理论及其应用

获取原文

摘要

A number of important program rewriting scenarios can be recast as type-directed coercion insertion. These range from more theoretical applications such as coercive subtyping and supporting overloading in type theories, to more practical applications such as integrating static and dynamically typed code using gradual typing, and in-lining code to enforce security policies such as access control and provenance tracking. In this paper we give a general theory of type-directed coercion insertion. We specifically explore the inherent tradeoff between expressiveness and ambiguity-the more powerful the strategy for generating coercions, the greater the possibility of several, semantically distinct rewritings for a given program. We consider increasingly powerful coercion generation strategies, work out example applications supported by the increased power (including those mentioned above), and identify the inherent am-biguity problems of each setting, along with various techniques to tame the ambiguities.
机译:许多重要的程序重写方案可以作为类型定向的强制插入重新循环。这些范围从更多理论应用如强制亚型和型式理论中的重载,以更实际的应用,例如使用渐进键入的静态和动态键入的代码,以及衬里代码来强制执行安全策略,例如访问控制和出处跟踪。在本文中,我们提供了一种定向胁迫插入的一般理论。我们专门探讨了表现力和歧义之间的内在权衡 - 生成胁迫的策略越强大,对于给定程序的几个,语义明显重写的可能性越大。我们考虑越来越强大的强制生成策略,解决了增加功率支持的示例应用程序(包括上述那些),并确定每个设置的固有的AM偏置问题,以及各种驯服歧义的技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号