Semantics of programming languages: Using ASF plus SDF

被引:1
|
作者
Mosses, Peter D. [1 ]
机构
[1] Swansea Univ, Dept Comp Sci, Swansea SA2 8PP, W Glam, Wales
基金
英国工程与自然科学研究理事会;
关键词
Component-based semantics; Action semantics; ASF plus SDF; Modularity; Reuse;
D O I
10.1016/j.scico.2013.11.038
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A semantic specification of a programming language can be relevant for programmers to understand software written in the language, as well as for the implementers of a language to understand the intentions of its designers. In the early 1980s, Jan Heering and Paul Klint envisioned complete language specifications as libraries of reusable individual constructs, supported by a generic programming environment. This led to the development of the ASF+SDF specification language and its Meta-Environment. This paper first recalls how programming languages can be specified in ASF+SDF. It then analyses the apparent difficulty of reusing the specifications of individual constructs, and considers some alternative styles of semantics that have been supported using ASF+SDF and its Meta-Environment. It is suggested that these alternative styles could facilitate reuse when specifying programming languages in RASCAL, which has superseded ASF+SDF. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:2 / 10
页数:9
相关论文
共 50 条
  • [31] Formal semantics and interpreters in a principles of programming languages course
    Bruce, KB
    [J]. PROCEEDINGS OF THE THIRTIETH SIGCSE TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 1999, : 331 - 335
  • [32] LOCAL CONSTRAINTS IN THE SYNTAX AND SEMANTICS OF PROGRAMMING LANGUAGES.
    Joshi, Aravind K.
    Levy, Leon S.
    Yueh, Kang
    [J]. 1978, : 255 - 264
  • [33] Partial Order Reduction for Rewriting Semantics of Programming Languages
    Farzan, Azadeh
    Meseguer, Jose
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 176 (04) : 61 - 78
  • [34] Semantics of programming languages: A tool-oriented approach
    Heering, J
    Klint, P
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (03) : 39 - 48
  • [35] An Application of Computable Distributions to the Semantics of Probabilistic Programming Languages
    Huang, Daniel
    Morrisett, Greg
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS (ESOP 2016), 2016, 9632 : 337 - 363
  • [36] A Visualizing Tool for Graduate Course: Semantics of Programming Languages
    Steingartner, William
    Perhac, Jan
    Bilinski, Alexander
    [J]. IPSI BGD TRANSACTIONS ON INTERNET RESEARCH, 2019, 15 (02):
  • [37] Label-Based Programming Language Semantics in K Framework with SDF
    Bogdanas, Denis
    [J]. 14TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2012), 2012, : 160 - 167
  • [38] Locally Abstract, Globally Concrete Semantics of Concurrent Programming Languages
    Din, Crystal Chang
    Haehnle, Reiner
    Henrio, Ludovic
    Johnsen, Einar Broch
    Pun, Violet Ka I.
    Tarifa, S. Lizeth Tapia
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2024, 46 (01):
  • [39] A Tool for Describing and Checking Natural Semantics Definitions of Programming Languages
    Saioc, Georgian-Vlad
    Huttel, Hans
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2022, (369): : 51 - 66
  • [40] Locally Abstract, Globally Concrete Semantics of Concurrent Programming Languages
    Din, Crystal Chang
    Haehnle, Reiner
    Johnsen, Einar Broch
    Pun, Ka I.
    Tarifa, Silvia Lizeth Tapia
    [J]. AUTOMATED REASONING WITH ANALYTIC TABLEAUX AND RELATED METHODS, TABLEAUX 2017, 2017, 10501 : 22 - 43