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 introduction documentation Date: Fri, 16 Dec 2022 18:40:24 +0200 Message-ID: <83zgbni9on.fsf@gnu.org> References: <83edszjslp.fsf@gnu.org> <83bko3jr3o.fsf@gnu.org> <87pmcjxrpu.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6723"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, pedz@easesoftware.com, emacs-devel@gnu.org To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 16 17:46:00 2022 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 1p6DqS-0001Xb-6n for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Dec 2022 17:46:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6DlR-0002IZ-8Z; Fri, 16 Dec 2022 11:40:49 -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 1p6Dl3-0002Hw-8O for emacs-devel@gnu.org; Fri, 16 Dec 2022 11:40:25 -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 1p6Dl1-0004VA-C6; Fri, 16 Dec 2022 11:40:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tyFZiXo4pZAPyqL9Yy12GE0j+wLyGda/X8S5pEcDRTA=; b=ZPsZRW2iHNbqDf9iFQvD WbHZISzV0FPUt065cDkRCekOoxHOVAX3lUV1iSCRGLXOyEKbOBPcgCQnTENFT4+F1Fa1qGSMheeoL r0tvLwBexEswMvbSF4dCounqLuafHetlKokR6DIXWWLH42OuA1Giu/8g3NCVvxdcrNxBxJ1ypFnij XEAa5ejdgdc9K3yAyNq2x8dk2q9d6B+GY7e7D3YdV/dGaU/XbqOGMXrBXCcVHPV6BExcg2JT1Ym+/ d+bo4JYIb3tQWJ6WmqvbVZ8eStkgXKMH219TS+EHFfBni8S4pNe5zqvb2PtTdaREZDZ4Wgr5p8AZo 1MF8Zop58YlTHA==; 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 1p6Dkz-0000PN-K9; Fri, 16 Dec 2022 11:40:22 -0500 In-Reply-To: <87pmcjxrpu.fsf@ledu-giraud.fr> (message from Manuel Giraud on Fri, 16 Dec 2022 17:01:49 +0100) 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:301505 Archived-At: > From: Manuel Giraud > Cc: João Távora , > pedz@easesoftware.com, > emacs-devel@gnu.org > Date: Fri, 16 Dec 2022 17:01:49 +0100 > > Eli Zaretskii writes: > > [...] > > > No, you don't need a NodeJS toolchain to compile a grammar. You only > > need to compile the C/C++ source files that are part of the grammar, > > and then link them into a shared library. I use a simple Makefile to > > build all of them, as the structure of the files and the way to > > compile and link them are identical and boilerplate. And I definitely > > don't have NodeJS installed here. > > And does this will become part of the emacs build process? No. Just like building librsvg or GnuTLS aren't part of the Emacs build process. they are external libraries that you need to install separately.