From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Hosting tree-sitter pre-built language definitions on ELPA? Date: Sun, 2 Oct 2022 12:36:23 -0400 Message-ID: References: <6AC1140D-C4BA-4A39-9474-F127CF79DF28@gmail.com> <87pmfa4xib.fsf@yahoo.com> <83ill2agtf.fsf@gnu.org> <83sfk61gf8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008502fe05ea0fd4f3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16727"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 02 18:37:19 2022 Return-path: Envelope-to: ged-emacs-devel@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 1of1xv-00049J-1U for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 18:37:19 +0200 Original-Received: from localhost ([::1]:53848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of1xt-0007LH-Gu for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 12:37:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of1xG-0006ei-O8 for emacs-devel@gnu.org; Sun, 02 Oct 2022 12:36:38 -0400 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:47039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1of1xE-0006lf-Kx; Sun, 02 Oct 2022 12:36:38 -0400 Original-Received: by mail-ej1-x636.google.com with SMTP id bj12so17898587ejb.13; Sun, 02 Oct 2022 09:36:35 -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:subject:date; bh=BFiJP3bJUioYLdImHmsINBP7ZJf+nZe+ul41U4r+A1s=; b=pi34y4znLyki4ojVaPUDdBkX7r0MOYc+R7FYUAI7wkSkzdxS/v89eoUP8BLnEo/ZvS 7tKZ70Uu7ifg/hQxQzNUC99uIqo23q+RUY9dRMEJ2Ou+dYbDn5XYqXOnjAhYqqgdKWgY RaouBQGczWsQKIY+kFkh/RdtoVv4vURWhNJkSSdoIcPzJy5UB2NE3HYKSQrfRx3UOVhm 4vFP7LqjVRuy7PDT++b6rJYiK6rImLVbGkRuwV2sfYVuHYuruxS4n1tJ0H+c5xvqewd1 xrYOX8BDdbAPdjhCzuSTSbcjDcyeXX7Ut9fqwZuXhv7qXkndpzYOBSP5mXOTrnJTcEOQ VA+Q== 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:subject:date; bh=BFiJP3bJUioYLdImHmsINBP7ZJf+nZe+ul41U4r+A1s=; b=GPT+w49qUJGg3fDDp3t6hTKzRpKKLGnSIGSfh8iuonNLjd7If4jUJ/HP7n1IttdXZg wovHbNWUf+9KgY5bVCadl4vuqPyNVCpR1dfgd20OeM8FEXL3j6f15vfxS582NEmdj3mW Z7iPgHYsZrUTqNpRzr+r9I3p5Dam7FWTjUglSDJrGchp/OTd+cpiWiJDDZDqDSQh3ss5 D3j9JPvXQUcZV1qm7i/A9kpY7qYddSvLB6ZvBnKXUBr9HiuHUqu3t80nieTvprU7I6RQ j1wxf1voW243XsxDV9Ksf3VLEJfhUzBO4R3c8rRwQ/5CWaq6Rah0VvTzNyzOAwGc1oBF DKyQ== X-Gm-Message-State: ACrzQf2XBr+TVjzwB4WqPjyF7OjJQBhgiUpe8hTHiroSwsGluXM8VP84 kB58SvAHTa2S3kogSkKujD6H5QJdqrGY79CeEASKmYmH93c= X-Google-Smtp-Source: AMsMyM7N08dECDxBaftyCyjXDE+RexDlggGPzN0zHm2VJrB2M2x5aW4G+QIl0TPTvidRoh8k8yCJzLaU8I3kCR4Qmko= X-Received: by 2002:a17:906:7007:b0:6ff:8028:42e with SMTP id n7-20020a170906700700b006ff8028042emr12667410ejj.278.1664728594446; Sun, 02 Oct 2022 09:36:34 -0700 (PDT) In-Reply-To: <83sfk61gf8.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=yandros@gmail.com; helo=mail-ej1-x636.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296639 Archived-At: --0000000000008502fe05ea0fd4f3 Content-Type: text/plain; charset="UTF-8" On Sun, Oct 2, 2022 at 9:52 AM Eli Zaretskii wrote: > We are not talking about changing the language definitions, we are > talking about installing the ones provided by tree-sitter. The use > case you mention is akin to your wanting to modify librsvg -- in which > case you'd need to start by installing Rust. > I _think_ I disagree about that analogy. If I want to use tree-sitter with a language that is not already somehow installed on my computer, I need a language definition for it. Right now, I can either install Node.js and build it myself, or download a binary from github. Is there another option? IIUC, the current expectation is NOT that an emacs+tree-sitter release will bundle language definitions for every language we expect the users are likely to want, or even for, say, the top 10 languages already supported by emacs outside of treesit. Is that understanding incorrect? ~Chad --0000000000008502fe05ea0fd4f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sun, Oct 2, 2022 at 9:52 AM Eli Zarets= kii <eliz@gnu.org> wrote:
We are not talking abou= t changing the language definitions, we are
talking about installing the ones provided by tree-sitter.=C2=A0 The use case you mention is akin to your wanting to modify librsvg -- in which
case you'd need to start by installing Rust.

<= /div>
I _think_ I disagree about that analogy. If I want to use tree-si= tter with a language that is not already somehow installed on my computer, = I need a language definition for it. Right now, I can either install Node.j= s and build it myself, or download a binary from github. Is there another o= ption? IIUC, the current expectation is NOT that an emacs+tree-sitter relea= se will bundle language definitions for every language we expect the users = are likely to want, or even for, say, the top 10 languages already supporte= d by emacs outside of treesit. Is that understanding incorrect?=C2=A0
=

~Chad
--0000000000008502fe05ea0fd4f3--