SlideShare a Scribd company logo
Reusable Specification of
Non-functional Properties
in DSLs
Francisco Durán, Steffen Zschaler, and Javier Troya
28 September, 2012
Context
• Model-driven Engineering (MDE)
– Domain-Specific Languages defined through
• Metamodels (abstract syntax)
• Graphics (concrete syntax)
• Language Semantics
– Models are token models
– Semantics is given through rewriting
• Specified using in-place model transformations
28/09/2012 (c) Durán, Zschaler, Troya 2
Example: A Production Line
28/09/2012 (c) Durán, Zschaler, Troya 3
Example: A Production Line
28/09/2012 (c) Durán, Zschaler, Troya 3
Example: A Production Line
28/09/2012 (c) Durán, Zschaler, Troya 3
Example: A Production Line
28/09/2012 (c) Durán, Zschaler, Troya 3
Non-functional Properties
28/09/2012 (c) Durán, Zschaler, Troya 4
Non-functional Properties
28/09/2012 (c) Durán, Zschaler, Troya 4
Non-functional Properties
28/09/2012 (c) Durán, Zschaler, Troya 4
Analysis Opportunities
DSL models
Defined by the user
+
Behavioral
Model
Structural
Model
Ecore (MOF)
José E. Rivera, Francisco Durán and Antonio Vallecillo: On the Behavioral Semantics of Real-Time
Domain Specific Visual Languages. In Rewriting Logic and Its Applications, LNCS 6381, pp. 174–190
28/09/2012
Analysis Opportunities
DSL models
Defined by the user
+
Behavioral
Model
Structural
Model
Ecore (MOF)
Rewriting Logic
Semantic Domain
Transparent to the user
Semantic Mappings
Transparent to the user
(Real-Time) Maude
Simulation, reachability analysis, model checking
José E. Rivera, Francisco Durán and Antonio Vallecillo: On the Behavioral Semantics of Real-Time
Domain Specific Visual Languages. In Rewriting Logic and Its Applications, LNCS 6381, pp. 174–190
28/09/2012
Analysis Opportunities
DSL models
Defined by the user
+
Behavioral
Model
Structural
Model
Ecore (MOF)
Rewriting Logic
Semantic Domain
Transparent to the user
Semantic Mappings
Transparent to the user
(Real-Time) Maude
Simulation, reachability analysis, model checking
José E. Rivera, Francisco Durán and Antonio Vallecillo: On the Behavioral Semantics of Real-Time
Domain Specific Visual Languages. In Rewriting Logic and Its Applications, LNCS 6381, pp. 174–190
28/09/2012
•Observer values after simulation give predictions,
•(Probabilistic) Model checking can be used to
verify satisfaction of NFPs
28/09/2012 (c) Durán, Zschaler, Troya 6
A Different Example
28/09/2012 (c) Durán, Zschaler, Troya 6
A Different Example
28/09/2012 (c) Durán, Zschaler, Troya 6
A Different Example
28/09/2012 (c) Durán, Zschaler, Troya 6
A Different Example
28/09/2012 (c) Durán, Zschaler, Troya 6
A Different Example
28/09/2012 (c) Durán, Zschaler, Troya 6
A Different Example
28/09/2012 (c) Durán, Zschaler, Troya 6
A Different Example
Problem: Complete redefinition of response time.
Better:
Extract definition of response time into a separate
DSL and weave it in.
Modularised Response Time
Observer
28/09/2012 (c) Durán, Zschaler, Troya 7
MMResponseTime Server, Queue,
Request
Modularised Response Time
Observer
28/09/2012 (c) Durán, Zschaler, Troya 7
MMResponseTime Server, Queue,
Request
Weaving Languages
28/09/2012 (c) Durán, Zschaler, Troya 8
Weaving Languages
28/09/2012 (c) Durán, Zschaler, Troya 8
Weaving Languages
28/09/2012 (c) Durán, Zschaler, Troya 8
Weaving Languages
28/09/2012 (c) Durán, Zschaler, Troya 8
Weaving Languages
28/09/2012 (c) Durán, Zschaler, Troya 9
Weaving Languages (2)
28/09/2012 (c) Durán, Zschaler, Troya 10
Weaving Languages (2)
28/09/2012 (c) Durán, Zschaler, Troya 10
Weaving Languages (2)
28/09/2012 (c) Durán, Zschaler, Troya 10
Weaving Languages (2)
28/09/2012 (c) Durán, Zschaler, Troya 10
Weaving Languages (2)
28/09/2012 (c) Durán, Zschaler, Troya 11
Sanity Conditions
• Need to ensure that adding observers
does not change behaviours
Transformation step possible for model expressed in DSL
 Step still possible in the same model expressed in DSL +
Observers (possibly including appropriate observer objects)
• For any legal model and transformation
sequence
28/09/2012 (c) Durán, Zschaler, Troya 12
DSLMMDSL M
DSL
M
Sanity Conditions
• Need to ensure that adding observers
does not change behaviours
Transformation step possible for model expressed in DSL
 Step still possible in the same model expressed in DSL +
Observers (possibly including appropriate observer objects)
• For any legal model and transformation
sequence
28/09/2012 (c) Durán, Zschaler, Troya 12
DSLMMDSL M
DSL
M
This condition can only be checked once the merge has
been performed.
We provide conditions to be checked of the observer
model and the binding that imply the condition below.
Conclusions
• We show composition of language semantics
– For DSLs based on in-place transformation
– For conservative extensions
• Two checkable conditions to verify consistency of
such extensions
– One can be checked of observer language independent of
composition
• Currently working to weaken some of the
assumptions made on base language and binding,
etc.
28/09/2012 (c) Durán, Zschaler, Troya 13
QUESTIONS?
28/09/2012 (c) Durán, Zschaler, Troya 14

