From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Oliver Newsgroups: gmane.emacs.devel Subject: Re: Versioned Tree-sitter parser libraries Date: Mon, 17 Apr 2023 21:17:50 +0100 (BST) Message-ID: <42d2a023-ae10-db4f-b0d3-3aca631be151@mavit.org.uk> 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: multipart/mixed; boundary="-1463811583-335354805-1681762671=:4518" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8089"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 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 22:18:48 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 1poVJI-0001sm-69 for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Apr 2023 22:18:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poVIg-0003x9-R1; Mon, 17 Apr 2023 16:18:10 -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 1poVIe-0003wi-RD for emacs-devel@gnu.org; Mon, 17 Apr 2023 16:18:08 -0400 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poVIb-00074q-KR for emacs-devel@gnu.org; Mon, 17 Apr 2023 16:18:08 -0400 Original-Received: by mail-wm1-x32e.google.com with SMTP id l31-20020a05600c1d1f00b003f1718d89b2so2681547wms.0 for ; Mon, 17 Apr 2023 13:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google; t=1681762673; x=1684354673; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=rPXvSitCsvVupdajplq8Po6j6Kz0KSRla82WaRDwaZU=; b=dIl+fCPN1kZR2UHLPdXrwL5BfP7scZNPiQU0OQzZsmObeUuTtWr60zo9ZpUiPEAT+H oQztGrEvn6CfXUG+si3PrGCUiSE01bZG8CuLVTDORIktcUoA/oIozrr9gd5hJ9BXN/65 ElD4BN3bA93LF6TUIdGxfZH1cLBhKxLp9sqmc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681762673; x=1684354673; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rPXvSitCsvVupdajplq8Po6j6Kz0KSRla82WaRDwaZU=; b=PWReBRPd70D+dxpcLh2wBZ8TgSAnt38eD7chMy600Wb3qAXG2/vfVwJrmoEWFvGgrp lfv5SmEq0gzZGvd3SwdqwUwIb50A857ul9p7j7Il+/SpXqqX9LdB8/mYQOvAGOJUAq3f EtmCAgbjhoOrHYY7yFhuoL69IrYlY4YG0XXfNmmouZro5Igv9n6W54n8LYPMTFRk8CqA /gZvoRIlRKJkjdxIzxg2LORSKJAl6wukKThgxFKaMF5vYJ31F2uYs6vnv7dIvYIv9KqE 5OQQ17bzugJeoj+YijKKFhxLScy5hyh71GloYzioM51+7nAWHoVh+k2mqm7UACp5MUXm o2hA== X-Gm-Message-State: AAQBX9eDvdAt/er/Q/1NpY01m1zSF7oEKhK5xLoqHu2nipI9vulT9Flf /xFVUKskWT+ZvCPSE2sVp+sWwA== X-Google-Smtp-Source: AKy350al5bHt7bffM3eReIru4Gs5oVqDMtttfezyYFlqpRcgrZHm6uObgpfzBfQE4VBTSp6tUszO4g== X-Received: by 2002:a05:600c:364f:b0:3f1:6f37:c3cd with SMTP id y15-20020a05600c364f00b003f16f37c3cdmr5875708wmq.12.1681762672701; Mon, 17 Apr 2023 13:17:52 -0700 (PDT) Original-Received: from froglet.home.mavit.org.uk (dudl-14-b2-v4wan-165814-cust1925.vm31.cable.virginm.net. [82.34.135.134]) by smtp.gmail.com with ESMTPSA id k18-20020a5d6e92000000b002cea8e3bd54sm11215657wrz.53.2023.04.17.13.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 13:17:52 -0700 (PDT) Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1]) by froglet.home.mavit.org.uk (8.17.1/8.17.1) with ESMTPS id 33HKHpZ7010580 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 17 Apr 2023 21:17:51 +0100 Original-Received: from localhost (mavit@localhost) by froglet.home.mavit.org.uk (8.17.1/8.17.1/Submit) with ESMTP id 33HKHo2i010577; Mon, 17 Apr 2023 21:17:51 +0100 X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing -bs In-Reply-To: <5EA2C5B8-8338-4011-A092-CF6FF01FA144@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wm1-x32e.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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:305388 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811583-335354805-1681762671=:4518 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 17 Apr 2023, Yuan Fu wrote: > 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. It’s the Tree-sitter project that have chosen the numbers in their Makefiles, not Fedora, by the way. https://github.com/tree-sitter/tree-sitter-json/blob/master/Makefile#L42 -- Peter Oliver ---1463811583-335354805-1681762671=:4518--