DocumentCode :
789330
Title :
Constructive Action Semantics for Core ML
Author :
Iversen, J. ; Mosses, P.D.
Author_Institution :
BRICS & Dept. of Comput. Sci., Univ. of Aarhus, Denmark
Volume :
152
Issue :
2
fYear :
2005
fDate :
4/8/2005 12:00:00 AM
Firstpage :
79
Lastpage :
98
Abstract :
Usually, the majority of language constructs found in a programming language can also be found in many other languages, because language design is based on reuse. This should be reflected in the way we give semantics to programming languages. It can be achieved by making a language description consist of a collection of modules, each defining a single language construct. The description of a single language construct should be language independent, so that it can be reused in other descriptions without any changes. We call a language description framework ´constructive´ when it supports independent description of individual constructs. We present a case study in constructive semantic description. The case study is a description of Core ML, consisting of a mapping from it to BAS (Basic Abstract Syntax) and action semantic descriptions of the individual BAS constructs. The latter are written in ASDF (Action Semantics Definition Formalism), a formalism specially designed for writing action semantic descriptions of single language constructs. Tool support is provided by the ASF+SDF Meta-Environment and by the Action Environment, which is a new extension of the ASF+SDF Meta-Environment.
Keywords :
ML language; programming language semantics; Action Semantics Definition Formalism; Basic Abstract Syntax; Constructive Action Semantics; Core ML; Standard ML; action semantic descriptions; constructive semantic description; language description framework;
fLanguage :
English
Journal_Title :
Software, IEE Proceedings -
Publisher :
iet
ISSN :
1462-5970
Type :
jour
DOI :
10.1049/ip-sen:20041182
Filename :
1425317
Link To Document :
بازگشت