首页> 外文期刊>Computing and informatics >COALGEBRAIC OPERATIONAL SEMANTICS FOR AN IMPERATIVE LANGUAGE
【24h】

COALGEBRAIC OPERATIONAL SEMANTICS FOR AN IMPERATIVE LANGUAGE

机译:植入语言的陆基运营语义

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

摘要

Operational semantics is a known and popular semantic method for describing the execution of programs in detail. The traditional definition of this method defines each step of a program as a transition relation. We present a new approach on how to define operational semantics as a coalgebra over a category of configurations. Our approach enables us to deal with a program that is written in a small but real imperative language containing also the common program constructs as input and output statements, and declarations. A coalgebra enables to define operational semantics in a uniform way and it describes the behavior of the programs. The state space of our coalgebra consists of the configurations modeling the actual states; the morphisms in a base category of the coalgebra are the functions defining particular steps during the program's executions. Polynomial endofunctor determines this type of systems. Another advantage of our approach is its easy implementation and graphical representation, which we illustrate on a simple program.
机译:操作语义是一种已知的和流行的语义方法,用于详细描述程序的执行。该方法的传统定义将程序的每个步骤定义为转换关系。我们介绍了如何在一类配置中将运营语义定义为CooldeBra的新方法。我们的方法使我们能够处理以小型但真正的命令语言编写的程序,其中包含常用程序构造为输入和输出语句和声明。 CooldeBraa能够以统一的方式定义操作语义,并描述程序的行为。我们的CooldeBra的状态空间包括建模实际状态的配置;基于CooldeBra的基本类别中的态度是在程序的执行期间定义特定步骤的函数。多项式型辅助程序确定这种系统。我们的方法的另一个优点是它的简单实现和图形表示,我们在简单的程序上说明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号