arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.07582cs.SE
收藏

面向元模型与语法协同演化的自动化支持研究

Towards Automated Support for the Co-Evolution of Meta-Models and Grammars

Weixing Zhang

AI总结:

针对混合建模工具中元模型与语法协同演化的需求,研究梳理现有工具挑战,提出扩展Xtext生成器、半自动转换Python风格语言的方法,并开发GrammarOptimizer方案支持多风格语言快速原型与二者协同演化。

摘要:

混合建模是一种新兴范式,可为同一底层建模语言的多种表示法提供无缝交互。本文聚焦于基于元模型的模型驱动工程(MDE)方法,通过开发文本式语言来提升建模工具的混合建模能力。本研究提出一种方法,可在语言工程师基于元模型的MDE环境中开发文本式语言时,支持元模型与语法的协同演化。首先,本文全面梳理了支持混合建模的建模工具面临的挑战与局限,以及改进方向。其次,演示了语言工程师如何按需扩展Xtext的生成器能力。第三,提出一种半自动方法,可将带有生成式语法的语言转换为Python风格的语言。最后,给出了名为GrammarOptimizer的解决方案,可支持不同风格语言的快速原型开发,以及演化中语言的元模型与语法的协同演化。

英文摘要:

Blended modeling is an emerging paradigm involving seamless interaction between multiple notations for the same underlying modeling language. We focus on a model-driven engineering (MDE) approach based on meta-models to develop textual languages to improve the blended modeling capabilities of modeling tools. In this thesis, we propose an approach that can support the co-evolution of meta-models and grammars as language engineers develop textual languages in a meta-model-based MDE setting. Firstly, we comprehensively report on the challenges and limitations of modeling tools that support blended modeling, as well as opportunities to improve them. Second, we demonstrate how language engineers can extend Xtext's generator capabilities according to their needs. Third, we propose a semi-automatic method to transform a language with a generated grammar into a Python-style language. Finally, we provide a solution (i.e., GrammarOptimizer) that can support rapid prototyping of languages in different styles and the co-evolution of meta-models and grammars of evolving languages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