Skip to main content

Object-Oriented Operational Semantics

  • Conference paper
  • First Online:
System Analysis and Modeling. Technology-Specific Aspects of Models (SAM 2016)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 9959))

Included in the following conference series:

  • 613 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 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. 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

  1. Börger, E., Stärk, R.F.: Abstract State Machines: A Method for High-Level System Design and Analysis. Springer, Secaucus (2003)

    Book  MATH  Google Scholar 

  2. 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)

    Article  MathSciNet  MATH  Google Scholar 

  3. OMG Editor. OMG Meta Object Facility (MOF) Core Specification Version 2.4.2. Technical report, Object Management Group (2014)

    Google Scholar 

  4. Felleisen, M., Findler, R.B., Flatt, M.: Semantics Engineering with PLT Redex, 1st edn. The MIT Press, Cambridge (2009)

    MATH  Google Scholar 

  5. 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)

    Google Scholar 

  6. Henriksen, J.O.: SLX: the X is for extensibility [simulation software]. In: Proceedings of Simulation Conference, Winter, vol. 1, pp. 183–190 (2000)

    Google Scholar 

  7. 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

    Chapter  Google Scholar 

  8. Kleppe, A., Warmer, J.: MDA Explained. Addison-Wesley, Boston (2003)

    Google Scholar 

  9. 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

    Chapter  Google Scholar 

  10. Mosses, P.D.: Structural operational semantics modular structural operational semantics. J. Logic Algebr. Program. 60, 195–228 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  11. OMG. Meta Object Facility (MOF) 2.0 Query/View/Transformation Specification, Version 1.1, January 2011

    Google Scholar 

  12. Plotkin, G.D.: A structural approach to operational semantics. Technical report DAIMI FN-19, AARHUS UNIVERSITY (DK) (1981)

    Google Scholar 

  13. Roşu, G., Şerbănuţă, T.F.: An overview of the K semantic framework. J. Logic Algebr. Program. 79(6), 397–434 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  14. 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

    Chapter  Google Scholar 

  15. Wider, A.: Model transformation languages for domain-specific workbenches. Ph.D. thesis, Humboldt-Universität zu Berlin (2015)

    Google Scholar 

Download references

Acknowledgements

We thank the anonymous reviewers for their helpful questions and remarks.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andreas Prinz .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics