ebnfer

Crates.ioebnfer
lib.rsebnfer
version0.1.0
sourcesrc
created_at2024-07-29 15:44:59.971643
updated_at2024-07-29 15:44:59.971643
descriptionA LSP implementation for EBNF.
homepage
repositoryhttps://github.com/DanielHauge/ebnfer
max_upload_size
id1318985
size60,698
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

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