【24h】

An Imperative Pure Calculus

机译:势在必行的纯微积分

获取原文
获取外文期刊封面目录资料

摘要

We present a simple calculus where imperative features are modeled by just rewriting source code terms, rather than by modifying an auxiliary structure which mimics physical memory. Formally, this is achieved by the block construct, introducing local variable declarations, which also plays the role of store when such declarations have been evaluated. In this way, we obtain a language semantics which is more abstract, and directly represents at the syntactic level constraints on aliasing, allowing simpler reasoning about related properties. We illustrate this possibility by a simple extension of the standard type system which assigns a capsule tag to expressions that will reduce to (values representing) isolated portions of store.
机译:我们提供了一个简单的演算,其中仅通过重写源代码条款而不是通过修改模拟物理内存的辅助结构来对命令式功能进行建模。形式上,这是通过引入局部变量声明的块构造来实现的,当对此类声明进行求值时,局部变量声明也起到了存储的作用。这样,我们获得了一种语言语义,该语义更加抽象,并直接在语法级别上表示对别名的约束,从而允许对相关属性进行更简单的推理。我们通过标准类型系统的简单扩展来说明这种可能性,该标准类型系统将胶囊标签分配给表达式,该表达式将减少为(表示值的)存储孤立部分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号