首页> 外文会议>Computer Science Logic >Possible World Semantics for General Storage in Call-By-Value
【24h】

Possible World Semantics for General Storage in Call-By-Value

机译:按值通话的通用存储的可能世界语义

获取原文

摘要

We describe a simple denotational semantics, using possible worlds, for a call-by-value language with ML-like storage facilities, allowing the storage of values of any type, and the generation of new storage cells. We first present a criticism of traditional Strachey semantics for such a language: that it requires us to specify what happens when we read non-existent cells. We then obtain our model by modifying the Strachey semantics to avoid this problem. We describe our model in 3 stages: first no storage of functions or recursion (but allowing storage of cells), then we add recursion, and finally we allow storage of functions. We discuss similarities and differences between our model and Moggi's model of ground store. A significant difference is that our model does not use monadic decomposition of the function type.
机译:我们使用可能的世界描述一种简单的指称语义,用于具有类似于ML的存储功能的按值调用语言,允许存储任何类型的值,并生成新的存储单元。我们首先对这种语言的传统Strachey语义提出了批评:它要求我们指定当我们读取不存在的单元格时会发生什么。然后,我们通过修改Strachey语义来避免这种问题,从而获得模型。我们分三个阶段描述模型:首先不存储函数或递归(但允许存储单元格),然后添加递归,最后允许存储函数。我们讨论了我们的模型与Moggi的地面商店模型之间的异同。一个重要的区别是我们的模型不使用函数类型的单子分解。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号