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: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter Date: Wed, 28 Jul 2021 14:50:41 +0300 Message-ID: <83r1fiu06m.fsf@gnu.org> References: <8735rzyzbz.fsf@163.com> <86v94v3xh9.fsf@stephe-leake.org> <87o8amy88o.fsf@163.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18807"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stephen_leake@stephe-leake.org, emacs-devel@gnu.org To: Andrei Kuznetsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 28 13:51:23 2021 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 1m8i5q-0004er-GS for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jul 2021 13:51:22 +0200 Original-Received: from localhost ([::1]:38992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8i5p-0004tU-J2 for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jul 2021 07:51:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8i5E-0004DC-W6 for emacs-devel@gnu.org; Wed, 28 Jul 2021 07:50:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51826) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8i5E-0002Hq-EV; Wed, 28 Jul 2021 07:50:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2552 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 1m8i5E-0008QN-2U; Wed, 28 Jul 2021 07:50:44 -0400 In-Reply-To: <87o8amy88o.fsf@163.com> (message from Andrei Kuznetsov on Wed, 28 Jul 2021 19:43:03 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:271729 Archived-At: > From: Andrei Kuznetsov > Date: Wed, 28 Jul 2021 19:43:03 +0800 > Cc: emacs-devel@gnu.org > > > Some of the tree-sitter development tools are implemented in Rust; you > > only need Rust if you are developing/fixing a grammar for a language. > > If I understand this correctly, it means one would require the Rust > toolchain to support new languages in tree-sitter, or to improve > existing support. Would that really fit Emacs? I think many people > might not be comfortable learning such a large language and toolchain to > develop editing tools for Emacs. > > Furthermore, is there any concrete reason this could not be done in > Lisp? This has been discussed. Patches to convert the TS grammar files to Emacs Lisp and/or to maintain and develop them in Emacs Lisp will be most welcome. As usual with Free Software, it isn't an issue of what's desirable, it's an issue with someone stepping forward to do the job of developing this stuff. TIA