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: Thu, 09 Feb 2023 12:55:46 +0200 Message-ID: <837cwrm7kd.fsf@gnu.org> References: <87zg9n45ig.fsf@yahoo.com> <83h6vvmdcc.fsf@gnu.org> <87r0uz4048.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13468"; mail-complaints-to="usenet@ciao.gmane.io" Cc: holgerschurig@gmail.com, Emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 09 11:56:28 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 1pQ4bM-0003Kc-U0 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Feb 2023 11:56:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQ4ao-0002e8-0z; Thu, 09 Feb 2023 05:55:55 -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 1pQ4al-0002dm-FV for Emacs-devel@gnu.org; Thu, 09 Feb 2023 05:55:51 -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 1pQ4ak-0004gB-2D; Thu, 09 Feb 2023 05:55:50 -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=4YDe+JUsueQ1zQCESwrTqD42mHIB35aG+Eh20cyg+QE=; b=SYdqPv+JcA+d icSX47+xgi55WxaE09X7zBNza4uizrfMxMZ5bKs5Lq9g5ZFEg9MpSBd+zaK3rr211IbVP8hn/ABcU 3BY0EvcgWpVD9pZQ9ugeIKIKUeJTU4a+/rTxasUioWPiZaa6fthkyJWq6bdhrRXvDMbQvUaEeu0kU EteP9dbJrvzPR5wEz38R3ijkdHkrx1TCDdiGX/hEfI4z+qWoHkdsdSEIX5hPDtQBT5ttj6a4TioDB L7u9rtIwIwxQ68DzZSNWSGx2QCfkZ/QJ+5Ludnkjdv61zy6PguMdDwDgIq+wAENkQODRAWI7Ry0WF YyAez23O/4dOKIzotButgQ==; 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 1pQ4aj-0004Tj-Em; Thu, 09 Feb 2023 05:55:49 -0500 In-Reply-To: <87r0uz4048.fsf@yahoo.com> (message from Po Lu on Thu, 09 Feb 2023 18:13:59 +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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303072 Archived-At: > From: Po Lu > Cc: holgerschurig@gmail.com, Emacs-devel@gnu.org > Date: Thu, 09 Feb 2023 18:13:59 +0800 > > I don't oppose us trying, I just see problems with trying to parse C > macros with anything other than guesswork whilst maintaining reasonable > speed. Well, guesswork or not, CC mode does it, so it's definitely doable. I see no reason to give up on this without trying.