Taxonomy of Flexible Flexible Linguistic Commitments Dr. Vadim - - PowerPoint PPT Presentation

taxonomy of flexible flexible linguistic commitments
SMART_READER_LITE
LIVE PREVIEW

Taxonomy of Flexible Flexible Linguistic Commitments Dr. Vadim - - PowerPoint PPT Presentation

Taxonomy of Flexible Flexible Linguistic Commitments Dr. Vadim Zaytsev aka @grammarware FlexMDE 2015 What if you miss? Type a quote here. Johnny Appleseed


slide-1
SLIDE 1

Taxonomy of Flexible Linguistic Commitments

  • Dr. Vadim Zaytsev aka @grammarware

FlexMDE 2015

Flexible

slide-2
SLIDE 2

–Johnny Appleseed

“Type a quote here.”

http://cheezburger.com/635909/funny-memes-images-that-prove-design-isnt-for-everybody

What if you miss?

slide-3
SLIDE 3

Mega start

Source Model Transformation Instance Target Model

Jean-Marie Favre, Towards a Basic Theory to Model MDE, 2004.

slide-4
SLIDE 4

Mega start

Source Model

ε

Source Language Transformation Instance Transformation Function Target Model

ε

Target Language

Jean-Marie Favre, Towards a Basic Theory to Model MDE, 2004.

ε

slide-5
SLIDE 5

Mega start

Source Model

ε

Source Language Source Metamodel Transformation Instance Transformation Function Transformation Model Target Model

ε

Target Language Target Metamodel

μ μ μ

Jean-Marie Favre, Towards a Basic Theory to Model MDE, 2004.

ε

slide-6
SLIDE 6

Mega start

Source Model

ε

Source Language

χ

Source Metamodel Transformation Instance Transformation Function Transformation Model Target Model

ε

Target Language Target Metamodel

μ μ χ μ

Jean-Marie Favre, Towards a Basic Theory to Model MDE, 2004.

ε

slide-7
SLIDE 7

Focus

Source Model

ε

Source Language

χ

Source Metamodel Transformation Instance Transformation Function Transformation Model Target Model

ε

Target Language Target Metamodel

μ μ χ μ ε

slide-8
SLIDE 8

Problem 0: Precision

slide-9
SLIDE 9

Two languages

slide-10
SLIDE 10

One language

slide-11
SLIDE 11

Tell me about your refactoring

✓ You accept ✓ all of Java ✓ nothing else ✓ Transform it ✓ Produce ✓ nothing besides ✓ use all features

slide-12
SLIDE 12

Two languages

slide-13
SLIDE 13

Assumed commitment

slide-14
SLIDE 14

Partial applicability

slide-15
SLIDE 15

Language subset

slide-16
SLIDE 16

Conservative mapping

slide-17
SLIDE 17

Liberal mapping

slide-18
SLIDE 18

Robust mapping

slide-19
SLIDE 19

Antirobust mapping

slide-20
SLIDE 20

Fault recovery

slide-21
SLIDE 21

Fault tolerance

slide-22
SLIDE 22

Overtolerance

slide-23
SLIDE 23

Shotgun effect

slide-24
SLIDE 24

Shotgun

http://langsec.org/

slide-25
SLIDE 25

Problem I: Application

slide-26
SLIDE 26

Function extension

slide-27
SLIDE 27

Function extension

slide-28
SLIDE 28

Goal is clear

slide-29
SLIDE 29

Function extension

slide-30
SLIDE 30

Function extension

slide-31
SLIDE 31

Goal is unclear

slide-32
SLIDE 32

Problem II: Composition

slide-33
SLIDE 33

Liberal + conservative = ?

might not be the same extension!

slide-34
SLIDE 34

Streamliners

slide-35
SLIDE 35

=

identity

slide-36
SLIDE 36

Use of =

partial to complete applicability

slide-37
SLIDE 37
  • canoniser
slide-38
SLIDE 38

function composition

  • Use of
slide-39
SLIDE 39
  • codifier
slide-40
SLIDE 40

Use of

preventing the shotgun effect

slide-41
SLIDE 41

normaliser

slide-42
SLIDE 42

Use of

function composition

slide-43
SLIDE 43

Problem III: Calibration

slide-44
SLIDE 44
  • ~

calibrator

slide-45
SLIDE 45

~

regulator

slide-46
SLIDE 46

Problem IV: Overapproximation

slide-47
SLIDE 47

(L→L)→(L→L)→(L→L)

we might get a subset in the end

slide-48
SLIDE 48

id || (L→L) is (L→L)

the only case where streamliners do not help

slide-49
SLIDE 49

Conclusion

✓ Flexible commitments everywhere ✓ Can be considered precisely ✓ Mapping extension is not trivial ✓ Composition with streamliners ✓ Calibration is still not trivial ✓ Occasional overapproximation ✓ Demo at 16:15! ✓ Questions?