From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27066 invoked by alias); 12 Jan 2018 22:32:15 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 27048 invoked by uid 89); 12 Jan 2018 22:32:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*kawa, duncan, love X-HELO: mail-io0-f176.google.com Received: from mail-io0-f176.google.com (HELO mail-io0-f176.google.com) (209.85.223.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 12 Jan 2018 22:32:13 +0000 Received: by mail-io0-f176.google.com with SMTP id w188so7447452iod.10 for ; Fri, 12 Jan 2018 14:32:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QEK+52CK+TUXA7Vvc7VVZWRBZhG5T2GIONPnayYUZ14=; b=LQhiFciaj2cLpZPkZQuNj4XY6GYMJzIzfNiOA1wHyXNJZtCFO6JVbIv6VOcA2TJ6nn F4oPbN03HylR+48y83saJnLhHH2lEf+UEH1NXSs8c86fc7N/KUxzOKJ7abQkmns1u5Ib NAsK7WFt6mO9llHqpSS/SFiiia3q2LDGJKjOLR6fAS0uB0eqichm4gqVfrdRg+mZ+a1A rRyVVcX5JzcaYCsKhEHPzJbPirq0OmQZhZZoBQFnMy8V9AkrVAL3k0KGVwSAcfXO47IN +y6rKBYXj4kCv/MtJZ8b+Ajz3bNscAliTYMX2DQgMK7jJ0x5hZDiJGmwJV8jxLZalwtF 86fg== X-Gm-Message-State: AKwxytf6G3CUvTM8+T0LgA/tkRszbDIn0tjAXdak0Xw/KhxOkOzvYSiB ecHYpNOiAoodrc0cfsrmrNm/dyMjj3TJPAXUH5txUOkt X-Google-Smtp-Source: ACJfBotaoPPXR4BxE5n4cRKwX72BI75EW1TeRjxNolD+MXfmyLANPUpdWBAg5dveb2DsyTC+COSJmqA2zkTYBxHRXvY= X-Received: by 10.107.184.198 with SMTP id i189mr6474886iof.137.1515796331950; Fri, 12 Jan 2018 14:32:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.83.129 with HTTP; Fri, 12 Jan 2018 14:31:31 -0800 (PST) In-Reply-To: <78c36015-ce0d-a0cf-c81e-37f0ce4d8e9a@bothner.com> References: <78c36015-ce0d-a0cf-c81e-37f0ce4d8e9a@bothner.com> From: Duncan Mak Date: Fri, 12 Jan 2018 22:32:00 -0000 Message-ID: Subject: Re: language server protocol for Kawa To: Per Bothner Cc: Kawa mailing list Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-q1/txt/msg00007.txt.bz2 Hello Per, i started doing this a few months ago, but I didn't get very far at all. Perhaps it's because of how I tried to do it - I looked at https://github.com/palantir/language-servers and https://github.com/eclipse/lsp4j and tried to implement the LanguageClientAware and LanguageServer interfaces. The Groovy implementation is here - https://github.com/palantir/language-servers/blob/develop/groovy-language-server/src/main/java/com/palantir/ls/groovy/GroovyLanguageServer.java It was difficult to know if I'm making progress, because it seemed like all the things needed to come together all at the same time. If you're jumping into working on an LSP implementation, I'd love to contribute on GitLab if you can post issues with tasks for others to complete. Duncan. On Fri, Jan 12, 2018 at 5:04 PM, Per Bothner wrote: > Has anyone done any work for a Language Server Protocol > (https://langserver.org/) for Kawa? Any insights or partial code? > > I ask because I'm getting ready to jump into this as the next major > project for Kawa. > > (I do have one non-trivial bug It want to resolve first: > GitLab issue #33 and Savannah bug #52390, which are probably both related to > the fix for issue #11). > -- > --Per Bothner > per@bothner.com http://per.bothner.com/ -- Duncan.