From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: Re: New release of LSP server; LSP clients for Emacs and VSCodium available Date: Sun, 7 Aug 2022 16:42:45 -0700 Message-ID: References: <5aa21528d8fb87686687252ef53cf8e4@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33595"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: "Ricardo G. Herdt" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Aug 08 01:43:16 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKpvP-0008ZO-EH for guile-user@m.gmane-mx.org; Mon, 08 Aug 2022 01:43:15 +0200 Original-Received: from localhost ([::1]:34864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKpvO-0002p8-2U for guile-user@m.gmane-mx.org; Sun, 07 Aug 2022 19:43:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKpvA-0002ok-9g for guile-user@gnu.org; Sun, 07 Aug 2022 19:43:00 -0400 Original-Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]:44724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKpv8-0000q6-8H for guile-user@gnu.org; Sun, 07 Aug 2022 19:43:00 -0400 Original-Received: by mail-ua1-x936.google.com with SMTP id b4so2939113uaw.11 for ; Sun, 07 Aug 2022 16:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=/QgKY7wYJF4+oZCCEpUN3SYbtReh3B5HGFy4JVr6T/8=; b=jze1/An2uhUi3MwMovDR015meN6k0pyB5Bh9qttTluDNlSVD3A7+ws+XS5p6udYxOk ukKRsRfY4ZM4yIS/O0lUqHQ6dfs8dsoOYWihhkmBaLYvDUoLfvXDTaxBulfqPiTkqwXG ZytF8iCnzCN9FHujkqpLLKd3tw0ssqAvoriAmwclfYZHpaFi+7HlsbV4zl51+a9pfTf+ 4TXESdH2Dtdi1SXvfBsviE9afFI525Q+mC8fhfOHUVGnTitsFPSQgikrLXM/UZNRy0yc WuV/1gfbMYJXWhphtV4wmly8I5E1spRGfYRsTqW81pKWl4rUe80YfgwqfP2lshBonMzX TIIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=/QgKY7wYJF4+oZCCEpUN3SYbtReh3B5HGFy4JVr6T/8=; b=OfA2dnTkuOYbCZBwprH2UuLE4M/L6QVA8TBibVKSyHnr/WNTj78urR9UQVjb3/U990 PRsqxpbS7+/xNgwVsdctbnBPWGj4DQRXE7FuTb+Z1+hw3IJMIUl8Et2bdXV8MPDh/HCX uQVSCeIaChbxhYPuhQxijPeXHXmCJMYFBY9A2JmE3sRhFXWl2PHKq4bU25wmbHYXbTTZ 97jMNj7hDrrdjT/gRKSVSbcVS6StdMd0/OIWMRM1AlNy3n0oekwJ459gXI7GoqAzzVHa tMDpqjXrac5nSfH4zAms+X1RyFSa6sm+SVWC1L4TJB0fKYdGo7HfiLODKjrvTr3CvrGY uYlA== X-Gm-Message-State: ACgBeo2h59frou+zJoBNMlIF/0m9Xx+oEsRPsJwLVLl5cvaEBQwy2V6g TmBmOoei61YtyrtfSrL3c+uuTuM6EnvyNbL1cA0= X-Google-Smtp-Source: AA6agR7e36K3o13HL5Jd4zMrrLcac0eMEnVy1TUl2ZpiXuFx1NuHzT9pt4O3QeYa3xmYAKl70b0bhRH0VNIpWyGjc6E= X-Received: by 2002:a9f:35c9:0:b0:387:967a:fa31 with SMTP id u9-20020a9f35c9000000b00387967afa31mr6769656uad.70.1659915776432; Sun, 07 Aug 2022 16:42:56 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::936; envelope-from=aconchillo@gmail.com; helo=mail-ua1-x936.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18503 Archived-At: Fantastic, thank you! I just packaged both scheme-json-rpc (as guile-json-rpc) and scheme-lsp-server (as guile-lsp-server) for homebrew-guile (https://github.com/aconchillo/homebrew-guile). Tests and executable seem to work (or not fail) but I haven't really tried it yet. The plan is to make it easy for everyone on macOS to hack on Guile using either Emacs or VSCode. Aleix On Fri, Aug 5, 2022 at 1:08 PM Ricardo G. Herdt wrote: > Short update: > > there was a problem concerning automatic installation of server, and > some other bugs. In case you tried to install the server or the clients > and it didn't work properly, please try out the new versions available. > > Ricardo > > Am 04.08.2022 00:32 schrieb Ricardo G. Herdt: > > Hi all, > > > > I want to announce some releases related to LSP support for Scheme, > > focusing on Guile. > > > > * scheme-lsp-server 0.1.3 > > > > Besides bug fixes, here what's new: > > > > - scheme-lsp-server now selectively uses geiser code when doable. This > > is especially the case for Guile. The goal is to encourage myself and > > contributors to help improving Geiser, and directly benefit of its > > development. Obviously only Scheme code is reused. > > > > - previously scheme-lsp-server assumed an LSP client would fire up a > > REPL and let the user interact with it, showing LSP-related infos > > depending on things the user actively loaded. This is not the way most > > LSP-based tools expect an LSP-server to work though, and has some > > downsides: > > > > + implementing a client is not as trivial as it should be, since > > the developer has to figure out a way to integrate a REPL into the > > IDE/editor, and send commands to it to "guide" the LSP server. > > + developers used to other LSP-based tools can be surprised to see > > that they have to actively load stuff in order to get meaningful > > feedback from the IDE. > > > > Therefore I did a major design change: scheme-lsp-server now does it's > > best to automatically compile/import files opened by the user > > (including dependencies). This makes the task of implementing an LSP > > client much easier: just launch guile-lsp-server and call it a day. I > > added some notes regarding creating new LSP clients for other > > editors/IDE's: > > > > https://codeberg.org/rgherdt/scheme-lsp-server#creating-an-lsp-client > > > > One important note: for now, the LSP server needs to "see" library > > definitions in order to compile and import needed libraries. See > > > https://codeberg.org/rgherdt/scheme-lsp-server/#user-content-known-issues. > > > > * emacs-lsp-scheme 0.1.0 (available on MELPA) > > > > The first versions of emacs-lsp-scheme had a custom REPL (based on > > Emacs' built-in scheme support) that was connected to the LSP server. > > Following the changes to the LSP server, I decoupled the > > emacs-lsp-scheme from the REPL. This seems to be a regression at > > first, but the idea is that one can simply use "run-scheme" to launch > > a REPL, and this does not interfere with the LSP server. For deeper > > integration of Guile and Emacs, Geiser is still the way to go. > > See the README file for instructions on how to configure it: > > https://codeberg.org/rgherdt/emacs-lsp-scheme > > > > * vscode-scheme-lsp 0.2.1 (available for VSCodium on open-vsx) > > > > Following the same ideas of emacs-lsp-scheme, this extension now > > focuses on basically providing LSP support. The user can install other > > extensions to get syntax highlighting and an integrated REPL. > > Here the code: https://codeberg.org/rgherdt/vscode-scheme-lsp. > > > > I only tested all this on Debian buster. Please let me know if you > > experience any trouble installing/using it. > > > > Regards, > > > > Ricardo G. Herdt > >