Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prince781/lsp-glib

LSP library built on GLib (WIP)
https://github.com/prince781/lsp-glib

glib lsp vala

Last synced: 10 days ago
JSON representation

LSP library built on GLib (WIP)

Awesome Lists containing this project

README

        

# lsp-glib

LSP library built on GLib. Designed for both editors and servers.

Design ideas:
- Hide JSON-RPC protocol as much as possible from the user
- protocol functions are fully typed
- protocol functions throw errors instead of explicitly sending error
messages to client
- Fully asynchronous API
- Use GVariant serialization for data types with
`to_variant()` / `from_variant()` functions
- Make C API ergonomic and limit memory requirements:
- Avoid GObject as much as possible
- Flatten LSP data structures where it makes sense to avoid excess
pointer chasing
- No use of `libgee`. Prefer built-in GLib data structures

### Docs

Run `meson build && meson compile -C build`. Docs will be located in `build/src/Lsp-3.0`.