跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2112.11077 (cs)
[提交于 2021年12月21日]

标题:A Small-Step Operational Semantics for GP 2

作者:Brian Courtehoute, Detlef Plump
查看论文《A Small-Step Operational Semantics for GP 2》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The operational semantics of a programming language is said to be small-step if each transition step is an atomic computation step in the language. A semantics with this property faithfully corresponds to the implementation of the language. The previous semantics of the graph programming language GP 2 is not fully small-step because the loop and branching commands are defined in big-step style. In this paper, we present a truly small-step operational semantics for GP 2 which, in particular, accurately models diverging computations. To obtain small-step definitions of all commands, we equip the transition relation with a stack of host graphs and associated operations. We prove that the new semantics is non-blocking in that every computation either diverges or eventually produces a result graph or the failure state. We also show the finite nondeterminism property, viz. that each configuration has only a finite number of direct successors. The previous semantics of GP 2 is neither non-blocking nor does it have the finite nondeterminism property. We also show that, for a program and a graph that terminate, both semantics are equivalent, and that the old semantics can be simulated with the new one.
评论: In Proceedings GCM 2021, arXiv:2112.10217
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2112.11077 [cs.PL]
  (或者 arXiv:2112.11077v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2112.11077
期刊参考: EPTCS 350, 2021, pp. 89-110
相关 DOI: https://doi.org/10.4204/EPTCS.350.6

提交历史

来自:EPTCS
[v1] 2021年12月21日 星期二 10:21:41 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-12
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站