Abstract
Most languages in Model Driven Engineering (MDE) are defined by metamodels. Metamodels specify the structural aspects of models but do not capture the computational meaning of the modeling constructs (the dynamic semantics). There are several semantic definition frameworks used for programming languages. In this paper we study the suitability of Action Semantics proposed by P. D. Mosses for defining dynamic semantics for modeling languages. Action Semantics provides an intuitive textual notation and allows modular semantic specifications. However, it is originally proposed for grammar-based languages. The application of Action Semantics to metamodel-based languages requires studying how the action notation can be used with graph structures. We built a compiler that translates models to action trees and a simulator that executes action trees. In this way models become executable and their behavior can be studied at an early modeling phase. We implemented several examples to gain experience of using Action Semantics for modeling languages.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.