pyGHDL.lsp.lsp

The transport and dispatch layer of the Language Server Protocol.

LSPConn reads and writes the Content-Length framed JSON-RPC messages on a pair of streams, and LanguageProtocolServer runs the request loop: it decodes a message, calls the matching handler on the server object and writes the response. It knows nothing about VHDL - pyGHDL.lsp.vhdl_ls supplies the handlers.