repl-lsp 1.10.0

Language Server Protocol implementation for the Symbi platform
1
2
3
4
5
6
7
8
9
10
11
12
13
mod backend;

use backend::Backend;
use tower_lsp::{LspService, Server};

#[tokio::main]
async fn main() {
    let stdin = tokio::io::stdin();
    let stdout = tokio::io::stdout();

    let (service, socket) = LspService::new(Backend::new);
    Server::new(stdin, stdout, socket).serve(service).await;
}