From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter Date: Tue, 27 Jul 2021 20:53:38 -0700 Message-ID: <86v94v3xh9.fsf@stephe-leake.org> References: <8735rzyzbz.fsf@163.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="15746"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cc: emacs-devel@gnu.org To: Andrei Kuznetsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 28 05:54:54 2021 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 1m8aej-0003sv-MA for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jul 2021 05:54:53 +0200 Original-Received: from localhost ([::1]:49360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8aei-0007Fk-Hu for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Jul 2021 23:54:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8add-0004Qr-1X for emacs-devel@gnu.org; Tue, 27 Jul 2021 23:53:45 -0400 Original-Received: from gateway36.websitewelcome.com ([192.185.196.23]:49341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8adb-0000xw-8Q for emacs-devel@gnu.org; Tue, 27 Jul 2021 23:53:44 -0400 Original-Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway36.websitewelcome.com (Postfix) with ESMTP id BF118400E52B0 for ; Tue, 27 Jul 2021 22:53:41 -0500 (CDT) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id 8adZmp2fXMGeE8adZmBWCD; Tue, 27 Jul 2021 22:53:41 -0500 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:Cc:To:From:Sender:Reply-To: 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=vzfSSilvQpL2K+diTbF3icUmKQmwOM9ZLZTCqhy72uU=; b=nAliNw4Zy7t7l+vTFrY9MDI2ML 3SpuljdNcUXBHs9dsGB1Gv1l02Au8Kc3sLgxBRNVneXx/16t1RhGt3jAfGOpx2gpxj2AiWszCq6SU milOelKtqHjMdebUMG04fGQemtzL7vdljomGDUDR9qtehmjv1tM6qk2jMLcBwygLE6n5fm9N7kvvE Ze6CQDaVlmLncYkgpyg9je030ogiBZKJxts6cUL9B9tNBc2bKA0Ifzd7tGkYn0m6vVFLubd78xiIK 9JZsg2U+eKJZU5w0epk9+FVTz8vqOCD5GAwHzw/5/1x8ztWoPO4Oan/CHEG8PaqyJESFk3uwUZoPO R7FeJ2Dw==; Original-Received: from [76.77.182.20] (port=49264 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m8adZ-001QE1-2D; Tue, 27 Jul 2021 21:53:41 -0600 In-Reply-To: <8735rzyzbz.fsf@163.com> (Andrei Kuznetsov's message of "Wed, 28 Jul 2021 09:57:52 +0800") 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: 1m8adZ-001QE1-2D X-Source-Sender: (Takver4) [76.77.182.20]:49264 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 13 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: permerror client-ip=192.185.196.23; envelope-from=stephen_leake@stephe-leake.org; helo=gateway36.websitewelcome.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271720 Archived-At: Andrei Kuznetsov writes: > it seemed as if consensus has been reached that > Emacs will provide optional functionality integrating yet another > external package, this time tree-sitter. > > Unlike features like native JSON, however, I believe tree-sitter is the > first optional package providing notable functionality that would > require a toolchain that depends on LLVM (that of Rust, which > tree-sitter is implemented in), and is therefore inaccessible to people > not running popular systems; The tree-sitter runtime, that Emacs would link with, it implemented in C, partly for this reason. It would be compiled with whatever Emacs is compiled with, or the system compiler. Some of the tree-sitter development tools are implemented in Rust; you only need Rust if you are developing/fixing a grammar for a language. -- -- Stephe