A multi paradigm foundation for model transformation language engineering
Download
1 / 27

A Multi-Paradigm Foundation for Model Transformation Language Engineering - PowerPoint PPT Presentation


  • 101 Views
  • Uploaded on

A Multi-Paradigm Foundation for Model Transformation Language Engineering. Eugene Syriani. Outline. Context Thesis Overview of the Approach Planning Conclusion. Model-Driven Engineering. Meta-Model. conforms to. Model. Transmission. Security. Wheel. Speed control.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' A Multi-Paradigm Foundation for Model Transformation Language Engineering' - yadid


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
A multi paradigm foundation for model transformation language engineering
A Multi-Paradigm Foundation for Model Transformation Language Engineering

Eugene Syriani


Outline
Outline Language Engineering

  • Context

  • Thesis

  • Overview of the Approach

  • Planning

  • Conclusion


Model driven engineering
Model-Driven Engineering Language Engineering

Meta-Model

conforms to

Model

Transmission

Security

Wheel

Speed control

Electric circuits

Resistance to snow

Mechanics of engine

represented by

System


Multi paradigm modelling mpm
Multi-Paradigm Modelling (MPM) Language Engineering

  • Multi-formalism

    • Domain-specific formalisms

  • Multi-abstraction

  • Meta-Modelling

  • Model Transformation

  • Model everything

    • Explicitly

    • At the most appropriate level of abstraction

    • Using the most appropriate formalism


Model transformation
Model Transformation Language Engineering

  • Manipulate: access & modify operations

  • Simulate: execution

  • Generatecode: compilation

  • Translate: into other models

M1

M2

M3


Model transformation development
Model Transformation Development Language Engineering

Meta-Model of domain


Model transformation development1
Model Transformation Development Language Engineering

Generate Modelling Environment


Model transformation development2
Model Transformation Development Language Engineering

Transformation Specification

1

1

5

pacLink

ghostLink

ghostLink

7

4

4

1

1

1

2

1

2

2

2

4

6

5

pacLink

pacLink

2

2

3

3

3

3

6

3

3

ghostLink

ghostLink

gridLeft

gridLeft

foodLink

1: returnself.LHS.nodeWithLabel(1).score + 1

4

4

pacLink

ghostLink

pacLink

6

1

2

1

1

2

5

8

3

3

7

gridRight

4

gridRight

4


Model transformation development3
Model Transformation Development Language Engineering

Execution

  • Given input model

  • Run transformation

    • Rules

    • Unordered, Priority, Layer, Control Flow

  • Output

    • New model

    • Modified model


Problem statement
Problem statement Language Engineering

  • Meta-Modelling: well established

    • Language for model specification

    • Automatic generation of modelling environments

  • Focus on transformations

    • Robust theoretical foundation (e.g., graph transformation)

    • Plethora of model transformation languages (MTL)

      AGG, ATL, AToM3, FUJABA, GReAT, MOFLON, ProGreS, QVT, VMTS, VIATRA2, ...

    • Each one provides tremendous value for its domain of expertise

      • No interoperability

      • Implementation of transformation paradigm is hard-coded


My thesis
My Thesis Language Engineering

  • Contribute to the engineering of model transformation languages

    • At the foundation level

    • Following MPM principles

  • Model everything:

    • syntax of MTL

    • semantics of MTL

  • Provide a framework for building MTLs

  • Design & implement a new MTL, following MPM principles

    • Core algorithms

    • Language building blocks

    • Formalism

  • Focusing on expressiveness of MTL


Solution
Solution Language Engineering


Explicit modelling of transformations
Explicit Modelling of Transformations Language Engineering

  • Consider MTLs as domain-specific languages

  • Explicitly model the patterns & the scheduling

NAC

LHS

RHS

Pre-condition Pattern

Post-condition Pattern


Modelling the mtl
Modelling the MTL Language Engineering


Ram process
RAM Process Language Engineering

(quasi-)Automatically generated environment for pattern language

  • Input Meta-Model

  • Output Meta-Model

  • Relax Augment Modify

  • Customized Pattern Meta-Model


Transformation specification
Transformation specification Language Engineering

Domain-Specific Transformation Patterns


Minimal transformation core
Minimal Transformation Core Language Engineering

Features that allow the execution of MTL

  • Pre-/post- patterns

  • Matching

  • Rewriting

  • Validation of consistent rule application

  • Matches manipulation

    • Iteration

    • Roll-back

  • Control flow

    • Choice

    • Concurrency

  • Composition

  • Common representation


T core
T-Core Language Engineering

  • Executable module

  • Efficient implementation of the Matcher & the Rewriter

  • Combine primitive transformation constructs with “glue language”

    • Programming language

      SBL, Python

    • Modelling language

      UML Activity Diagrams, DEVS


Motif core
Motif-Core Language Engineering

T-Core

DEVS


Motif core1
Motif-Core Language Engineering

DEVS

T-Core

MoTif-Core


Motif
MoTif Language Engineering

Meta-Model

Semantics


Transformation exception handling
Transformation Exception Handling Language Engineering

  • Identification & classification

  • Modelling of transformation exceptions

  • Exception handling specification in the MT itself

    • Post-handling control flow

    • Propagation mechanism


Motif framework
Motif Framework Language Engineering


Planning
Planning Language Engineering


What is remaining
What is Remaining? Language Engineering

Mainly: implementation...

  • RAM process

    • Evaluate usability of a completely modelled environment for designing model transformation

  • T-Core

    • Module based on a model-centric virtual machine

    • Usable with Python & DEVS

    • Efficient Matcher & Rewriter

  • MoTif-Core

    • Compiler to DEVS

  • MoTif Framework

    • Insert in the loop

    • Support higher-order transformations

    • Support exception handling


What is remaining1
What is Remaining? Language Engineering

... and case studies

  • CD2RDBMS

    • Using MoTif

  • AntWorld Simulation

    • Using T-Core & Python

  • PacMan Game

    • Using MoTif & extended MoTif-Core

  • Aspect Weaving

    • Using MoTif


Conclusion
Conclusion Language Engineering

  • Novel approach for designing MTLs

  • Based on MPM principles

  • Three model transformation formalisms

    • Primitive building blocks (T-Core)

      • Problem-specific pattern language

    • Modularly composable, asynchronous, timed transformations (MoTif-Core)

    • General purpose transformation (MoTif)

  • Performance analyses

  • Compare to other model transformation engineering approaches


ad