From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2) Date: Tue, 16 Aug 2022 19:05:53 +0800 Message-ID: <87czd0qwha.fsf@yahoo.com> 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> <87a687sjnv.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16456"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Jostein =?utf-8?Q?Kj=C3=B8nigsen?= , Eli Zaretskii , jostein@kjonigsen.net, Alan Mackenzie , emacs-devel , Yuan Fu To: Lynn Winebarger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 16 13:06:52 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 1oNuPL-0004A7-ER for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Aug 2022 13:06:51 +0200 Original-Received: from localhost ([::1]:51932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNuPK-0000a9-D7 for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Aug 2022 07:06:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNuOf-0008EH-B5 for emacs-devel@gnu.org; Tue, 16 Aug 2022 07:06:09 -0400 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:36887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNuOd-00067h-HO for emacs-devel@gnu.org; Tue, 16 Aug 2022 07:06:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660647962; bh=ACZg/1xstmeL2TLFJPBFwYrqgLm1BYGCiOp9n5haLyw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=kI01lp5dpYw879Molwi7EE+mLgRs1ZVW2hqs52AcHWqsz2XJKD6AFGEeFChMEFRITIoYtTA6pf8Qru33Z2rHDlviU22OJwhYu2vamoGpMbcRlDYN4UJa/shm5uv+h2rAerEtRQ4bQB5/UIQJah0jZMt/t99l1AjTJ9QRhA8Cj4wjuF4Euvy09Bp8vwe2loqbeQ47cwn86GNZtTDuzpaYPHCBkftWRjGhQm6mlC/pQ3+sI4HWiw2QbDBJnDTCs3CInPozPXyt+86XqmO4bVRHET4Wl6qQz+nP7EOvV9C3IQRU3L+IXY0ONNMzWAKIkW4sNbXSzx8ToPcCN7HU9BQuQA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660647962; bh=Iqv3jQj4BO7lZ7/p8afJDVRec2H/uZRmTVu+m8tvde3=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=BQA74oqmw1NMy18146vUtJa9+qmsnOfrOmmwKjJRdH3VD4vbXQ+CEEW+XsCFcNEHKtEfpgd47d8ZU6IJi0LK/piTI6B9h8/J7V8uFuGDE+GWBbwai2pdVB8zqZANXqR8k5/SvF6YWchv6C5JUXKAE7Mz8NAJwVyVsdH9Yob7ZaAV6Dt5I2d5fvVIm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.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Tue, 16 Aug 2022 11:06:02 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-pcmsn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4bce10f74533505bd70f1b5bfe3deffd; Tue, 16 Aug 2022 11:05:58 +0000 (UTC) In-Reply-To: (Lynn Winebarger's message of "Tue, 16 Aug 2022 05:06:58 -0400") X-Mailer: WebService/1.1.20531 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.147; envelope-from=luangruo@yahoo.com; helo=sonic303-21.consmr.mail.ne1.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:293498 Archived-At: Lynn Winebarger writes: > I'm not 100% on what Semantic is doing for me. I did run "make TAGS" > in the Emacs source directory, and it seems to do something, although > I don't know how much of that is Semantic versus one of the many other > packages I've loaded into the emacs dump I use. make TAGS generates a tags table, not really related to Semantic. > I know I get great completion sometimes, and I see notifications that > my Elisp buffers get parsed by an LL parser. This is Semantic. > The fontification is different, and the header line is used for > displaying the function scope point is in. That's probably Semantic too, but some other third party code does that as well. > I added Yuan Fu to the CC per your earlier recommendation. I'm not > sure what their role is - migrating the documentation? Yuan Fu is the author of the tree sitter code in the feature branch.