lsp-server

An OCaml implementation of the Language Server Protocol (LSP)

Overview

OCaml-lsp is a pure OCaml implementation of the Language Server Protocol (LSP). The initial purpose for OCaml-lsp was to be used in conjunction with the VS Code Platform Extension.

For setting up development environments be sure to check the editor configuration workflow.

The Language Server Protocol

LSP is a JSON-based remote procedure call (RPC) protocol to allow communication between text-editors and some server offering specific programming language support. This greatly simplifies the implementation of generic editors as it offers a standard by which language information can be communicated.