From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27258 invoked from network); 11 Nov 2023 22:54:51 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 11 Nov 2023 22:54:51 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A61E74837F8 for ; Sat, 11 Nov 2023 23:52:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id juvh7akvWXMx for ; Sat, 11 Nov 2023 23:52:24 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 862614839B7 for ; Sat, 11 Nov 2023 23:51:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 543174836F6 for ; Sat, 11 Nov 2023 23:50:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fY85SA-z_0nv for ; Sat, 11 Nov 2023 23:50:49 +0100 (CET) X-Greylist: delayed 419 seconds by postgrey-1.36 at cgl.ntg.nl; Sat, 11 Nov 2023 23:50:49 CET Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id BAAB14836F5 for ; Sat, 11 Nov 2023 23:50:49 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0587A5C00C4 for ; Sat, 11 Nov 2023 17:43:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 11 Nov 2023 17:43:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1699742629; x= 1699829029; bh=NDRNQieWpEMJ+rkM64etKtBG/iZMiPawNDTzaYVPlBI=; b=M RrmbvE2E8SH6yHotRoarECbE7HMi1fWmKWXI1HnveKGLApN4PafWCSJvmMQY1nFG Etx2owIfgjviB0ufjLLeEOlwk1kNr/zuDpjTkdqIgBDhgg8BUgcDPXmeqL820Yal FxgeiIi1DHPWBfcZGBQ0l5w90YmNnh1Z7gUXpNuG3xamOGLdMERO39TjddZrVZJl 5JCu+UE+WuepmYyE5a+3GxE9DaX1ggC2B5b+W3rfYWIhbZ3Jc1QIaWWbqmOpbcI8 6m2Ef5c6Z+fQDRNcdD6SrcWaO/YUFiW4b23ubJTh1eMIlsvZUho8cL7CRRxYrZhp JOD7j47E0dOAj18nw2a7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddviedgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffoffkjghfgggtgfesthhqmhdtredttdenucfhrhhomheprfgruhhl ucforgiirghithhishcuoehprghulhesmhgriigrihhtihhsrdhorhhgqeenucggtffrrg htthgvrhhnpeffffdthfevhfdvffdtffffjeeffedtveehhfeuleehudfhvdeuvdduleff geeujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hprghulhesmhgriigrihhtihhsrdhorhhg X-ME-Proxy: Feedback-ID: i3c5946ff:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 11 Nov 2023 17:43:48 -0500 (EST) From: Paul Mazaitis To: mailing list for ConTeXt users Date: Sat, 11 Nov 2023 17:43:47 -0500 X-Mailer: MailMate (1.14r5937) Message-ID: In-Reply-To: <5q3n4862-634n-5596-5sn7-037q8pr22p85@hzvpu.rqh> References: <5q3n4862-634n-5596-5sn7-037q8pr22p85@hzvpu.rqh> MIME-Version: 1.0 Message-ID-Hash: ECNBMEIMXISJF2Z5YDMPHP37J6PF3RTA X-Message-ID-Hash: ECNBMEIMXISJF2Z5YDMPHP37J6PF3RTA X-MailFrom: paul@mazaitis.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: ConTeXt support for Nova text editor (MacOS) List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 11 Nov 2023, at 14:52, Aditya Mahajan wrote: > Last time I checked tree-sitter on neovim, there were no good tree-sitters for context. I'd be interested in testing this out. Happy to have feedback! > Does the parser detect nested metapost and luatex environments? The parser recognizes chunks of metapost and latex code and marks them in the syntax tree, but does nothing else: I figured the best approach here was to let applications call out to various tree-sitter parsers as needed. I don't know of a tree-sitter parser for either metapost or latex. The next one I am going to try to build a parser for is metapost (following the reference material in the back of the manual) but I haven't sat down to that task yet. (Plus, that one's going to need a _lot_ of testing by people other than I; I only use metapost for very simple things, and my understanding is surface level at best.) > Aditya -Paul ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________