ebnf-lsp

Crates.ioebnf-lsp
lib.rsebnf-lsp
version0.1.0
sourcesrc
created_at2024-07-29 15:33:08.863984
updated_at2024-07-29 15:33:08.863984
descriptionA LSP implementation for EBNF.
homepage
repositoryhttps://github.com/DanielHauge/ebnfer
max_upload_size
id1318980
size60,728
Daniel Hauge (DanielHauge)

documentation

README

Test

EBNFER

An implementation of the language server protocol (LSP) for EBNF grammars.

Features

  • Semantic tokens (Root rule)
  • Diagnostics
  • Hover
  • References
  • Completion
  • Document formatting
  • Rename
  • Go to definition
  • Document symbols
  • Code actions (supress unused warning)

Installation

Build from source or install via cargo:

cargo install ebnfer

Configuration

TODO

Further development

  • Vs Code extension - w. general document highlighting
  • Workspace support - multiple files

Inspired

This project is inspired by the ebnf analysis crate on crates.io - ebnf. Also inspired by the following youtube video: Learn By Building: Language Server Protocol - TJ Devries.

Commit count: 0

cargo fmt