Tata AIG General Insurance Company - Insurer Innovation Award 2024
Domain Specific Languages With Eclipse Modeling
1. Software Installation
• Unzip the Eclipse distribution matching your OS
Windows users: Use a location close to the root directory
• Run the Eclipse executable
• Choose File -> Import -> Existing projects into workspace
• Select Archive file and choose workspace.zip from the USB
stick
24. Editor
AST TeX Xpa
T ma p
TeXeXpa p n nd
m l
p
Te m a p n ad
m pln lad te
pl ad te
at te
e
Generator
25. Editor
AST TeX Xpa
T ma p
TeXeXpa p n nd
m l
p
Te m a p n ad
m pln lad te
pl ad te
at te
e
Generator
26. Editor
AST TeX Xpa
T ma p
TeXeXpa p n nd
m l
p
Te m a p n ad
m pln lad te
pl ad te
at te
e
Generator
E
Ex xe
Ex A c
r
Ex Ae etcu uta
Aecrtcuifata bl
A rti uifata ctbl e
rt fata ctb e
ifa c b le
ct t le
28. Generation Gap
Pattern
BaseClass
baseMethod()
framework
manually written
AbstractGeneratedClass
generatedMethod() generated
ConcreteCustomizedClass
overriddenMethod()
generated once
additionalMethod() modified manually
29. Questions?
find out more at
http://www.xtext.org
Notas del editor
stückweise durchgehen
Java schlecht im Abstrahieren von Struktur, Redundanz
Code-Generierung definiert Platform-Mapping (Architekt)
Referenz aus anderen DSLs, Wartbarkeit
Java schlecht im Abstrahieren von Struktur, Redundanz
Code-Generierung definiert Platform-Mapping (Architekt)
Referenz aus anderen DSLs, Wartbarkeit
Java schlecht im Abstrahieren von Struktur, Redundanz
Code-Generierung definiert Platform-Mapping (Architekt)
Referenz aus anderen DSLs, Wartbarkeit
Raise level of abstraction, Avoids redundancy
Separation of concerns, Reuse of domain concepts
Higher expressiveness, Ubiquitous language
Die DSL für DSLs, Eclipse-basiert
Define textual DSLs easily, Ready-to-use tool-chain, Easy but flexible customizing and tweaking,
Durable foundation with Java Eclipse EMF, Strong community