Evolution of Textual Domain-Specific Languages in the Context of Model-Driven Engineering
| dc.citation.doi | ITF | |
| dc.contributor.author | Weixing, Zhang | |
| dc.date.accessioned | 2025-09-23T11:25:20Z | |
| dc.date.available | 2025-09-23T11:25:20Z | |
| dc.date.issued | 2025-09-23 | |
| dc.description.abstract | Domain-specific languages (DSLs) have become essential tools in model-driven engineering, enabling domain experts to express solutions in familiar terminology while maintaining formal precision. As software systems evolve, textual DSLs must adapt to changing requirements, new features, and evolving domain knowledge. However, the evolution of textual DSLs presents multifaceted challenges spanning different levels of language artifacts: metamodels and grammars must remain consistent during language definition evolution, generated grammars require optimization and adaptation to improve usability, grammar adaptation processes need to avoid repetitive manual labor, and textual instances require migration while preserving valuable auxiliary information such as comments and formatting. This research systematically addresses the key challenges in textual DSL evolution by developing automated solutions that support the comprehensive co-evolution of language definitions and their instances. The work begins with an extensive empirical investigation of 1,002 Xtext-based DSL repositories on GitHub, providing unprecedented insights into how textual DSLs are developed, used, and evolved in practice across 18 different application domains. Based on these empirical findings, we developed automated grammar transformation approaches to support metamodel-grammar co-evolution, including configurable transformation rules and automated extraction of grammar adaptation configurations. The research also explores approaches for creating more user-friendly Python-style DSL grammars through systematic grammar adaptation and investigates methods for utilizing metamodel structures in generating editors for large textual DSLs. Additionally, the research explores novel applications of large language models in textual DSL instance co-evolution. The contributions of this thesis advance both theoretical understanding and practical tooling for textual DSL evolution in model-driven engineering contexts. The empirical insights inform best practices for DSL development and evolution, while the automated solutions significantly reduce the manual effort required for maintaining consistency between evolving language definitions and their instances. This work establishes a foundation for more effective and efficient evolution of textual DSLs, ultimately supporting broader adoption and long-term sustainability of domain-specific languages in software engineering practice. | sv |
| dc.gup.defencedate | 2025 | |
| dc.gup.defenceplace | - | sv |
| dc.gup.department | Department of Computer Science and Engineering ; Institutionen för data- och informationsteknik | sv |
| dc.gup.mail | weixing.zhang@gu.se | sv |
| dc.gup.origin | University of Gothenburg | sv |
| dc.identifier.isbn | 978-91-8115-423-8 | |
| dc.identifier.uri | https://hdl.handle.net/2077/89382 | |
| dc.language.iso | eng | sv |
| dc.relation.haspart | I. David, M. Latifaj, J. Pietron, W. Zhang, F. Ciccozzi, I. Malavolta, A. Raschke, J. Steghöfer, R. Hebig “Blended Modeling in Commercial and Open-source Model-Driven Soft- ware Engineering Tools: A Systematic Study” Software and Systems Modeling (SoSyM), 2023, 22(1), pp. 415-447. | sv |
| dc.relation.haspart | J. Holtmann, J. Steghöfer, W. Zhang “Exploiting Meta-Model Structures in the Generation of Xtext Editors” 11th International Conference on Model-Based Software and Systems Engineering, SciTePress, 2023, pp. 218-225. | sv |
| dc.relation.haspart | W. Zhang, R. Hebig, J. Steghöfer, J. Holtmann “Creating Python-style Domain Specific Languages: A Semi-automated Approach and Intermediate Results” 11th International Conference on Model-Based Software and Systems Engineering, SciTePress, 2023, pp. 210-217. | sv |
| dc.relation.haspart | W. Zhang, D. Strüber, R. Hebig “Development and Evolution of Xtext-based DSLs on GitHub: An Em- pirical Investigation” Submitted to Empirical Software Engineering. 2025. | sv |
| dc.relation.haspart | W. Zhang, J. Holtmann, D. Strüber, R. Hebig, J. Steghöfer “Supporting Meta-model-based Language Evolution and Rapid Prototyp- ing with Automated Grammar Optimization” Journal of Systems and Software 214, 112069 | sv |
| dc.relation.haspart | W. Zhang, R. Hebig, D. Strüber, J. Steghöfer “Automated Extraction of Grammar Optimization Rule Configurations for Metamodel-Grammar Co-evolution” 16th ACM SIGPLAN International Conference on Software Language Engineering (SLE). ACM. 2023, pp. 84–96. | sv |
| dc.relation.haspart | W. Zhang, R. Hebig, D. Strüber “Leveraging LLMs to support co-evolution between definitions and in- stances of textual DSLs” Accepted at First Large Language Models for Software Engineering Work- shop (LLM4SE 2025), Koblenz, Germany | sv |
| dc.subject | Domain-Specific Languages | sv |
| dc.subject | Language Evolution | sv |
| dc.subject | Grammar Transformation | sv |
| dc.subject | Xtext | sv |
| dc.title | Evolution of Textual Domain-Specific Languages in the Context of Model-Driven Engineering | sv |
| dc.type | Text | |
| dc.type.degree | Doctor of Philosophy | sv |
| dc.type.svep | Doctoral thesis |
Files
Original bundle
License bundle
1 - 1 of 1
No Thumbnail Available
- Name:
- license.txt
- Size:
- 4.68 KB
- Format:
- Item-specific license agreed upon to submission
- Description: