Skip to content

lw64/lsp-glib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

LSP library built on GLib (WIP)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vala 96.2%
  • Meson 3.2%
  • Python 0.6%