31.01.2014 Views

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.1. Meta Meta Models<br />

<br />

::= | <br />

::= "" <br />

"::=" <br />

::= " " | ""<br />

::= | " | " <br />

::= "\n" | <br />

::= | <br />

::= < l i t e r a l > | ""<br />

< l i t e r a l > ::= ’ " ’ ’ " ’ | " ’" " ’"<br />

Figure 3.13.: BNF syntax defined as BNF<br />

To define a new DSL, a corr<strong>es</strong>ponding syntax has to be defined by a BNF and certain models<br />

in the new DSL have to comply to the grammar. Figure 3.14 shows how the BNF instanc<strong>es</strong><br />

integrate in a DSM architecture.<br />

BNF<br />

instantiat<strong>es</strong><br />

Grammar<br />

instantiat<strong>es</strong><br />

Model<br />

instantiat<strong>es</strong><br />

Code<br />

Figure 3.14.: BNF DSM instanc<strong>es</strong><br />

The Extended Backus-Naur Form (EBNF) is a small extension for the BNF that mainly<br />

adds possibiliti<strong>es</strong> to define optional or repetitive elements. Those can only be defined in a<br />

simple BNF by recursion, which caus<strong>es</strong> more complex BNF statements.<br />

3.1.5. Graph, Object, Property, Role, and Relationship<br />

Graph, Object, Property, Role, and Relationship (GOPRR) [45, app. A] consists mainly of the<br />

elements its name mentions. It was d<strong>es</strong>igned for the easy and fast development of graphical<br />

meta models and models.<br />

Generally, all elements in GOPRR are divided in two groups: Properti<strong>es</strong> and non-properti<strong>es</strong><br />

while all non-properti<strong>es</strong> can have properti<strong>es</strong>. Figure 3.15 shows the relation of all elements. The<br />

possible typ<strong>es</strong> of properti<strong>es</strong> do not have to be limited in GOPRR. Neverthel<strong>es</strong>s, in practical<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!