From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter integration in python.el Date: Sun, 16 Oct 2022 10:31:36 +0300 Message-ID: <834jw45inb.fsf@gnu.org> References: <3A68545C-2E40-4BB4-8563-8041A5452634@gmail.com> <87y1twlr0v.fsf@gmail.com> <72A63531-21A6-43BE-A302-D554A745F360@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39439"; mail-complaints-to="usenet@ciao.gmane.io" Cc: orontee@gmail.com, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 16 09:33:34 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 1ojy9N-000A5b-NG for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Oct 2022 09:33:33 +0200 Original-Received: from localhost ([::1]:53390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojy9M-00039d-DU for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Oct 2022 03:33:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojy7k-0002Ph-Vv for emacs-devel@gnu.org; Sun, 16 Oct 2022 03:31:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojy7k-0006dY-7E; Sun, 16 Oct 2022 03:31:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3XukCc/UxVuLl1bMgDo8PBBSBhecuymkNo0PKu6Zau0=; b=XcyW3I2VYgkX yECIrsfQr5nhZewLWHuiGuAUguUYHIRzWtvRdvFWPRGE2EEzQTMXcmtElUg9ysiiTPZVRDPvHEsEr kZPRbkQUNaAn6eOpbS1MBMicEsWjqno/bltNlyAITAhubpXT7zfdoUriKblPa3MPEaiFOTqNXJBFU EbHLCsItCgXCdLn2ryHmwp31XqBNVGfiARyE3P9LptlxmnTZIb6O7GeLKTwl5jnMoFFE9sYH1cPBd iY2q4wLFOruK4X0cMdDUfFAcnf3ssoHNhd9wEumzLBQbzHKY7IVgCsF2MwMRuHwxdHMnhzqXPhe5v y/wckhtYTZaVfTD1heLXBQ==; Original-Received: from [87.69.77.57] (port=2361 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojy7j-0001Z6-I2; Sun, 16 Oct 2022 03:31:51 -0400 In-Reply-To: <72A63531-21A6-43BE-A302-D554A745F360@gmail.com> (message from Yuan Fu on Mon, 3 Oct 2022 15:25:29 -0700) 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:297834 Archived-At: > From: Yuan Fu > Date: Mon, 3 Oct 2022 15:25:29 -0700 > Cc: emacs-devel > > > On Oct 3, 2022, at 11:07 AM, Matthias Meulien wrote: > > > Eli has pointed out how to compile the language definition. Alternatively, you can use my script here to download and compile them: > > https://github.com/casouri/tree-sitter-module That script seems to build an Emacs module? Is that really required? AFAIU, the tree-sitter branch loads the language modules directly, not via the emacs-module interface. So why would we need to produce an Emacs module from each language definition library?