From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.devel Subject: Tree-sitter introduction documentation Date: Fri, 16 Dec 2022 08:47:18 -0600 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/signed; boundary="Apple-Mail=_E76A7254-2ECD-4A9A-996E-3211D0AFE08E"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39824"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 16 15:48:43 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 1p6C0w-000A6n-Un for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Dec 2022 15:48:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6C0m-00050g-BA; Fri, 16 Dec 2022 09:48:32 -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 1p6C0d-0004tz-ST for emacs-devel@gnu.org; Fri, 16 Dec 2022 09:48:24 -0500 Original-Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6C0b-0007bP-9d for emacs-devel@gnu.org; Fri, 16 Dec 2022 09:48:22 -0500 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 01D22540F2C for ; Fri, 16 Dec 2022 14:47:38 +0000 (UTC) Original-Received: from mi3-ss4.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 7D4F0540DFA for ; Fri, 16 Dec 2022 14:47:33 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1671202053; a=rsa-sha256; cv=none; b=hxvnkZnl7yv3LvXQmO9FdGEzod2EfTuioHYjLjz7bjrVh2rSH1f7u0fRt3ak9xFwazSNik ZK5KnlpUoghJ6iX6Tw5uaz7gxocPpEh7Y4/Yy6fAUftCW36vnLzrlnsJdy4OTWN1Vxv42H Hu0RNsMC+RA/PJsgkOutAybwWa03NhV6eZ670CjYKIlPtPIRRsGjyoEExOGzkGW0QdnbGJ 7XdpbTo7Nm8BlWDCArw92SLVYoWe6avXnvIETSWTiriDlmyJQaiMQ85zcTufD2Q+7MtBqP n5gzogKLmVaEDDkFFJoyQBn1MyXPItAqgtRMrTkXdO74azcwk7m573TB8siBKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1671202053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=Sp7aP1WPphGkV1TiU/yeLw6uVtVjvdDAjA4kzGj9tJM=; b=u7XXNkBIrmzZzcuLkGPrqRu1nw9sHAjhkixqRqufDkn8MLxCRTm9XLiWbCOIFLxSO7HSSQ CEA0SNgjBAQ7uwD3vqCy/2g9zqKXPYvoC13vbzvCEcPYqvVgyJgnsnWOKzOFeuZmfP8Kjs 0sezuCQhui3XfnIHtJZn3vfmMhTCLoppdGKO2Y5PTFH2nG4lIELUh10QhioY1PP/ccx+Ob UDSgUnrUE45Mbn8UDTzNBlYKNIc0aX4cBIfAtcxhnADOLSppnpsRopHCYrkwnsrd995Bfx 6+DctfbCVhSKL9oq23Nn6Luq5UJRe0wLDXDnvN0dHJ4fFM9uoX9haL1Sc/yu2w== ARC-Authentication-Results: i=1; rspamd-d48c5ddb-g8cdp; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@easesoftware.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Oafish-Ruddy: 2108b8517eff0fdf_1671202057688_864924012 X-MC-Loop-Signature: 1671202057688:3251799843 X-MC-Ingress-Time: 1671202057688 Original-Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.103.24.117 (trex/6.7.1); Fri, 16 Dec 2022 14:47:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:Date:Message-Id:Subject:Mime-Version: Content-Type:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Sp7aP1WPphGkV1TiU/yeLw6uVtVjvdDAjA4kzGj9tJM=; b=BLFTQFvTI3nGaWCIHpxvQq5ECZ tJiq9w0ksb5vdmZVbaZLoPp9MZd7sWNP+HUhstuGkvwJi/Ge46dRhyUjA16HCTyOliIaRnO/6dBJG zztcCWieEtqTkZupjVrcvaKTfQFPEN3wOuS7rfbo7hVaT/PbRH2vWSBs/ufzw1+4L21w6eZy3tJsm uspVUbZPDhkhXrCyWKQx6LNerL4+kszqPsX5XcfmWS7QQCl3Xsgzai6lzXvYOKtz50Rbxok8a5ngz k29F067E9QbdNUwRparWI+5P7DV61BmNrstbrl4Uv+F7cdPbf5YJ6uzGP5mpZsbDfo/DbAjt/86v8 WUK0P8nQ==; Original-Received: from cpe-70-94-128-193.satx.res.rr.com ([70.94.128.193]:57710 helo=smtpclient.apple) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1p6Bzn-004Mi1-VJ for emacs-devel@gnu.org; Fri, 16 Dec 2022 09:47:32 -0500 X-Mailer: Apple Mail (2.3731.200.110.1.12) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com Received-SPF: pass client-ip=23.83.212.47; envelope-from=pedz@easesoftware.com; helo=cyan.elm.relay.mailchannels.net 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, RCVD_IN_MSPIKE_H2=-0.001, 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:301488 Archived-At: --Apple-Mail=_E76A7254-2ECD-4A9A-996E-3211D0AFE08E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii There are (I believe) four pieces to get Tree Sitter major modes to = work. Emacs needs to be compiled with tree-sitter enabled The tree sitter binary needs to be installed The tree sitter language specific parser needs to be installed The appropriate major mode needs to be loaded and enabled Is there a page either in Info or on the web that contains all these = steps? If not, and others agree, how can I help create one? I am thinking the = entire page should be small and brief with references to more elaborate = details on each of the four steps if needed. Perry --Apple-Mail=_E76A7254-2ECD-4A9A-996E-3211D0AFE08E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmOchPcACgkQjxzk9yzE +MB1cA//eYE2bVsTeWIHTl45ew/nI9GacPxArfb6wcgaptqlnCQWtjrmn+tMjfxo tCLfareWIP2A4pQjliz0GgsltSuF+QXFwZEAzWNzO8Bh/GnkTZWz+Cl35aU+fEM/ AjE1mX/BN5SbLt45Za96mqySWxicU7qEj4hg0S6O6KXSSIqDIOI2z2qhxiwC5R8k 9XzNmutzMvW2y4gsonx68tGeBIhQfpH62w+gEhE68B9P+034qxS/fQ2Itk3P5jHl DUYxHJc48dJ92ZaWAWRTjPLBdXXQkCh5ohxLoGxByrxEJUFT/3CPEw/sDcMt9h4l QNBgHeJoCg6dRM4PWg+rNcy0aVeqca/8p8mCGIp48aj+5q7o2/ZwhEqzR1/a7Rx6 gly9qtAhfDz7f5gmlOF+qZ2ATD3N4432H2fv6incQV+Ub+XoxMydFzLBrVoEVpY9 gG9B/r7WNihuJRd7rsDKnh05AbWZlsx/wpA8G6BTMayXw+Am4DaERdaJrmd+7P8K iZVOUiFkgVv9k3G9DVITRzmO2v9PhEaywN9oohpBs3zGMqDJ9ceUx8x4S8Y4nuv6 astnYszDan+TkJlsbpQn2WLfnukmyanK9vDpum/E/J30CO/+nFbq52K3mAiq5ErP ljooZo6hEJzbSJCBTbtDSfQDUmm0bJmFDqNGeTFXnHfvAJUkHew= =iPdJ -----END PGP SIGNATURE----- --Apple-Mail=_E76A7254-2ECD-4A9A-996E-3211D0AFE08E--