On the Suitability of LSP and DAP for Domain-Specific Languages - Archive ouverte HAL Access content directly
Conference Papers Year : 2023

On the Suitability of LSP and DAP for Domain-Specific Languages


Domain-Specific Languages (DSLs) help manage the growing complexity of systems by facilitating their description and execution or simulation via tailored languages. A large part of the development costs of a DSL comes from building the associated tools it requires, such as an editor or a debugger. To reduce these costs, the Language Server Protocol (LSP) and Debug Adapter Protocol (DAP) enable the creation of generic tooling interfaces which rely on standardized services exposed by languages. However, as these protocols have been designed for General Purpose Languages (GPLs), their applicability to DSLs has no yet been extensively studied. In this paper, we analyze both LSP and DAP, with an emphasis regarding their relevance for the development of tooling for DSLs. We provide both a highlevel insight into these protocols, such as a dependency graph of their services, and a more fine-grained qualitative analysis of each service. We show that while some services defined by these two protocols can be provided by any DSL, others make strong assumptions on the concepts that should be part of the considered DSL. Conversely, domain-specific concepts available in some DSLs are not exploitable through these protocols, thus reducing the capabilities of generic tools.
Fichier principal
Vignette du fichier
2023216259.pdf (295.82 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-04245594 , version 1 (06-11-2023)



Josselin Enet, Erwan Bousse, Massimo Tisi, Gerson Sunyé. On the Suitability of LSP and DAP for Domain-Specific Languages. 2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems Companion (MODELS-C), Oct 2023, Västerås, Sweden. ⟨10.1109/MODELS-C59198.2023.00066⟩. ⟨hal-04245594⟩
56 View
35 Download



Gmail Facebook X LinkedIn More