- AutorIn
- Sven Karol
- Titel
- Well-Formed and Scalable Invasive Software Composition
- Zitierfähige Url:
- https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa-170162
- Übersetzter Titel (DE)
- Wohlgeformte und Skalierbare Invasive Softwarekomposition
- Datum der Einreichung
- 17.11.2014
- Datum der Verteidigung
- 18.05.2015
- Abstract (EN)
- Software components provide essential means to structure and organize software effectively. However, frequently, required component abstractions are not available in a programming language or system, or are not adequately combinable with each other. Invasive software composition (ISC) is a general approach to software composition that unifies component-like abstractions such as templates, aspects and macros. ISC is based on fragment composition, and composes programs and other software artifacts at the level of syntax trees. Therefore, a unifying fragment component model is related to the context-free grammar of a language to identify extension and variation points in syntax trees as well as valid component types. By doing so, fragment components can be composed by transformations at respective extension and variation points so that always valid composition results regarding the underlying context-free grammar are yielded. However, given a language’s context-free grammar, the composition result may still be incorrect. Context-sensitive constraints such as type constraints may be violated so that the program cannot be compiled and/or interpreted correctly. While a compiler can detect such errors after composition, it is difficult to relate them back to the original transformation step in the composition system, especially in the case of complex compositions with several hundreds of such steps. To tackle this problem, this thesis proposes well-formed ISC—an extension to ISC that uses reference attribute grammars (RAGs) to specify fragment component models and fragment contracts to guard compositions with context-sensitive constraints. Additionally, well-formed ISC provides composition strategies as a means to configure composition algorithms and handle interferences between composition steps. Developing ISC systems for complex languages such as programming languages is a complex undertaking. Composition-system developers need to supply or develop adequate language and parser specifications that can be processed by an ISC composition engine. Moreover, the specifications may need to be extended with rules for the intended composition abstractions. Current approaches to ISC require complete grammars to be able to compose fragments in the respective languages. Hence, the specifications need to be developed exhaustively before any component model can be supplied. To tackle this problem, this thesis introduces scalable ISC—a variant of ISC that uses island component models as a means to define component models for partially specified languages while still the whole language is supported. Additionally, a scalable workflow for agile composition-system development is proposed which supports a development of ISC systems in small increments using modular extensions. All theoretical concepts introduced in this thesis are implemented in the Skeletons and Application Templates framework SkAT. It supports “classic”, well-formed and scalable ISC by leveraging RAGs as its main specification and implementation language. Moreover, several composition systems based on SkAT are discussed, e.g., a well-formed composition system for Java and a C preprocessor-like macro language. In turn, those composition systems are used as composers in several example applications such as a library of parallel algorithmic skeletons.
- Freie Schlagwörter (DE)
- Software, Komposition, invasiv, templates, Meta-Programmierung, Schnittstellen, Code-Generierung, generative Softwareentwicklung, Java, Syntaxbaum, Parser, Attributgrammariken, Referenzattributgrammatiken, CPP, C-Preprocessor, Aspektorientierte Programmierung, Wohlgeformtheit, abstrakter Syntaxgraph, macros, Expansion, Kompilierer, Programme, statische Semantik, BPMN, Programmiersprachen, domänenspezifische Sprachen, Sprachkomposition, C, C++
- Freie Schlagwörter (EN)
- invasive software composition, component, aspects, weaving, correct weaving, well-formedness, attribute grammars, island grammars, SkAT, skeletons, generative programming, metaprogramming, metamodeling, Reuseware, C, C++, Java, JastAdd, JastAddJ, Compilers, RAG, preprocessor, macros, decomposition, code, syntax tree, graphs, templates, grammars, context-sensitive, context-free, COMPOST, EMFText, JastEMF, parsing expression grammars, domain-specific languages, BPMN, embedded languages, language composition
- Klassifikation (DDC)
- 004
- Klassifikation (RVK)
- ST 233
- GutachterIn
- Prof. Dr. rer. nat. habil. Uwe Aßmann
- Prof. Dr. Welf Löwe
- Den akademischen Grad verleihende / prüfende Institution
- Technische Universität Dresden, Dresden
- URN Qucosa
- urn:nbn:de:bsz:14-qucosa-170162
- Veröffentlichungsdatum Qucosa
- 26.06.2015
- Dokumenttyp
- Dissertation
- Sprache des Dokumentes
- Englisch
- Lizenz / Rechtehinweis