Abstract
Operational semantics is one way of providing meaning to an executable language. On a high level of abstraction, operational semantics means to define an interpreter or an abstract machine for the language. In this article, we review the concept of operational semantics in the scope of meta-model-based language definitions and identify challenges and issues. We provide a clean conceptual approach using an object-oriented runtime environment and state change operations, which relies on an underlying abstract virtual machine. We present the approach using a sample language.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
Please note the difference between structure of the language (its constructs, e.g. if-construct), and structure of the runtime (its runtime elements, e.g. a stack frame).
- 2.
SOS as a language (on M3) is functional, not the language described using SOS (on M2). Of course, SOS can be used to describe all kinds of languages.
References
Börger, E., Stärk, R.F.: Abstract State Machines: A Method for High-Level System Design and Analysis. Springer, Secaucus (2003)
Clavel, M., Duran, F., Eker, S., Lincoln, P., Marti-Oliet, N., Meseguer, J., Quesada, J.F.: Rewriting logic and its applications maude: specification and programming in rewriting logic. Theor. Comput. Sci. 285(2), 187–243 (2002)
OMG Editor. OMG Meta Object Facility (MOF) Core Specification Version 2.4.2. Technical report, Object Management Group (2014)
Felleisen, M., Findler, R.B., Flatt, M.: Semantics Engineering with PLT Redex, 1st edn. The MIT Press, Cambridge (2009)
Gjøsæter, T., Prinz, A., Nytun, J.P.: MOF-VM: instantiation revisited. In: Proceedings of the 4th International Conference on Model-Driven Engineering and Software Development, pp. 137–144 (2016)
Henriksen, J.O.: SLX: the X is for extensibility [simulation software]. In: Proceedings of Simulation Conference, Winter, vol. 1, pp. 183–190 (2000)
Kahn, G.: Natural semantics. In: Brandenburg, F.J., Vidal-Naquet, G., Wirsing, M. (eds.) STACS 1987. LNCS, vol. 247, pp. 22–39. Springer, Heidelberg (1987). doi:10.1007/BFb0039592
Kleppe, A., Warmer, J.: MDA Explained. Addison-Wesley, Boston (2003)
Klint, P., Storm, T., Vinju, J.: EASY meta-programming with rascal. In: Fernandes, J.M., Lämmel, R., Visser, J., Saraiva, J. (eds.) GTTSE 2009. LNCS, vol. 6491, pp. 222–289. Springer, Heidelberg (2011). doi:10.1007/978-3-642-18023-1_6
Mosses, P.D.: Structural operational semantics modular structural operational semantics. J. Logic Algebr. Program. 60, 195–228 (2004)
OMG. Meta Object Facility (MOF) 2.0 Query/View/Transformation Specification, Version 1.1, January 2011
Plotkin, G.D.: A structural approach to operational semantics. Technical report DAIMI FN-19, AARHUS UNIVERSITY (DK) (1981)
Roşu, G., Şerbănuţă, T.F.: An overview of the K semantic framework. J. Logic Algebr. Program. 79(6), 397–434 (2010)
Scheidgen, M., Fischer, J.: Human comprehensible and machine processable specifications of operational semantics. In: Akehurst, D.H., Vogel, R., Paige, R.F. (eds.) ECMDA-FA 2007. LNCS, vol. 4530, pp. 157–171. Springer, Heidelberg (2007). doi:10.1007/978-3-540-72901-3_12
Wider, A.: Model transformation languages for domain-specific workbenches. Ph.D. thesis, Humboldt-Universität zu Berlin (2015)
Acknowledgements
We thank the anonymous reviewers for their helpful questions and remarks.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing AG
About this paper
Cite this paper
Prinz, A., Møller-Pedersen, B., Fischer, J. (2016). Object-Oriented Operational Semantics. In: Grabowski , J., Herbold, S. (eds) System Analysis and Modeling. Technology-Specific Aspects of Models . SAM 2016. Lecture Notes in Computer Science(), vol 9959. Springer, Cham. https://doi.org/10.1007/978-3-319-46613-2_9
Download citation
DOI: https://doi.org/10.1007/978-3-319-46613-2_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-46612-5
Online ISBN: 978-3-319-46613-2
eBook Packages: Computer ScienceComputer Science (R0)