From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: tree-sitter version? Date: Wed, 23 Nov 2022 19:27:44 -0800 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20752"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 24 04:28:28 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 1oy2ua-0005Ie-Ro for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Nov 2022 04:28:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy2tz-0006bF-BY; Wed, 23 Nov 2022 22:27:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy2ty-0006b4-Bm for emacs-devel@gnu.org; Wed, 23 Nov 2022 22:27:50 -0500 Original-Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oy2tw-0001Zs-MI for emacs-devel@gnu.org; Wed, 23 Nov 2022 22:27:50 -0500 Original-Received: by mail-pj1-x102e.google.com with SMTP id x13-20020a17090a46cd00b00218f611b6e9so488485pjg.1 for ; Wed, 23 Nov 2022 19:27:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FlB9osU+bkWaKvEhWUqjnQAzz5j392rlOhFUJIhKteM=; b=ZlLyz9A07FJTTDveROhr3C/pOqfQjJGuQs4KV2eMwkaNGYfm8KrurhD0ico/0CKSw/ 4PcyiWKtInd4GZCsRZP3+N5rYxediepkUhPvjYxY6xt8ClvqOXPwAcxiVwFI71JUHSUy 3QxSX1DJ5Lo2OWN1acdwM3Fbx58ZPxx1qUVhb3i5QuqkXsx8ro7JTZ+GswfVrb9FHIh7 rROH6tiXlZVPfjNAOJfYYCX6wcLw/dNoNMCrpNfdZrALPcPBtkud+ssoqgK3ACkm9Nfh 7PSs3G9OSBDcli4JA6lSQnhunFmd+eO3whH60bh7bKUQaoiskMNtKuSmzxgFsPMLGXa1 LHKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FlB9osU+bkWaKvEhWUqjnQAzz5j392rlOhFUJIhKteM=; b=UwpS9j1qBMMqkiW29nsmjUtr0OUJXvHrzgupe8ICWh0arw5yXMskDJzIly7QbcD1H5 qhhcfD2TWCSHzpB3NZxgpjGsw7Tlags00EtD2Dgf3YzTc2/Ye99+nEUvQ9JrFhWz+EIH bKCFsyisjvx3zZ2QWBjczsKywLe9Bm/Xol75zADHZjklkH6CuLzwJlSFDIIsiuKPDJfr v2vQGpI/sFBcHFBQYqMXAwgAx6hBl9rt3U8yptazVtgfON7aKMoWaZelPf55++lx23ch CizMGb5ZKGwoxwrDCzOlSmDtf7HH/wllCXE3apu42uq8gDfKbzxLcNYj9YVL80L0Brsd xdrw== X-Gm-Message-State: ANoB5pmreQVZzx5D4INBwRvtiYxM3l9DZqXKCkuok2yqEp+ESxeiYLiX yStGdPPiPChnphDvY+yz4gA= X-Google-Smtp-Source: AA0mqf7Q2JCYAerRYA5zbb56KqSTbFuSvqdRFIfY4GSec0Ia0X/o3wtermbqSDKUlo4h5U7fWC9B5Q== X-Received: by 2002:a17:90b:2711:b0:213:9b80:ceee with SMTP id px17-20020a17090b271100b002139b80ceeemr39700674pjb.243.1669260467087; Wed, 23 Nov 2022 19:27:47 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id b11-20020a170902650b00b00178b9c997e5sm15038347plk.138.2022.11.23.19.27.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Nov 2022 19:27:46 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=casouri@gmail.com; helo=mail-pj1-x102e.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300418 Archived-At: > On Nov 23, 2022, at 5:54 PM, T.V Raman wrote: >=20 > While building emacs from Github @HEAD, I noticed that configure > checks for two different tree-sitter versions=20 > checking for tree-sitter >=3D 0.20.2... no > checking for tree-sitter >=3D 0.6.3... yes >=20 >=20 > Installing from apt-get on Debian, and later cloning and building > tree-sitter from github both give 0.6.3 >=20 >=20 >=20 > So what is 0.20 --asking only because 20 much-greater-than 6=E2=80=94 The official latest version of tree-sitter right now is 0.20.7, the one = we want is >=3D0.20.2 (which has the ability to change malloc = implementation on runtime). However apprantly tree-sitter=E2=80=99s = makefile wasn=E2=80=99t updated after 0.6.3 so the version number on the = installed library is 0.6.3. Ideally we want to require >=3D0.20.2 and be = done with it, but since most tree-sitter libraries installed on = people=E2=80=99s machines are 0.6.3, we also accept 0.6.3 and use = autotool magic to check for the ability to change malloc implementation. Yuan