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 条