From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Re: New tree sitter "official" langs Date: Wed, 24 Jul 2024 00:40:54 +0300 Message-ID: <45158.091750794$1721770934@news.gmane.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11653"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 23 23:42:07 2024 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 1sWNGo-0002pw-32 for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Jul 2024 23:42:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWNFs-0003PW-Ku; Tue, 23 Jul 2024 17:41:08 -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 1sWNFp-0003PK-V8 for emacs-devel@gnu.org; Tue, 23 Jul 2024 17:41:05 -0400 Original-Received: from thaodan.de ([185.216.177.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWNFk-0006mU-UY for emacs-devel@gnu.org; Tue, 23 Jul 2024 17:41:05 -0400 Original-Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154]) by thaodan.de (Postfix) with ESMTPSA id 018F5D0004E; Wed, 24 Jul 2024 00:40:55 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1721770856; bh=nznErTqI120fM2WdnLHjczY9oOe9mC+6cBbEXpIHRdE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=pjuONJXCvtsKK2Xyg0Pwtghra9ayJtH4QuRjIpHZCuaNpsj+krP+2Iw3LHwoJ4P1f ron0MGXCgNkJwMvYBeb+G2eCdNQPuxIAqSq7amzLWgqEzm2owKRRCYzbNjuarudT5y 8BdRNbTd8sil2rUR/aPUOfT794t6VK0Zclay7SDA+EaMYeLS7y3mC7cwow5vO9QWoE UEM2WXEUmWv48o0IL7SoKJweLdv+52kHV9dny5iCWhVqPUrz9pohmEBpZReo6clsWd SUfYSzS9Vg51P1sj2jSWYmWcr1mkfXrYxg9kZkEZmMJDKlJfiw+xMcY+6Grpupfep7 yQmIwCKM6c8KG9PNm1nc5lP7DPfXs7mmSG5IXn6+EDi0NTrFz9ksIa2LUgyiadiaIF uePc6E+th+qONH/LRxVcpD+Elw04KMA96GMM3Bxg5XrsM2/1/00oFKLZrC6/BRoBTs /NlCUFL8ftyNsf3d1L04QwQLdt7TSEtignhx+KRYRPWi9j+dYm5ZAKBTvxC+sPMo+Q 0DX7dwZ0dx3hblP30wNMtkGTM9Y05WlmPspsHNFtWn6TWBqmgFiBdTBRcDuIOO6NQA hsyyP8ACJ9tfc/bWVmYpbxEJrX/F7mUQHMT784F1A8sr8fvwOjhZJw1rK6LEqwe7Fs mrAinN+ME5ivq6yGsXe2XvjY= In-Reply-To: (Ergus's message of "Tue, 23 Jul 2024 16:41:28 +0200") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=185.216.177.71; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, INVALID_MSGID=0.568, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:322020 Archived-At: Hey, While updating the source of grammars in Emacs it would also make sense to mention that grammars or better the parsers generated by the grammars can be obtained by Linux some distributions. Besides the ease of use for the user the limitation of having to generate parser and build them is not needed anymore. Granted many of the projects store the generated parser blob in their own source tree however that doesn't mean it's up to date or trustful. E.g. for Arch Linux, openSUSE, Alt Linux. Fedora has started packging grammars but so far it only has managed to package one (Java). https://pkgs.org/search/?q=tree-sitter I did the rpm packaging for tree-sitter-grammars for openSUSE. The grammars can be installed through the package manager and Emacs will pick them up without any user intervention. The packaging isn't openSUSE specific by any means.