From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Using incremental parsing in Emacs Date: Sun, 05 Jan 2020 09:11:11 -0800 Message-ID: <86d0bxhlqo.fsf@stephe-leake.org> References: <83blrkj1o1.fsf@gnu.org> <20200105145002.GB71296@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="226010"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 05 18:11:24 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1io9Qx-000whz-Tr for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2020 18:11:24 +0100 Original-Received: from localhost ([::1]:43846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io9Qw-0007dY-PS for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2020 12:11:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34251) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io9Qq-0007d6-7T for emacs-devel@gnu.org; Sun, 05 Jan 2020 12:11:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io9Qo-0003Jt-V9 for emacs-devel@gnu.org; Sun, 05 Jan 2020 12:11:15 -0500 Original-Received: from gateway20.websitewelcome.com ([192.185.66.3]:30846) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1io9Qo-0003JE-Oa for emacs-devel@gnu.org; Sun, 05 Jan 2020 12:11:14 -0500 Original-Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 9F73B400C4D22 for ; Sun, 5 Jan 2020 09:59:33 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id o9QniWvGAqNtvo9QniAkBS; Sun, 05 Jan 2020 11:11:13 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=w4WBg045/de4wy2Ibz3BFyJKtylYQpPu1IwecU9NYBs=; b=hwYJvbLr8nWtf4V5bDUL8IAls 3uAquSic9UeVKoRpZp2bYSMhE7uCs0M2RkTFpLtG2K4Tp90gpAZtte0k/BZZkNOD9/FiTtNIw7vcS vk8ILGNIS0zCXO4n/AkMVIRs9R9a3V/J/iZUyOzaGpqgrmMV48WcQ5Ix5dcmvX1CBjiB8CUt+LCmz eFbHt+xOZP7QwXeaJ3zZ7Yh6CGO0rdEtEWUzKhUCY8RPZCVNzaxEvpi425xe4LIPL9LUnQw7A4qn5 HWI/IwWzLNSRiTQseVr8ovoGmMaje6dciGznGObeuhXLAit3p/dsNEOOPaOlT/CwT9ifIrf/LKlPt uc0Cxsz+w==; Original-Received: from [76.77.182.20] (port=57421 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1io9Qm-002HPf-RJ for emacs-devel@gnu.org; Sun, 05 Jan 2020 10:11:12 -0700 In-Reply-To: <20200105145002.GB71296@breton.holly.idiocy.org> (Alan Third's message of "Sun, 5 Jan 2020 14:50:02 +0000") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1io9Qm-002HPf-RJ X-Source-Sender: (Takver4) [76.77.182.20]:57421 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 3 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.66.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243986 Archived-At: Alan Third writes: > On Sat, Jan 04, 2020 at 02:46:14PM +0000, arthur miller wrote: >> >> There is a very good presentation of tree-sitter on YT by its author: >> >> https://www.youtube.com/watch?v=Jes3bD6P0To >> >> Looks much better then what I got a picture by just reading on the >> website: > > I watched this video and it looks to me like tree sitter is trying to > solve a fundamentally different problem than LSP servers. > > Most of the conversation in this thread seems to make the assumption > that tree sitter and LSP are mutually exclusive, which is clearly not > true. tree sitter could be the parser inside an LSP server Which was my first point; LSP servers can take advantage of advanced/new parsing technology, and they immediately become available to Emacs. -- -- Stephe