首页 | 本学科首页   官方微博 | 高级检索  
     


Executable structural operational semantics in Maude
Authors:Alberto Verdejo  Narciso Martí-Oliet
Affiliation:Departamento de Sistemas Informáticos y Programación, Universidad Complutense de Madrid, C/Prof. José García Santesmases s/n, Madrid 28040, Spain
Abstract:This paper describes in detail how to bridge the gap between theory and practice when implementing in Maude structural operational semantics described in rewriting logic, where transitions become rewrites and inference rules become conditional rewrite rules with rewrites in the conditions, as made possible by the new features in Maude 2. We validate this technique using it in several case studies: a functional language Fpl (evaluation and computation semantics), an imperative language WhileL (evaluation and computation semantics), Kahn’s functional language Mini-ML (evaluation or natural semantics), Milner’s CCS (with strong and weak transitions), and Full LOTOS (including ACT ONE data type specifications). In addition, on top of CCS we develop an implementation of the Hennessy–Milner modal logic for describing local capabilities of processes, and for LOTOS we build an entire tool where Full LOTOS specifications can be entered and executed (without user knowledge of the underlying implementation of the semantics). We also compare this method based on transitions as rewrites with another one based on transitions as judgements.
Keywords:Rewriting logic  Maude 2  Executability  Structural operational semantics  Metalanguage  CCS  LOTOS  ACT ONE
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号