Leveraging LLMs to support co-evolution between definitions and instances of textual DSLs
Weixing Zhang, Regina Hebig, Daniel Str\"uber

TL;DR
This paper investigates using Large Language Models like GPT-4 and Claude-3.5 to support the co-evolution of textual domain-specific languages and their instances, aiming to preserve information during language updates.
Contribution
It demonstrates the potential and limitations of LLMs in maintaining auxiliary information during grammar and instance evolution in textual DSLs.
Findings
LLMs effectively migrate small-scale textual instances.
Scalability issues arise with larger instances.
Insights inform future research directions.
Abstract
Software languages evolve over time for various reasons, such as the addition of new features. When the language's grammar definition evolves, textual instances that originally conformed to the grammar become outdated. For DSLs in a model-driven engineering context, there exists a plethora of techniques to co-evolve models with the evolving metamodel. However, these techniques are not geared to support DSLs with a textual syntax -- applying them to textual language definitions and instances may lead to the loss of information from the original instances, such as comments and layout information, which are valuable for software comprehension and maintenance. This study explores the potential of Large Language Model (LLM)-based solutions in achieving grammar and instance co-evolution, with attention to their ability to preserve auxiliary information when directly processing textual…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Model-Driven Software Engineering Techniques · Topic Modeling
