Software Language Engineering For Domain Specific Language DIT976 at Göteborg University | Flashcards & Summaries

Suggested languages for you:

# Lernmaterialien für Software Language Engineering for Domain Specific Language DIT976 an der Göteborg University

Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen Software Language Engineering for Domain Specific Language DIT976 Kurs an der Göteborg University zu.

TESTE DEIN WISSEN

Name three Domain Specific Languages

Lösung anzeigen
TESTE DEIN WISSEN

regular expressions[-+]?[0-9]*\.?[0-9]+
SQL: SELECT ... FROM ... WHERE ...
CSS/HTML: b{ color: #926C41 }

Lösung ausblenden
TESTE DEIN WISSEN

What is Model-Driven (Software) Engineering (MDE)

Lösung anzeigen
TESTE DEIN WISSEN

Its a software-engineering methodology that focuses on creating and exploiting models to produce software

Lösung ausblenden
TESTE DEIN WISSEN

Syntactic Sugar - Regex
What does the kleene star (*) do?

Lösung anzeigen
TESTE DEIN WISSEN
In regular expressions, the Kleene star basically means "zero or more of the preceding item". (Wikipedia says that "R* denotes the smallest superset of set described by R that contains ε and is closed under string concatenation. This is the set of all strings that can be made by concatenating any finite number (including zero) of strings from set described by R.") So the regular expression "a*" means "zero or more 'a's", e.g. "", "a", "aa", "aaa" etc.
Lösung ausblenden
TESTE DEIN WISSEN

What does syntactic sugar mean? : )

Lösung anzeigen
TESTE DEIN WISSEN

syntax within a programming language that is designed to make things easier to read or to express.

Lösung ausblenden
TESTE DEIN WISSEN

What does disjoint (math) mean?

Lösung anzeigen
TESTE DEIN WISSEN
(of two or more sets) having no elements in common.

For example, {1, 2, 3} and {4, 5, 6} are disjoint sets, while {1, 2, 3} and {3, 4, 5} are not disjoint.
Lösung ausblenden
TESTE DEIN WISSEN

What is EBNF? ( Extended Backus-Naur Form)

Lösung anzeigen
TESTE DEIN WISSEN

The EBNF is a way to specify a formal language grammar. It can be considered a metalanguage because it is a language to describe other languages

Lösung ausblenden
TESTE DEIN WISSEN

What is a formal language?

Lösung anzeigen
TESTE DEIN WISSEN

formal language is a language with a precise structure, like programming languages, data languages, or Domain Specific Languages (DSLs). Java, XML, and CSS are all examples of formal languages.

Lösung ausblenden
TESTE DEIN WISSEN

What is context free grammar?

Lösung anzeigen
TESTE DEIN WISSEN

- a set of productions over disjoint sets of terminal symbols (tokens) and nonterminal  symbols

Lösung ausblenden
TESTE DEIN WISSEN

What is an LL parser?

Lösung anzeigen
TESTE DEIN WISSEN

In computer science, an LL parser (Left-to-right, leftmost derivation) is a top-down parser for a restricted context-free language. It parses the input from Left to right, performing Leftmost derivation of the sentence.

Lösung ausblenden
TESTE DEIN WISSEN

What can you use to make an Abstract syntax tree?

Lösung anzeigen
TESTE DEIN WISSEN

A metamodelling tool e.g., Eclipse Modeling Framework

Metamodelling Specifies the structure of the AST

Lösung ausblenden
TESTE DEIN WISSEN

What can you use to apply Static Semantics?

Lösung anzeigen
TESTE DEIN WISSEN

OCL constraints

Lösung ausblenden
TESTE DEIN WISSEN

What are the advantages of DSL's?

Lösung anzeigen
TESTE DEIN WISSEN

less expressive
separates domain related and infrastructure code
improves communication with domain experts and customers

Lösung ausblenden
• 3033 Karteikarten
• 315 Studierende
• 12 Lernmaterialien

## Beispielhafte Karteikarten für deinen Software Language Engineering for Domain Specific Language DIT976 Kurs an der Göteborg University - von Kommilitonen auf StudySmarter erstellt!

Q:

Name three Domain Specific Languages

A:

regular expressions[-+]?[0-9]*\.?[0-9]+
SQL: SELECT ... FROM ... WHERE ...
CSS/HTML: b{ color: #926C41 }

Q:

What is Model-Driven (Software) Engineering (MDE)

A:

Its a software-engineering methodology that focuses on creating and exploiting models to produce software

Q:

Syntactic Sugar - Regex
What does the kleene star (*) do?

A:
In regular expressions, the Kleene star basically means "zero or more of the preceding item". (Wikipedia says that "R* denotes the smallest superset of set described by R that contains ε and is closed under string concatenation. This is the set of all strings that can be made by concatenating any finite number (including zero) of strings from set described by R.") So the regular expression "a*" means "zero or more 'a's", e.g. "", "a", "aa", "aaa" etc.
Q:

What does syntactic sugar mean? : )

A:

syntax within a programming language that is designed to make things easier to read or to express.

Q:

What does disjoint (math) mean?

A:
(of two or more sets) having no elements in common.

For example, {1, 2, 3} and {4, 5, 6} are disjoint sets, while {1, 2, 3} and {3, 4, 5} are not disjoint.
Q:

What is EBNF? ( Extended Backus-Naur Form)

A:

The EBNF is a way to specify a formal language grammar. It can be considered a metalanguage because it is a language to describe other languages

Q:

What is a formal language?

A:

formal language is a language with a precise structure, like programming languages, data languages, or Domain Specific Languages (DSLs). Java, XML, and CSS are all examples of formal languages.

Q:

What is context free grammar?

A:

- a set of productions over disjoint sets of terminal symbols (tokens) and nonterminal  symbols

Q:

What is an LL parser?

A:

In computer science, an LL parser (Left-to-right, leftmost derivation) is a top-down parser for a restricted context-free language. It parses the input from Left to right, performing Leftmost derivation of the sentence.

Q:

What can you use to make an Abstract syntax tree?

A:

A metamodelling tool e.g., Eclipse Modeling Framework

Metamodelling Specifies the structure of the AST

Q:

What can you use to apply Static Semantics?

A:

OCL constraints

Q:

What are the advantages of DSL's?

A:

less expressive
separates domain related and infrastructure code
improves communication with domain experts and customers

### Erstelle und finde Lernmaterialien auf StudySmarter.

Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.

## Das sind die beliebtesten Software Language Engineering for Domain Specific Language DIT976 Kurse im gesamten StudySmarter Universum

##### Software engineering

ZHAW - Zürcher Hochschule für Angewandte Wissenschaften