Abstract
Modeling languages (like UML and SysML) are those used in model-based specification of software-intensive systems. Like programming languages, they are defined using their syntax and semantics. However, both kinds of languages are defined by different communities, and in response to different requirements, which makes their methodologies and tools different. In this paper, we highlight the main differences between the definition methodologies of modeling and programming languages. We also discuss the impact of these differences on language tool support. We illustrate our ideas using examples from known programming and modeling languages. We also present a case study, where we analyze the definition of a new modeling language called the Ontology Modeling Language (OML). We highlight the requirements that have driven OML definition and explain how they are different from those driving typical programming languages. Finally, we discuss how these differences are being abstracted away using new language definition tools.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Hopcroft, J., Ullman, J.: Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, Reading (1979)
Object Management Group: OMG Unified Modeling Language, version 2.5.1 (2017). http://www.omg.org/spec/UML/2.5.1/
Object Management Group: OMG System Modeling Language, version 1.5 (2017). http://www.omg.org/spec/SysML/1.5/
Object Management Group: Business Process Model And Notation, version 2.0.2 (2014). http://www.omg.org/spec/BPMN/2.0.2/
Object Management Group: Meta Object Facility, version 2.5.1 (2016). http://www.omg.org/spec/MOF/2.5.1/
Jet Propulsion Laboratory: Ontology Modeling Language (OML) Workbench (2018). https://github.com/JPL-IMCE/gov.nasa.jpl.imce.oml.core
Scowen, R.: Extended BNF — A generic base standard. In: Software Engineering Standards Symposium (1993)
Levine, J., Mason, T., Brown, D.: "Lex & Yacc," O’Reilly & Associates, October 1992. ISBN: 1565920007
Parr, T.: “ANTLR”. http://www.antlr.org/
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1995)
Steinberg, D., Budinsky, F., Paternostro, M., Merks, E.: EMF: Eclipse Modeling Framework, 2nd edn. (2009)
Merks, E.: “Xcore”. https://wiki.eclipse.org/Xcore
Object Management Group: Object Constraint Language, version 2.4 (2014). http://www.omg.org/spec/OCL/2.4/
Object Management Group: XML Metadata Interchange, version 2.5.1 (2015). http://www.omg.org/spec/XMI/2.5.1/
Object Management Group: MOF Model to Text Transformation Language, version 1.0 (2008). http://www.omg.org/spec/MOFM2T/1.0/
Obeo: Acceleo. https://www.eclipse.org/acceleo/
TypeFox: Xtext. https://www.eclipse.org/Xtext/
Object Management Group: Diagram Definition, version 1.1 (2015). http://www.omg.org/spec/DD/1.1/
Object Management Group: MOF Query/View/Transformation, version 1.3 (2016). http://www.omg.org/spec/QVT/1.3/
CEA-LIST: Papyrus. https://www.eclipse.org/papyrus/
Eclipse: Graphical Modeling Project (GMP). http://www.eclipse.org/modeling/gmp/
Obeo: Sirius. https://www.eclipse.org/sirius/
Object Management Group: Business Motivation Model, version 1.3 (2015). http://www.omg.org/spec/BMM/1.3/
Object Management Group: Semantics of a Foundational Subset for Executable UML Models, version 1.3 (2017). http://www.omg.org/spec/FUML/1.3/
Microsoft: Language Server Protocol. https://microsoft.github.io/language-server-protocol/
Eclipse: CDO Model Repository. https://projects.eclipse.org/projects/modeling.emf.cdo
Git. https://git-scm.com/
Eclipse: EMF Compare. https://www.eclipse.org/emf/compare/
W3C: OWL 2 Web Ontology Language Primer (2nd edn.) (2012). https://www.w3.org/TR/owl2-primer/
Apache: Apache Jena. https://jena.apache.org/
W3C: SPARQL Query Language for RDF (2008). https://www.w3.org/TR/rdf-sparql-query/
Apache: Apache Spark. https://spark.apache.org/
Object Management Group: Action Language for Foundational UML, version 1.1 (2017). http://www.omg.org/spec/ALF/1.1/
Eclipse: Xtend. https://www.eclipse.org/xtend/
React: Introducing JSX. https://reactjs.org/docs/introducing-jsx.html
R-Project The R Project for Statistical Analysis. https://www.r-project.org/
Acknowledgement
The research was carried out at the Jet Propulsion Laboratory, California Institute of Technology, under a contract with the National Aeronautics and Space Administration.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
Disclaimer
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise, does not constitute or imply its endorsement by the United States Government or the Jet Propulsion Labor.
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Elaasar, M. (2018). Definition of Modeling vs. Programming Languages. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation. Modeling. ISoLA 2018. Lecture Notes in Computer Science(), vol 11244. Springer, Cham. https://doi.org/10.1007/978-3-030-03418-4_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-03418-4_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-03417-7
Online ISBN: 978-3-030-03418-4
eBook Packages: Computer ScienceComputer Science (R0)