Leveraging LLMs to support co-evolution between definitions and instances of textual DSLs: A Systematic Evaluation
MCSE Group(MCSE研究组);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Engineering and Information Technology(工程与信息技术);Adelaide University(阿德莱德大学);Institute of Computer Science(计算机科学研究所);University of Rostock(罗斯托克大学);Department of Computer Science and Engineering(计算机科学与工程系);Chalmers University of Technology and University of Gothenburg(楚科斯技术大学和哥德堡大学);Department of Software Science(软件科学系)
Weixing Zhang, Bowen Jiang, Yuhong Fu, Anne Koziolek, Regina Hebig, Daniel Strüber
Software languages evolve over time for reasons such as feature additions. When grammars evolve, textual instances that originally conformed to them may become outdated. While model-driven engineering provides many techniques for co-evolving models with metamodel changes, these approaches are not designed for textual DSLs and may lose human-relevant information such as layout and comments. This study systematically evaluates the potential of large language models (LLMs) for co-evolving grammars and instances of textual DSLs. Using Claude Sonnet 4.5 and GPT-5.2 across ten case languages with ten runs each, we assess both correctness and preservation of human-oriented information. Results show strong performance on small-scale cases ($\geq$94% precision and recall for instances requiring fewer than 20 modified lines), but performance degraded with scale: Claude maintains 85% recall at 40 lines, while GPT fails on the largest instances. Response time increases substantially with instance size, and grammar evolution complexity and deletion granularity affect performance more than change type. These findings clarify when LLM-based co-evolution is effective and where current limitations remain.
From Textual Requirements to Microservice Architectures - A Comprehensive Evaluation of LLM-Based Design Synthesis
Federal University of Campina Grande (UFCG)(帕伊巴联邦大学(UFCG));VIRTUS/UFCG;Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)(国家科学技术研究委员会(CONICET));Universidad Nacional del Centro de la Provincia de Buenos Aires (UNICEN)(布宜诺斯艾利斯省中部国立大学(UNICEN));Federal Institute of Pernambuco (IFPE)(伯南布哥联邦学院(IFPE));Rui Barbosa State School(鲁伊·巴尔博萨州立学校)