From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: tree-sitter: conceptional problem solvable at Emacs' level? Date: Fri, 10 Feb 2023 13:48:29 +0200 Message-ID: <83zg9lkagi.fsf@gnu.org> References: <87zg9n45ig.fsf@yahoo.com> <0DDF6978-D75A-4137-9D93-6200908675B6@gmail.com> <837cwplxni.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40855"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, holgerschurig@gmail.com, Emacs-devel@gnu.org To: Holger Schurig Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 10 12:49:50 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 1pQRuX-000AM9-Vz for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Feb 2023 12:49:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQRtr-00026d-G6; Fri, 10 Feb 2023 06:49:07 -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 1pQRto-00026U-GM for Emacs-devel@gnu.org; Fri, 10 Feb 2023 06:49:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQRto-00014y-7n; Fri, 10 Feb 2023 06:49:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0mGDHJoH/3a37nPQ6OOLtUpuhRKYZbHkAPba9Kw223k=; b=i/xHC/TyV7ZG JV73kCVLSwrzlnkZVO4rRy+VWTawjd8Xt5Vl2sJY0rXxLxnplG994nxC3Hs0PK8T8jFH1R9Pdzpte mXjqHiau2Qz4O5Xac5iMcqXbY77fcIxiz4w4onIwiwSe25+Ru1yvhhutkT+bbxq6PpUIDaY1AoFnH dqiRdKOs9hf3Y4gjmfwwrI3I8kfIPJDCNu1+BbeWmK3eQPSGP62a7jXVZmk0xHmM4MxiprgXpwps+ 1Xz4nNGFk5NDZo3RxGXmxNeDmowXaOmg2Oc0vkCd7w9ymbVxL/L5ZSK/D+K5c1sEsoG5CQp5oi/q7 B8/+CS3rpRtX6VJMYb8OWQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQRtl-0007iD-3M; Fri, 10 Feb 2023 06:49:03 -0500 In-Reply-To: (message from Holger Schurig on Fri, 10 Feb 2023 11:31:39 +0000) 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:303105 Archived-At: > From: Holger Schurig > Date: Fri, 10 Feb 2023 11:31:39 +0000 > > > And I'm sure there are other alternatives. This issue is not unique > > to Emacs, so studying how other IDEs deal with it could also yield > > ideas. > > I'm aware of three FOSS IDEs that are somewhat linked to C++ and/or Qt: > > * KDevelop (from the KDE pro project) > * Kate (dito, although some might not call it an IDE) > * Qt Creator > > For the first two I have no info if they even looked into Tree-Sitter. > > However, Qt Creator does't want to implement Tree-Sitter at all, they > are happy with KSyntaxHighlighting. See > https://bugreports.qt.io/browse/QTCREATORBUG-26348 > > KSyntaxHighligting is in turn from the KDE project, and used in KDevelop > and Kate. So basically all three use the same technology. Which seems to > work nicely for them. Thanks. However, I meant the IDEs which are using tree-sitter and support developing C/C++ programs. I believe some do.