首页> 外文会议>Functional and Logic Programming >Proving Syntactic Properties of Exceptions in an Ordered Logical Framework
【24h】

Proving Syntactic Properties of Exceptions in an Ordered Logical Framework

机译:在有序逻辑框架中证明异常的句法属性

获取原文

摘要

We formally prove the stackability and linearity of exception handlers with ML-style semantics using a novel proof technique via an ordered logical framework (OLF). We first transform exceptions into continuation-passing-style (CPS) terms and formalize the exception properties as a judgement on the CPS terms. Then, rather than directly proving that the properties hold for terms, we prove our theorem for the representations of the CPS terms and transform in OLP. We rely upon the correctness of our representations to transfer the results back to the actual CPS terms and transform. Our work can be seen as two-fold: we present a theoretical justification of using the stack mechanism to implement exceptions of ML-like semantics; and we demonstrate the value of an ordered logical framework as a conceptual tool in the theoretical study of programming languages.
机译:我们使用新颖的证明技术通过有序逻辑框架(OLF),以ML风格的语义正式证明了异常处理程序的可堆叠性和线性。我们首先将异常转换为延续通过样式(CPS)术语,并将异常属性形式化,作为对CPS术语的判断。然后,我们直接证明了CPS术语的表示形式并在OLP中进行了变换,而不是直接证明属性对术语成立。我们依靠表示的正确性将结果转换回实际的CPS条款并进行转换。我们的工作可以看做两个方面:我们提供了使用堆栈机制实现类似ML的语义异常的理论依据;并且我们证明了有序逻辑框架作为编程语言理论研究中的一种概念工具的价值。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号