Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Xtext at Eclipse DemoCamp London in June 2009
1. developing domain specific languages
Heiko Behrens
Eclipse DemoCamp 2009
London 29.07.2009
E-Mail Heiko.Behrens@itemis.de
Blog www.1160pm.net
2. Xtext?
Xtext is a framework for development of
external textual DSLs.
A domain specific language (DSL)
in the context of modeling
is a formal, processable language
targeting at a specific viewpoint or aspect
of a software system.
Its semantics, flexibility and notation is designed
in order to support working with that viewpoint
as good as possible.
4. “ Queen to c7.
Check.”
“ Rd2-c2 ,
”
rook at d2 moves to c2.
5. Moves in Chess:
!ook at a1 moves to a5.
P
iece S q uare A
ction
De stin ation
"ishop at c8 captures knight at h3.n
P
iece S q uare io
Action
D
es tinat
# b1 x c3
Piece S qua re ction stination
AD e
$2 - g4
ation
S A D
quar
e ction e stin
15. DSLs in real world scenarios
modeling data
describe architectures
configuration
business rules
documentation
data mappings
navigation on object graphs
constraints
knitting patterns
...