2 releases

0.1.1 Nov 9, 2023
0.1.0 Aug 5, 2023

#208 in Text editors

Download history 2/week @ 2024-02-15 8/week @ 2024-02-22 3/week @ 2024-02-29 2/week @ 2024-03-07 69/week @ 2024-03-21 10/week @ 2024-03-28

81 downloads per month
Used in lsp4spl

MIT license

250KB
7K SLoC

LSP4SPL

LSP4SPL is implementing the Language Server Protocol for the Simple Programming Language (SPL).

Background

SPL is a programming language developed by Prof. Dr. Hellwig Geisse at THM. Have a look at this script, written by Prof. Dr. Michael Jäger, for a specification of the language.

Features

The following LSP features are supported:

  • Go to Declaration
  • Go to Definition
  • Go to Type Definition
  • Go to Implementation
  • Find References
  • Hover
  • Signature Help
  • Folding Range
  • Completion Proposals
  • Rename
  • Prepare Rename
  • Semantic Tokens
  • Formatting

Repository

This repository consists of the following parts:

Installation

You can download the latest binary from the releases page.

Alternatively, you can install the binary with cargo, if you have Rust installed.

cargo install lsp4spl

Of course, you can also clone this repository and then build it.

git clone https://github.com/AlecGhost/LSP4SPL.git
cd LSP4SPL
cargo build --release

Dependencies

~4–11MB
~95K SLoC