From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44220 invoked by alias); 5 Jun 2017 22:53:27 -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 44200 invoked by uid 89); 5 Jun 2017 22:53:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Scheme, challenges, lsp, servers X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Jun 2017 22:53:24 +0000 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dI0sH-0001ik-MP; Tue, 06 Jun 2017 00:53:25 +0200 Received: from 70-36-239-209.dsl.dynamic.fusionbroadband.com ([70.36.239.209] helo=localhost.localdomain) by mailfront11.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dI0s8-0005Gj-LB; Tue, 06 Jun 2017 00:53:17 +0200 Subject: Re: gnu.expr.ModuleMethod no more? (+ Emacs SLIME) To: Duncan Mak Cc: kawa mailing list References: <22244.1496609440@vereq.eip10.org> <1961b4d4-87e1-f45f-9383-f3602a9ed3ba@bothner.com> From: Per Bothner Message-ID: <55e2bdcd-76fb-cefd-4367-2819f7436bde@bothner.com> Date: Mon, 05 Jun 2017 22:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00089.txt.bz2 On 06/05/2017 08:01 AM, Duncan Mak wrote: > I'm interested in working on an LSP implementation for Kawa. Do you > have any suggestions on how / where to get started? One thing to do is look at other language servers, especially for JVM-based languages: Groovy, Java, Scala, Clojure: See https://github.com/Microsoft/language-server-protocol/wiki/Protocol-Implementations https://github.com/thheller/shadow-cljs/issues/2 It seems plausible that when in a REPL we'd want to use the same JVM for both the RPEL and the LSP server. That leads to some interesting possibilities and challenges integrating and editor with the REPL front-end. > Adding support for ranges on top of positions seems like an obvious > choice, but I'd also like to write more Scheme code than Java, do you > know of any other tasks that would help get this feature bootstrapped? I'm working on the basic data structure support for 'end positions'. So far lots of compiler errors, but I'll check it in once there are no regressions. -- --Per Bothner per@bothner.com http://per.bothner.com/