From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Using incremental parsing in Emacs Date: Sun, 5 Jan 2020 14:19:00 +0000 Message-ID: <20200105141900.GA71296@breton.holly.idiocy.org> References: <83blrkj1o1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="44064"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 05 15:19:37 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 1io6ki-000BGM-Vc for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2020 15:19:37 +0100 Original-Received: from localhost ([::1]:42564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io6kg-00077p-RH for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2020 09:19:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40008) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io6kF-0006iv-TB for emacs-devel@gnu.org; Sun, 05 Jan 2020 09:19:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io6kE-00075D-Qz for emacs-devel@gnu.org; Sun, 05 Jan 2020 09:19:07 -0500 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:38625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1io6kD-000734-5f; Sun, 05 Jan 2020 09:19:05 -0500 Original-Received: by mail-wr1-x435.google.com with SMTP id y17so46889145wrh.5; Sun, 05 Jan 2020 06:19:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=isE5xFQ57QlZI17w/35SX04nYkTIcqMo8YTe1qHZBG4=; b=SH+wkjX8czCYf1u0CZgIVDH8PUijN0EtsCtwptJ2QuK4Pk3q5QkuazP5VgtBPlJZ2h i1VwcCN5qHyLWvJPCL5B3E5jLqlpzI3bFw0muYIhvLiLVniVJCm+X5lvDzVfrFLqTTZY 50ZwXNCVGwWKLCR1WPDKV9X+vUe8OvNHfS3upI1LJGOyqMFzFwqk+kwdbfVnqG7RdJfs HWirCB6ZzPS6CeRIt+9dDHZpXMac8rxjeEN6KD2RVmOx38OMnRkhNG07hIk3DSFBsLMd 24ygmdPSbwmcYc9XIoUeNy+4uKbAZ72+ITeR0suq1NmNAZ3VPN8ZZg5isoci8SSaxoSw 5FLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=isE5xFQ57QlZI17w/35SX04nYkTIcqMo8YTe1qHZBG4=; b=d+Naq0UO6qPejkxsSyiI1+biQLX0Y2PbdoSlRdRY3KbhQ11HSaiBFkHwqPUKWqwHcL nkXt6Lj/oab1JLvobvwcyxKHbZr37ztvhCr3jMaHmaTAsexdAKbxpjTiHMc2emg1bzSS HN2arUplZDDZ2NCqZUzq04dvTKCmQ3B19FsnK4vfrJmw4VrymKfEkWzMWwIoEbyYagWg 1at4978T/d1VY/iqm0SHamP6+eCKrnZWiug/CJ1cngUTr5uyolGtd307IN604mRkbvg5 BzZ4gv4re3LKBeBlikpw+rnOrxZt3XJomFI+oTPvAnfMIDT8Vs0TjxWu8p6aPOu2/3fc Z1zA== X-Gm-Message-State: APjAAAUA0M6bUKRG/JFR/2sMDL0UPDHYjbaHtdvnajfbe3VQ3Jdpz2gg Z9Hb6Mblqt1Gwk2OGYeEllLupsYY/sVTvQ== X-Google-Smtp-Source: APXvYqzfiiAyW87LNk32FrOM54j0Ekt4fbMaNytbjUuhkEQ5mfrY2oLPtvywn11Sv9Hpzkxwoqu8Iw== X-Received: by 2002:a5d:6ac3:: with SMTP id u3mr101619419wrw.25.1578233943793; Sun, 05 Jan 2020 06:19:03 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-3c68-1d99-a68c-dce7.holly.idiocy.org. [2001:8b0:3f8:8129:3c68:1d99:a68c:dce7]) by smtp.gmail.com with ESMTPSA id c68sm19221790wme.13.2020.01.05.06.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2020 06:19:02 -0800 (PST) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 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:243974 Archived-At: On Sat, Jan 04, 2020 at 03:43:13PM -0500, Stefan Monnier wrote: > I'm pretty far behind in my backlog, so can't say much yet, but IMO the > design of some "next generation font-lock / syntax-ppss / indentation / > navigation" infrastructure should start by considering the use of > multiple CPUs. That's actually one of the benefits of the LSP approach ;-) My understanding is that tree sitter also supports parallel parsing of a single file. -- Alan Third