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 16:04:30 +0300 Message-ID: <83pmv2twrl.fsf@gnu.org> References: <8735rzyzbz.fsf@163.com> <86v94v3xh9.fsf@stephe-leake.org> <87wnpargnb.fsf@elite.giraud> <87h7gey7zx.fsf@163.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stephen_leake@stephe-leake.org, manuel@ledu-giraud.fr, 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 15:06:11 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 1m8jGE-0008Ij-5n for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jul 2021 15:06:10 +0200 Original-Received: from localhost ([::1]:51166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8jGD-0004Xk-6N for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jul 2021 09:06:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8jEk-0002xi-Kt for emacs-devel@gnu.org; Wed, 28 Jul 2021 09:04:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53384) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8jEi-0001US-9K; Wed, 28 Jul 2021 09:04:36 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3238 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 1m8jEh-0002GV-Fe; Wed, 28 Jul 2021 09:04:35 -0400 In-Reply-To: <87h7gey7zx.fsf@163.com> (message from Andrei Kuznetsov on Wed, 28 Jul 2021 19:48:18 +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:271732 Archived-At: > From: Andrei Kuznetsov > Date: Wed, 28 Jul 2021 19:48:18 +0800 > Cc: Stephen Leake , emacs-devel@gnu.org > > Manuel Giraud writes: > > > I too did not follow the tree-sitter discussion closely. But AFAIU, > > tree-sitter provides tools to generate a parser (in C) from a grammar. > > If that is the case, it certainly seems grave! I don't think an Emacs > that requires source modifications for extending vital editing > functionality is a good idea. TS's code is written in plain C, and doesn't require any regeneration or source modifications. Anything else is misunderstanding.