From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter integration on feature/tree-sitter Date: Mon, 09 May 2022 14:20:13 +0200 Message-ID: <87pmkmhp8i.fsf@thornhill.no> References: <5bada349-2f43-4325-b696-70918584cd3d@email.android.com> <83mtfsuluo.fsf@gnu.org> <87sfpjhm33.fsf@thornhill.no> <83a6brufe5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22140"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 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 Mon May 09 14:49:22 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 1no2pF-0005Z0-Kl for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 14:49:22 +0200 Original-Received: from localhost ([::1]:33126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no2pE-0001Kf-6d for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 08:49:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no2NE-0004WY-Bd for emacs-devel@gnu.org; Mon, 09 May 2022 08:20:26 -0400 Original-Received: from out1.migadu.com ([2001:41d0:2:863f::]:45206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no2NA-00052h-Hc; Mon, 09 May 2022 08:20:22 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1652098815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=x+93r+K+fHKTozQyviUNvVny22UJzZmbqvc4DJnZUSc=; b=d7efUlPAyDjjzMICdLmzu129vODQE9xB9+u8k/63sz8Mav4z11tfvn+qXqUBi8Zgg+ShG6 +JXMc8uhvY0A+2mN4JbfGrylnWRPxEnv1vkZP4Z7XdP62gqKzX3ICd5pjFZN5XXakwBbk/ XyEhQa32dUh0hfoWpmEzwm3iQQLF5yVeX4Ffd2c64kd8eCPTvI9r6MkTDbur3pEV5r7RiP piVY6NXQRaGItUZaEjV8SN6GmNhTH8oDGddbl5kLclmQTLVEC3BcjfnZtjo1u84zCT0Drn nVzPJLjz63LGjFJDQj2XiUV/qtteWfbsNYyx+Sarc/L9qKBr5bgsUigwYjge7w== In-Reply-To: <83a6brufe5.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: thornhill.no Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=theo@thornhill.no; helo=out1.migadu.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, 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-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:289523 Archived-At: > > Yes, it does, thanks. I'm glad. > > However, I don't think I see the need to have in Emacs or ELPA > something that helps building shared libraries from the > language-specific parser files. The parsers themselves and the way to > build them are outside of the Emacs scope. And since building a > shared library is not really complicated, and I presume there are > prebuilt shared libraries available, it sounds like a simple job, if > at all. Sure - I won't argue with this. Though I've seen that many editors support this automatic installing. I'm not sure if that will be a barrier or not, but surely if it is, someone will fill that gap. Did you get to look at the patch I sent? Should these efforts, when their form is discovered be applied to this branch going forward? Or should we wait until it lands on master? I can look into more modes, like css and others, but I'm a little wary of touching C, as they have a lot of lineage and opinions and isn't my expertise. Also I'm sure that bugs will be found when it is used, so I'm in favour of applying the modes to this branch, if only to discover how best to use tree sitter. Theodor