Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/prince781/lsp-glib
- Owner: Prince781
- License: lgpl-2.1
- Created: 2021-07-11T23:25:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-16T17:50:33.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T13:44:12.706Z (2 months ago)
- Topics: glib, lsp, vala
- Language: Vala
- Homepage:
- Size: 174 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
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`.