首页> 外文会议>Logic for programming, artificial intelligence, and reasoning >Program Logics for Homogeneous Meta-programming
【24h】

Program Logics for Homogeneous Meta-programming

机译:均匀元编程的程序逻辑

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

摘要

A meta-program is a program that generates or manipulates another program; in homogeneous meta-programming, a program may generate new parts of, or manipulate, itself. Meta-programming has been used extensively since macros were introduced to Lisp, yet we have little idea how formally to reason about meta-programs. This paper provides the first program logics for homogeneous meta-programming - using a variant of MiniML_e~□ by Davies and Pfenning as underlying meta-programming language. We show the applicability of our approach by reasoning about example meta-programs from the literature. We also demonstrate that our logics are relatively complete in the sense of Cook, enable . the inductive derivation of characteristic formulae, and exactly capture the observational properties induced by the operational semantics.
机译:元程序是生成或操纵另一个程序的程序。在同类元编程中,程序可能会生成自身的新部分或对其进行操作。自从将宏引入Lisp以来,元编程已被广泛使用,但是我们不知道如何正式地对元程序进行推理。本文提供了同类元编程的第一个程序逻辑-使用Davies和Pfenning的MiniML_e〜□的变体作为底层元编程语言。我们通过对文献中的示例元程序进行推理来展示我们方法的适用性。我们还证明了我们的逻辑在Cook,enable的意义上是相对完整的。特征公式的归纳推导,并精确地捕获由操作语义引起的观测特性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号