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: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2) Date: Wed, 10 Aug 2022 05:42:12 +0300 Message-ID: <83fsi4sttn.fsf@gnu.org> References: <83o7wuva9o.fsf@gnu.org> <83mtceupbx.fsf@gnu.org> <83lerxvfnu.fsf@gnu.org> <838rnxvdcq.fsf@gnu.org> <83r11ptksn.fsf@gnu.org> <83a68dti6w.fsf@gnu.org> <874jykzvx9.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27746"; mail-complaints-to="usenet@ciao.gmane.io" Cc: owinebar@gmail.com, acm@muc.de, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 10 04:44:27 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 1oLbhr-00073e-Cf for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Aug 2022 04:44:27 +0200 Original-Received: from localhost ([::1]:43212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLbhq-0007KH-6D for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 22:44:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLbfq-0004SE-IE for emacs-devel@gnu.org; Tue, 09 Aug 2022 22:42:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLbfq-0003WO-5N; Tue, 09 Aug 2022 22:42:22 -0400 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=tWQVW8Y6AEBFj/Sq7CEp5CZUzUb96L9apKJjUmhYc78=; b=OCsPa6m1sr6+ 6zj+QL1vbvsGqpl2AnoU8YZQGM63PTtucBeMJctgg4iw/KLkQ6r5EeIc0HjAAzGrpsnBmquuB7lDI vK8atr3vk3uiB+BefZ+EW0rTEmCJQ2EoLA1lFAkTehXAt/h4oIY4l1M0pJGiWp7Qyvxy3iMMEsB6g /fUeg2IGI5uD5my05khZaN39JXI9FkQKI6E6Zx2LktjUWZTAhdcuobIbHGh+AN1bLsiydpv8hzeD5 yiw+OBIYQ3TxJcljsMdVbD6NJQY1jfnOyk1v8U6ztWMV3a0z8McVibwWw+wre9V5gciC2kChqoct/ T4HQpY6TAKPO1DE0kMfPAw==; Original-Received: from [87.69.77.57] (port=2677 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 1oLbfp-0005PT-LC; Tue, 09 Aug 2022 22:42:21 -0400 In-Reply-To: <874jykzvx9.fsf@yahoo.com> (message from Po Lu on Wed, 10 Aug 2022 10:14:58 +0800) 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" Xref: news.gmane.io gmane.emacs.devel:293341 Archived-At: > From: Po Lu > Cc: Eli Zaretskii , Alan Mackenzie , emacs-devel > > Date: Wed, 10 Aug 2022 10:14:58 +0800 > > Lynn Winebarger writes: > > > I'm curious, though, as to why Semantic/CEDET seems to have been > > superceded by external solutions like tree-sitter or LSP-based > > (non-emacs) servers. One of the draws of Emacs for me is the > > "batteries included" nature of it having Emacs Lisp built in. Is > > there a downside to using Semantic as the basis for improving my > > derived mode that's non-obvious? > > I think Semantic lost intertia after the original author lost interest > in it (or left for unrelated reasons, I don't remember which.) It is simply too slow to be a modern solution for these features.