Techreport,

A Formal Definition of the EP Language

, and .
Laboratory for Advanced Software Systems, University of Luxembourg, (May 2008)

Abstract

The purpose of this paper is two-fold: rst, to give a formal semantics to a declarative executable modeling language called EP; second, to introduce a new approach for dening the formal semantics of a modeling language and to compare it, in the case of the EP language, with traditional approaches for dening the formal semantics of a modeling language. To define the formal semantics of a modeling language, one normally starts from the abstract syntax and then denes the static semantics and dynamic semantics. The availability of a formal semantics is important for reasoning about the language but also for building tools for the language. In this paper we propose the Alloy language as a unied notation for this task. For the concrete example of the EP language, we contrast the Alloy approach with traditional methods based on formal languages, type checking, meta-modeling and operational semantics. Although both Alloy and traditional techniques yield a formal semantics of the language, the Alloy-based approach has two key advantages: a uniform notation, and immediate automatic analyzability using the Alloy analyzer. Together with the simplicity of Alloy, our approach oers the prospect of making formal denitions easier, hopefully paving the way for a wider adoption of formal techniques in the definition of modeling languages.

Tags

Users

  • @leonardo

Comments and Reviews