一种与客户无关的混合模型编辑器即服务的通用架构
A General Architecture for Client-Agnostic Hybrid Model Editors as a Service
摘要:
在本文中,我们提出了一个通用的架构设计语言服务器的混合建模语言,即,建模语言,包含文本和图形表示。该体系结构由一个文本语言服务器、一个图形语言服务器和一个与这两个服务器通信的客户端组成。服务器使用语言服务器协议(LSP)和图形语言服务器协议(GLSP)来实现,并且基于混合语言的共享抽象语法。这意味着只有静态资源需要在图形和文本语言服务器之间通用。服务器的分离允许每个服务器独立开发和维护,同时还支持与各自依赖项的前向兼容性。我们描述了一个原型实现我们的体系结构的形式的混合编辑器的UML-RT语言。通过这个原型的体系结构的评估给我们提供了有用的洞察进一步推广的体系结构和它的使用方式。然后,我们绘制了一个适当的架构扩展,以支持多种图表类型,从而支持多个图形视图。
英文摘要:
In this paper, we propose a general architecture for designing language servers for hybrid modeling languages, that is, modeling languages that contain both textual and graphical representations. The architecture consists of a textual language server, a graphical language server, and a client that communicates with the two servers. The servers are implemented using the Language Server Protocol (LSP) and the Graphical Language Server Protocol (GLSP) and are based on a shared abstract syntax of the hybrid language. This means that only static resources need to be common between the graphical and textual language servers. The servers' separation allows each to be developed and maintained independently, while also enabling forward-compatibility with their respective dependencies. We describe a prototype implementation of our architecture in the form of a hybrid editor for the UML-RT language. The evaluation of the architecture via this prototype gives us useful insight into further generalization of the architecture and the way it is used. We then sketch a suitable extension of the architecture to enable support for multiple diagram types and, thus, multiple graphical views.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。