A Lightweight Approach for Defining the Formal Semantics of a Modeling Language

被引:0
|
作者
Kelsen, Pierre [1 ]
Ma, Qin [1 ]
机构
[1] Univ Luxembourg, Lab Adv Software Syst, L-1359 Luxembourg, Luxembourg
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To define the formal semantics of a modeling language, one normally starts from the abstract syntax and then defines the static semantics and dynamic semantics. Having a formal semantics is important for reasoning about, the language but also for building tools for the language. In this paper we propose a novel approach for this task based oil the Alloy language. With the help of a concrete example language, we contrast this 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 offers the Prospect of making formal definitions easier, hopefully paving the way for a wider adoption of formal techniques in the definition of modeling languages.
引用
收藏
页码:690 / 704
页数:15
相关论文
共 50 条