Constructive Action Semantics for Core ML

Authors

  • Jørgen Iversen
  • Peter D. Mosses

DOI:

https://doi.org/10.7146/brics.v11i37.21862

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.

Downloads

Published

2004-12-11

How to Cite

Iversen, J., & Mosses, P. D. (2004). Constructive Action Semantics for Core ML. BRICS Report Series, 11(37). https://doi.org/10.7146/brics.v11i37.21862