Evolution of Textual Domain-Specific Languages in the Context of Model-Driven Engineering

dc.citation.doiITF
dc.contributor.authorWeixing, Zhang
dc.date.accessioned2025-09-23T11:25:20Z
dc.date.available2025-09-23T11:25:20Z
dc.date.issued2025-09-23
dc.description.abstractDomain-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.defencedate2025
dc.gup.defenceplace-sv
dc.gup.departmentDepartment of Computer Science and Engineering ; Institutionen för data- och informationstekniksv
dc.gup.mailweixing.zhang@gu.sesv
dc.gup.originUniversity of Gothenburgsv
dc.identifier.isbn978-91-8115-423-8
dc.identifier.urihttps://hdl.handle.net/2077/89382
dc.language.isoengsv
dc.relation.haspartI. 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.haspartJ. 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.haspartW. 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.haspartW. 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.haspartW. 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, 112069sv
dc.relation.haspartW. 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.haspartW. 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, Germanysv
dc.subjectDomain-Specific Languagessv
dc.subjectLanguage Evolutionsv
dc.subjectGrammar Transformationsv
dc.subjectXtextsv
dc.titleEvolution of Textual Domain-Specific Languages in the Context of Model-Driven Engineeringsv
dc.typeText
dc.type.degreeDoctor of Philosophysv
dc.type.svepDoctoral thesis

Files

Original bundle

Now showing 1 - 2 of 2
No Thumbnail Available
Name:
PhD_Thesis_Weixing_2025 (1).pdf
Size:
3.83 MB
Format:
Adobe Portable Document Format
Description:
PhD thesis
No Thumbnail Available
Name:
Cover of the Thesis - Digital.pdf
Size:
144.6 KB
Format:
Adobe Portable Document Format
Description:
Cover

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
4.68 KB
Format:
Item-specific license agreed upon to submission
Description: