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: Versioned Tree-sitter parser libraries Date: Mon, 17 Apr 2023 21:49:19 +0300 Message-ID: <835y9u9weo.fsf@gnu.org> References: <462cd248-1269-ac55-bf94-f137b2c51697@mavit.org.uk> <83a5z7c262.fsf@gnu.org> <83h6tea1bi.fsf@gnu.org> <5EA2C5B8-8338-4011-A092-CF6FF01FA144@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="40081"; mail-complaints-to="usenet@ciao.gmane.io" Cc: p.d.oliver@mavit.org.uk, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 17 20:50:00 2023 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 1poTvM-000A5E-Km for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Apr 2023 20:50:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poTue-0006q0-Ai; Mon, 17 Apr 2023 14:49:16 -0400 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 1poTuc-0006pc-6H for emacs-devel@gnu.org; Mon, 17 Apr 2023 14:49:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poTub-0001D2-C6; Mon, 17 Apr 2023 14:49:13 -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=4bXPq9TrzdzJ6l9CLr8hixy/agbND001QxJEvqkz7nQ=; b=VnIlhOKYwch/qRXmcWUT 8eYg/Oa54tNuXpjkDVuiFfey6eNo2fNPbHhH7+f6hcrDrDnUDdboUVd9x0lV+dAUmasmsAs0/6wQL J+xVowRMRgeCVSr9GIZbW2qw5eIWJq18Cr26/rNCqtuz7xJ8hL0BRZdbLQr4ujQ03i0nvQ3mbKa0b LLG6/35/VixQOGOvb3PAe5bO+qLrZDCxKWlYeFp1B2c93CH27G2c77ZsRGKBhZZ90UfOjYcTHRYKx V1Qmtj9hLOLcjrZTaLukVbKbUWTq4r9zsNbBWpVEfXp8rwni1T5Q8rvxrYhPlK/HcdJHf5vAsf2PJ jLDQUZEzkACX+g==; Original-Received: from [87.69.77.57] (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 1poTua-0007uo-LZ; Mon, 17 Apr 2023 14:49:12 -0400 In-Reply-To: <5EA2C5B8-8338-4011-A092-CF6FF01FA144@gmail.com> (message from Yuan Fu on Mon, 17 Apr 2023 11:41:49 -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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305384 Archived-At: > From: Yuan Fu > Date: Mon, 17 Apr 2023 11:41:49 -0700 > Cc: Peter Oliver , > emacs-devel@gnu.org > > > I don't think I understand what you suggest in practical terms. What > > does it mean "additional look up for only xxx.0.0"? and why only > > xxx.0.0? > > I was suggesting that we do recognize ABI versions, but since tree-sitter grammars don’t really have a ABI version, and the version extension in filenames are just there by convention (of Fedora), we can expect the version extension to be always 0.0, should there be one. If this will help distros, I don't mind. But this should be limited to Posix hosts, since on Windows the story is different, and on macOS it is also different (in another way), AFAIR.