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: Validating tree-sitter major modes and grammar Date: Sat, 4 Jan 2025 00:31:08 -0800 Message-ID: References: <2F1CA2E3-4C86-4892-AF6B-0C9CFCE26629@gmail.com> <6768b29d.050a0220.1b40f2.5574SMTPIN_ADDED_BROKEN@mx.google.com> <8DF80F0D-E50A-4162-93E6-F7F55B2E7144@gmail.com> <87cyhh88ms.fsf@gmx.de> <7DEA0D59-5856-4113-870D-4222B446EE5B@gmail.com> <875xn88978.fsf@gmx.de> <774CBF6C-4667-4E18-A0D8-C42209D41A10@gmail.com> <92eb9006-b7fc-2bb7-6ea7-166f9127917b@mavit.org.uk> <87msgi72r8.fsf@gmx.de> <87v7v4582p.fsf@gmx.de> <625E7F8C-4A4C-4BCB-BEEF-8220DC74B702@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) 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="11901"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Devel To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 04 09:32:16 2025 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 1tTzZv-0002yZ-Rk for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jan 2025 09:32:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTzZ6-0000Bn-R6; Sat, 04 Jan 2025 03:31:24 -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 1tTzZ4-0000AW-TA for emacs-devel@gnu.org; Sat, 04 Jan 2025 03:31:22 -0500 Original-Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTzZ3-0005os-7x for emacs-devel@gnu.org; Sat, 04 Jan 2025 03:31:22 -0500 Original-Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2f4409fc8fdso15574027a91.1 for ; Sat, 04 Jan 2025 00:31:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735979480; x=1736584280; darn=gnu.org; 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=XWCbS9jORqavSwooTDO92t4vLnGgw5Pnbt3S1FWFJAM=; b=Ut/K17d4kRtM4iQZp8m19Zd1XV+QqoZBad3FcTQy3eG2eOxR/mg+m/ZuDFHyz74iIu xFeopc2r3ceS/925qPanpDdl70AoRGAvHLn9dDCU/12YuNuH4FfbHT5Z2kOYezVFs+AV 5k528xC//lXjhlmR9GlxtQwg5O2vfcRwU7VK3x1g2oFeg5CTB9t7LJTlawE/01d9NiMH m7FKtLoRrPKA2tXwlmfkfcAw626IbnIT+c6azinGL1Uo4Ypq0UVphki5oIUQSPVoHz08 1Fi9V41rM6EeyLXuAS/UVHjo37956CW3IwzB3bfFbg7lt4Mu/DVJHCZOtalsRbW2XKaS xoYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735979480; x=1736584280; 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=XWCbS9jORqavSwooTDO92t4vLnGgw5Pnbt3S1FWFJAM=; b=E4/0RBvssoxlIf6pFM/vS44Z1NuNeJGOkcz9XaAOumHmYWq5RfdTfU44ysmlS5vplp 98hDd2W5W8faBbcUCBqW1JfDBVvOGQD562UdXSjbsqfo8shvDphPAG6FhqTmCL82wlUm KSmdIle0MfjD620Y/Hc0OSAwxe1a2nENNM9JWJesa3zUhiepRGqsotNOFwxLKh6O031c P++NcDAFBNSot8KjRBNFh5RemfASFtozr9HXc3jY5lEvALDmuEFvC5OZKPPaS3VAmnR4 6m94ryOG1zv+ZAusX6S/aK/2yJIraZgjh5GZWFhTEMFcVynYGgPCivh2NTFXx1kzmPqC xQYw== X-Gm-Message-State: AOJu0YxYKF845IljLZJwvih/fetDBVvTBKEMlaTEIuX8guRPRqF6hk+U xnkl/6+HdQZZ9LZsRok7HsD0mlzZ+x5l4/X9GE9keFdpDrG3sh6Pc8Hb9w== X-Gm-Gg: ASbGnctGBc9vH8PrKI4SlYSGsn9zvXx6+G4illKFeb/LrN2wq1pAxJWTLVz1HQvI8cP e/y26fHyf3yvSxEJzoTd3iAsJmHM8ed++CWLjAGrNYdAWnIlfeB5/6jF4GA7rfQ3NEUgWqmL0DB 08nW5onWglV0To+lk/WAdYM//nR4G/Bt9LCRup0kr4pL0j4UeNwupMnXrVfK1lfiMxJni0LTLeR qpFny0Tu8KSwIUhjEvlCUCnj2r9bQ4JBOWh7Z4b1lAI5fkN32AG7eKPYngKbtCCXAqM/dw7CT3e qPOh X-Google-Smtp-Source: AGHT+IGubNusrsD5OZ41YvQNw1mMEX03SBW6u2omiJsd6USbzdY+QWHyRBFq0NwN2jIZB9r9wUlt9Q== X-Received: by 2002:a17:90a:fc4d:b0:2ee:ee77:226d with SMTP id 98e67ed59e1d1-2f453606dd2mr75676992a91.4.1735979479712; Sat, 04 Jan 2025 00:31:19 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:c496:8cdf:4c5d:3617]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f447882d11sm29870039a91.39.2025.01.04.00.31.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Jan 2025 00:31:19 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3776.700.51) Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=casouri@gmail.com; helo=mail-pj1-x1035.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:327656 Archived-At: > On Jan 3, 2025, at 4:26=E2=80=AFAM, Peter Oliver = wrote: >=20 > On Thu, 2 Jan 2025, Peter Oliver wrote: >=20 >> On Mon, 30 Dec 2024, Yuan Fu wrote: >>=20 >>> Anyway, as a first step, I added a command that generates a html = file that >>> looks like the below. I=E2=80=99ll try setting up a cron job on my = machine, then >>> we can figure out how do we run it on EMBA and how to host the = generated >>> webpage. >>>=20 >>> Peter, do you have any suggestions after seeing this example = webpage? >>=20 >> Looks good. >>=20 >> Rather than the latest commit, I=E2=80=99d be more interested in the = latest release (i.e., commit tagged with a tag starting =E2=80=9Cv=E2=80=9D= ). I=E2=80=99d only consider packaging a Git snapshot as a last resort = to solve an important bug, so tagged commits are more relevant to me. >=20 > So, then, something along the lines of the attached (although, = actually, maybe we want both?). >=20 > --=20 > Peter = Oliver<0001-New-function-treesit-language-git-version-tags.patch><0002-Twe= ak-Tree-sitter-compatibility-report-to-show-only-.patch> Thanks! What you showed looks good. And yeah, we should have both = =E2=80=9Clast tag=E2=80=9D and =E2=80=9Clast commit=E2=80=9D. =E2=80=9CLas= t commit=E2=80=9D would be useful for people that install tree-sitter = grammars with download scripts. Let me see how can I construct the table to show both. Yuan