CHAMELEON:OutSystems 实时双向转换
CHAMELEON: OutSystems Live Bidirectional Transformations
AI总结:
针对OutSystems低代码平台多抽象层级编辑器的模型双向转换需求,研究团队推出CHAMELEON工具,采用声明式组件模式与带约束的树模型解析技术实现实时双向转换,经真实应用测试性能满足交互式编辑器要求。
摘要:
在模型驱动工程中,模型的双向转换对于支持在不同抽象层级运行的编辑器的使用起着关键作用。这在 OutSystems 这类工业级低代码平台的场景中尤为重要,这类平台拥有完善的工具生态,通过领域特定构建器和抽象模型查看器来补充标准集成开发环境的功能。我们推出 CHAMELEON,这是一款能够通过利用简单直观的组件模式,以声明式方式动态定义实时双向模型转换的工具。通过这种方法,我们可以逐步定义构建在低代码元模型之上的抽象模型的视图路径和合成路径。我们针对树状模型设计了一种标准的解析器生成技术,该技术建立在带有约束和名称绑定器的扩展语法定义之上。我们允许模型模式存在更大程度的重叠,且仍能消除歧义,使转换具备清晰的类透镜行为。我们在 OutSystems 语言中面向用户界面定义的片段上对 CHAMELEON 进行了评估。为评估性能,我们使用了大量真实的 OutSystems 应用程序(包含约20万个UI部件)以及一个经过整理的部件模式数据库。我们发现在基准测试中,完整模型的最坏情况处理时间为92毫秒,这一时间仍适用于交互式模型编辑器的运行。
英文摘要:
In model-driven engineering, the bidirectional transformation of models plays a crucial role in facilitating the use of editors that operate at different levels of abstraction. This is particularly important in the context of industrial-grade low-code platforms like OutSystems, which feature a comprehensive ecosystem of tools that complement the standard integrated development environment with domain-specific builders and abstract model viewers. We introduce CHAMELEON, a tool that enables the dynamic definition of a live bidirectional model transformation in a declarative manner by leveraging simple and intuitive component patterns. Through this approach, we can gradually define the view and synthesis paths to an abstract model built on top of a low-code metamodel. We devise a standard parser-generating technique for tree-like models that builds upon extended grammar definitions with constraints and name binders. We allow for a greater overlap of model patterns that can still be disambiguated for a clear lens-like behaviour of the transformation. CHAMELEON is evaluated in the fragment of the OutSystems language targeting the definition of user interfaces. To assess performance we used a large set of real OutSystems applications, with approximately 200K UI widgets, and a database of curated widget patterns. We found a worst-case processing time of 92ms for complete models in our benchmark, which is still suitable for the operation of an interactive model editor.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。