More Related Content

PPT
NL to OCL via SBVR
PPTX
FESCA 2015 keynote
PPTX
Crepe Complete -- Slides CMSEBA2014
PPTX
National Career Readiness Certification: An Overview
PPTX
How effective is the combination of your main product and the ancillary text?
PPTX
How effective is the combination of your main product and the ancillary text?
PDF
JenkinsCI
DOCX
Analysis on questionnaire results
NL to OCL via SBVR
FESCA 2015 keynote
Crepe Complete -- Slides CMSEBA2014
National Career Readiness Certification: An Overview
How effective is the combination of your main product and the ancillary text?
How effective is the combination of your main product and the ancillary text?
JenkinsCI
Analysis on questionnaire results

Viewers also liked (8)

PDF
The Drive for School Bus WiFi Gets in Gear
DOCX
How women are represented in media
DOCX
How women are objectified in mainstream television
PPTX
Keynote Extreme Modelling 2014
DOCX
Historieta de informatica
PPTX
Towards Model-Based Optimisation: Using Domain Knowledge Explicitly (MELO 2016)
PPTX
MobAir_Presentation_2016
PPTX
Second order homogeneous linear differential equations
The Drive for School Bus WiFi Gets in Gear
How women are represented in media
How women are objectified in mainstream television
Keynote Extreme Modelling 2014
Historieta de informatica
Towards Model-Based Optimisation: Using Domain Knowledge Explicitly (MELO 2016)
MobAir_Presentation_2016
Second order homogeneous linear differential equations
Ad

Similar to Reusable Specification of Non-functional Properties in DSLs (20)

PPTX
On the Semantics of Real-Time Domain Specific Modeling Languages
KEY
On the Use of an Internal DSL for Enriching EMF Models
PPTX
Event-driven Model Transformations in Domain-specific Modeling Languages
PDF
MODELS 2019: Querying and annotating model histories with time-aware patterns
PDF
overview.pdf
PPT
M03 2 Behavioral Diagrams
PDF
What's Missing in Language Workbenches
PDF
Scrapping Your Inefficient Engine
PDF
Oopsla 2008 Panel Ds Ls The Good The Bad And The Ugly
PPTX
Domain Specific Language Design
PDF
Executable modeling & dynamic adaptation
PDF
PPT
System Programming Lec - 03.ppt
PDF
Reverse-Engineering Reusable Language Modules from Legacy DSLs
PDF
Metamorphic Domain-Specific Languages
PDF
Comparison of the Formal Specification Languages Based Upon Various Parameters
PPTX
OOAD___Advanced Behavioral Modeling.pptx
PDF
Paper 55 final
PDF
Generating JADE agents from SDL specifications
PDF
Everything is Subjective
On the Semantics of Real-Time Domain Specific Modeling Languages
On the Use of an Internal DSL for Enriching EMF Models
Event-driven Model Transformations in Domain-specific Modeling Languages
MODELS 2019: Querying and annotating model histories with time-aware patterns
overview.pdf
M03 2 Behavioral Diagrams
What's Missing in Language Workbenches
Scrapping Your Inefficient Engine
Oopsla 2008 Panel Ds Ls The Good The Bad And The Ugly
Domain Specific Language Design
Executable modeling & dynamic adaptation
System Programming Lec - 03.ppt
Reverse-Engineering Reusable Language Modules from Legacy DSLs
Metamorphic Domain-Specific Languages
Comparison of the Formal Specification Languages Based Upon Various Parameters
OOAD___Advanced Behavioral Modeling.pptx
Paper 55 final
Generating JADE agents from SDL specifications
Everything is Subjective
Ad

Recently uploaded (20)

PPTX
Microbiology with diagram medical studies .pptx
PDF
Sciences of Europe No 170 (2025)
PDF
HPLC-PPT.docx high performance liquid chromatography
PDF
AlphaEarth Foundations and the Satellite Embedding dataset
PDF
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
PPTX
Introduction to Cardiovascular system_structure and functions-1
PPTX
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
PDF
Biophysics 2.pdffffffffffffffffffffffffff
PPTX
BIOMOLECULES PPT........................
PDF
An interstellar mission to test astrophysical black holes
PPT
POSITIONING IN OPERATION THEATRE ROOM.ppt
PPTX
Cell Membrane: Structure, Composition & Functions
PDF
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PPTX
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
PPTX
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
PPTX
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
PPTX
Comparative Structure of Integument in Vertebrates.pptx
PDF
The scientific heritage No 166 (166) (2025)
PPTX
ECG_Course_Presentation د.محمد صقران ppt
Microbiology with diagram medical studies .pptx
Sciences of Europe No 170 (2025)
HPLC-PPT.docx high performance liquid chromatography
AlphaEarth Foundations and the Satellite Embedding dataset
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
Introduction to Cardiovascular system_structure and functions-1
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
Biophysics 2.pdffffffffffffffffffffffffff
BIOMOLECULES PPT........................
An interstellar mission to test astrophysical black holes
POSITIONING IN OPERATION THEATRE ROOM.ppt
Cell Membrane: Structure, Composition & Functions
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
7. General Toxicologyfor clinical phrmacy.pptx
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
Comparative Structure of Integument in Vertebrates.pptx
The scientific heritage No 166 (166) (2025)
ECG_Course_Presentation د.محمد صقران ppt

Reusable Specification of Non-functional Properties in DSLs