【24h】

Type and Effect System for Multi-staged Exceptions

机译:多阶段异常的类型和效果系统

获取原文
获取原文并翻译 | 示例

摘要

We present a type and effect system for a multi-staged language with exceptions. The proposed type and effect system checks if we safely synthesize complex controls with exceptions in multi-staged programming. The proposed exception constructs in multi-staged programming has no artificial restriction. Exception-raise and -handle expressions can appear in expressions of any stage, though they are executed only at stage 0. Exceptions can be raised during code composition and may escape before they are handled. Our effect type system support such features. We prove our type and effect system sound: empty effect means the input program has no uncaught exceptions during its execution.
机译:我们为例外的多阶段语言提供类型和效果系统。提议的类型和效果系统检查我们是否可以安全地综合复杂控件,并在多阶段编程中添加例外。在多阶段编程中提出的异常构造没有人为的限制。尽管异常引发和-handle表达式仅在阶段0执行,但它们可以出现在任何阶段的表达式中。异常可以在代码编写过程中引发,并且可以在处理它们之前转义。我们的效果类型系统支持此类功能。我们证明了类型和效果系统的声音:空效果表示输入程序在执行过程中没有未捕获的异常。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号