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 api Date: Sat, 04 Sep 2021 18:00:35 +0300 Message-ID: <838s0cwfl8.fsf@gnu.org> References: <83r1f7hydn.fsf@gnu.org> <95F37923-5BF9-4D81-B361-267CF119FBCA@gmail.com> <735AF34C-FD18-4A6A-A99D-E5D8EB4DE4F3@gmail.com> <83fsukwkyb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29309"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, theo@thornhill.no, cpitclaudel@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, stephen_leake@stephe-leake.org To: =?utf-8?Q?Tu=E1=BA=A5n-Anh_Nguy=E1=BB=85n?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 04 17:02:23 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 1mMXBX-0007OO-MJ for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 17:02:23 +0200 Original-Received: from localhost ([::1]:42900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMXBW-0005yj-MD for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 11:02:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMX9x-0004Sm-9n for emacs-devel@gnu.org; Sat, 04 Sep 2021 11:00:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34060) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMX9v-000310-Ux; Sat, 04 Sep 2021 11:00:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4176 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 1mMX9m-0007ac-0P; Sat, 04 Sep 2021 11:00:43 -0400 In-Reply-To: (message from =?utf-8?Q?Tu=E1=BA=A5n-Anh_Nguy=E1=BB=85n?= on Sat, 4 Sep 2021 21:49:29 +0700) 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:273897 Archived-At: > From: Tuấn-Anh Nguyễn > Date: Sat, 4 Sep 2021 21:49:29 +0700 > Cc: Yuan Fu , Theodor Thornhill , > Stephen Leake , > Clément Pit-Claudel , > Stefan Monnier , emacs-devel > > On Sat, Sep 4, 2021 at 8:04 PM Eli Zaretskii wrote: > > No, because we want to be able to link against a TS library, we don't > > want to require people who build Emacs to build TS as well. > > Related questions: > 1. Who do we expect to build the TS library? For Linux I assume that would be > the maintainer of the (system) package `libtree-sitter`. Is that correct? The distro, I'd say. It can alwso be built on the user's machine and installed separately. Basically, the same as with any other optional library we use: libpng, harfBuzz, etc. > 2. Who do we expect to build the grammar binaries? The ones that TS already provides? They are already built, no? Or what do you mean by "build the grammar binaries", what kind of binaries are those? Forgive me my ignorance.