The Specification Language Server Protocol: A Proposal for Standardised LSP Extensions

Jonas Kjær Rask, Frederik Palludan Madsen, Nick Battle, Hugo Daniel Macedo, Peter Gorm Larsen
8/6/2021
cs.SE

Official code: overturetool/vdm-vscode (21 stars, TeX, GPL-3.0, last commit 2026-11-04).

Abstract

The Language Server Protocol (LSP) changed the field of Integrated Development Environments(IDEs), as it decouples core (programming) language features functionality from editor smarts, thus lowering the effort required to extend an IDE to support a language. The concept is a success and has been adopted by several programming languages and beyond.

Show full abstract

This is shown by the emergence of several LSP implementations for the many programming and specification languages (languages with a focus on modelling, reasoning, or proofs). However, for such languages LSP has been ad-hocly extended with the additional functionalities that are typically not found for programming languages and thus not supported in LSP. This foils the original LSP decoupling goal, because the move towards a new IDE requires yet another re-implementation of the ad-hoc LSP extension. In this paper we contribute with a conservative extension of LSP providing a first proposal towards a standard protocol decoupling the support of specification languages from the IDE. We hope our research attracts the larger community and motivates the need of a joint task force leading to a standardised LSP extension serving the particular needs of specification languages.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Visual Studio Code extension for VDM language support

219TeX, TypeScriptSep 28, 20203 weeks agoGPL-3.0
language-servervdm-supportvdm-vscodevisual-studio

Similar Papers

Cite this paper

@article{rask2021specification,
  title  = {The Specification Language Server Protocol: A Proposal for Standardised LSP Extensions},
  author = {Jonas Kjær Rask and Frederik Palludan Madsen and Nick Battle and Hugo Daniel Macedo and Peter Gorm Larsen},
  year   = {2021},
  eprint = {2108.02961},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.02961}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.02961.svg)](https://codeofpaper.com/paper/2108.02961)

Discussion