Domain-specific languages (DSLs) are a powerful tool to capture arbitrary abstractions of an application domain and map it to code. Eclipse really shines when it comes to integrating DSLs in rich-client workbenches, but how about web-based IDEs?
In this talk you will learn how to bundle the power of four Eclipse frameworks to build a cloud-based IDE with support for your own DSLs:
- Use Xtext to create a textual DSL with full IDE support from a simple grammar.
- Generate an extensible server based on lsp4j to deliver the intellisense for your DSL to various IDEs based on the popular Language Server Protocol.
- Leverage Sprotty to add live diagrams of the DSL models to the language server.
- Embed the language server into a Theia extension and create a cloud-based IDE.
Everything is ready to use as open source at Eclipse.