libclsp icon indicating copy to clipboard operation
libclsp copied to clipboard

[WIP] A C++17 library for language servers

Libclsp

AUR version

A C++17 library for language servers.

Currently this library is only objects from the 3.15.0 specification.

TODO

  • [ ] Parsing
  • [ ] Writing
  • [ ] The server
  • [x] All lsp structs declared

Install (Arch linux)

yay -S libclsp

Link (CMake)

include(FindPkgConfig)
pkg_check_modules(LIBCLSP libclsp)

add_executable(foo)

target_link_libraries(foo PUBLIC ${LIBCLSP_LIBRARIES})
target_include_directories(foo PUBLIC ${LIBCLSP_INCLUDE_DIRS})
target_compile_definitions(foo PUBLIC ${LIBCLSP_CFLAGS_OTHER})

Examples

Parsing