Do you want to implement a diagram editor in the web or even in an augmented reality? This talk is for you!
Web-based and browser-based tools pose new challenges to the architecture of language support.
The language server protocol (LSP) has become very popular for text-based editors. Separating the UI of a tool from the actual language logic provides great flexibility on the client and server side.
The Graphical Language Server Protocol (GLSP), a new Eclipse project, follows are very similar approach to enable the same benefits for graphical, diagram-based editors. In this talk, we introduce the overall concept, demonstrate the existing GLSP editor client based on Sprotty, explain how to implement your own GLSP server and therefore, your own diagrams. Additionally, we highlight how and when to use the approach in your custom tool and how to embed it into Eclipse Theia.
Finally, we showcase the flexibility of the approach by rendering diagrams, which you might have never seen diagrams before, on an AR device in space :-)
https://www.youtube.com/watch?v=YxaVXQyYlu4 (Virtual Eclipse Community Meetup about GLSP)