A Rewriting Logic Approach to Operational Semantics (Extended Abstract)

被引:8
作者
Serbanuta, Traian Florin [1 ]
Rosu, Grigore
Meseguer, Jose [1 ]
机构
[1] Univ Illinois, Dept Comp Sci, Champaign, IL 61820 USA
关键词
operational semantics; rewriting logic; programming languages;
D O I
10.1016/j.entcs.2007.08.020
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper shows how rewriting logic semantics (RLS) can be used as a computational logic framework for operational semantic definitions of programming languages. Several operational semantics styles are addressed: big-step and small-step structural operational semantics (SOS), modular SOS, reduction semantics with evaluation contexts, and continuation-based semantics. Each of these language definitional styles can be faithfully captured as an RLS theory, in the sense that there is a one-to-one correspondence between computational steps in the original language definition and computational steps in the corresponding RLS theory. A major goal of this paper is to show that RLS does not force or pre-impose any given language definitional style, and that its flexibility and ease of use makes RLS an appealing framework for exploring new definitional styles.
引用
收藏
页码:125 / 141
页数:17
相关论文
共 48 条
  • [1] ABADI M, 1990, CONFERENCE RECORD OF THE SEVENTEENTH ANNUAL ACM SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, P31, DOI 10.1145/96709.96712
  • [2] [Anonymous], 1993, SRICSL9305
  • [3] [Anonymous], 1998, AMAST SERIES COMPUTI
  • [4] Benaissa Z.-El.-A., 1996, Journal of Functional Programming, V6, P699, DOI 10.1017/S0956796800001945
  • [5] THE CHEMICAL ABSTRACT MACHINE
    BERRY, G
    BOUDOL, G
    [J]. THEORETICAL COMPUTER SCIENCE, 1992, 96 (01) : 217 - 248
  • [6] Borovansky P., 2000, ELAN V 3 4 USER MANU
  • [7] BORRAS P, 1989, SIGPLAN NOTICES, V24, P14
  • [8] Chalub F., 6 INT WORKSH REWR LO
  • [9] Maude:: Specification and programming in rewriting logic
    Clavel, M
    Durán, F
    Eker, S
    Lincoln, P
    Martí-Oliet, N
    Meseguer, J
    Quesada, JF
    [J]. THEORETICAL COMPUTER SCIENCE, 2002, 285 (02) : 187 - 243
  • [10] CLEMENT D, 1986, P FRANC JAP AI CS S, P49