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 api Date: Mon, 14 Mar 2022 05:31:41 +0200 Message-ID: <838rtdky5e.fsf@gnu.org> References: <9C5A86D6-0E7D-4DDF-B211-278EF9AC7E01@gmail.com> <87a6gq5mxl.fsf@gmail.com> <877dbu5mgj.fsf@gmail.com> <0BB906F7-BD3A-41CC-9783-19AA16934497@gmail.com> <83pmplq9f3.fsf@gnu.org> <5B304D80-2969-4F59-9A90-412D0A284912@gmail.com> <83ilvbpsvl.fsf@gnu.org> <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> <83wnjmiork.fsf@gnu.org> <6D1CD758-2C6F-4843-9739-F2A5D5591648@gmail.com> <67183EAB-5D98-4211-B71B-4618D6266A15@gmail.com> <87ee36xr2h.fsf@yahoo.com> <565A047E-3B0F-4A81-A9F6-871B578A84A6@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13681"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ubolonton@gmail.com, theo@thornhill.no, cpitclaudel@gmail.com, emacs-devel@gnu.org, luangruo@yahoo.com, p.stephani2@gmail.com, monnier@iro.umontreal.ca, yoavm448@gmail.com, stephen_leake@stephe-leake.org, john@yates-sheets.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 04:39:00 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 1nTbXw-0003Ni-Nt for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 04:39:00 +0100 Original-Received: from localhost ([::1]:50974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTbXv-0004xl-86 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Mar 2022 23:38:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTbR7-0000Re-PX for emacs-devel@gnu.org; Sun, 13 Mar 2022 23:31:59 -0400 Original-Received: from [2001:470:142:3::e] (port=39472 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTbR6-0002qx-0D; Sun, 13 Mar 2022 23:31:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=UlqMdAYeJtezFQR7g6lKBQDWQ46tuJqC+soZ6kgERZw=; b=X0ar1+rBJXZcZ+MNV5+h mC85t0wupbli4xnOUekZu4nIxg1540NTnlV6Hbt8wCktqg4sZpSmRduwqXJGTSpMkxvhw9470aFD0 +7g7UrspFX1NChKE99iHJ4RXFXH5EhXQNqnSZdSgeTZEqYJPIUGneXfmMhunJoL5B4n+ev67GO21M BHAo+3gnf9FOW5q5Q4bZpPhr7FMDbdhIDnivsHMO1ytMSVHtfTlM03fRsBJlQDzkPvkuyts4tq91t XwAY7pI9RXED/soUe8A4QTZhKMBbtean479CDVUXmzz4aSbKkAy3iMIbKJtQbG6E6RTdTYcnk1f61 IK+NyqX5Cfdfuw==; Original-Received: from [87.69.77.57] (port=1918 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 1nTbR5-0007tM-EG; Sun, 13 Mar 2022 23:31:55 -0400 In-Reply-To: <565A047E-3B0F-4A81-A9F6-871B578A84A6@gmail.com> (message from Yuan Fu on Sun, 13 Mar 2022 17:23:09 -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:287107 Archived-At: > From: Yuan Fu > Date: Sun, 13 Mar 2022 17:23:09 -0700 > Cc: Tuấn-Anh Nguyễn , > Theodor Thornhill , > Clément Pit-Claudel , > Emacs developers , Philipp , > Stefan Monnier , Eli Zaretskii , > Yoav Marco , > Stephen Leake , > John Yates > > >> +if test "${with_tree_sitter}" != "no"; then > >> + EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.0], > > > > Is that version number a typo? > > > > I assume the tree-sitter support depends on the recently introduced > > interface for specificing custom malloc functions. > > > > Yes, good catch. The current version is 0.20.6. I think we should use that? Please use the first version where the malloc customization was introduced.