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: Thu, 29 Dec 2022 18:59:38 +0200 Message-ID: <835ydu87t1.fsf@gnu.org> References: <5e0a3185-de82-b339-0fa2-956779e63d6f@cornell.edu> <868rj6vfep.fsf@gmail.com> <4895891b-e5ea-9c37-f51b-df2e479ee758@yandex.ru> <83y1qt11xq.fsf@gnu.org> <9eb013da-d0fc-8e17-c6e3-1e8f913aebfa@yandex.ru> <83pmc50xxc.fsf@gnu.org> <71cfe4e8-3bb8-b0a6-9be5-8c0a6d92cfab@yandex.ru> <83h6xg29z3.fsf@gnu.org> <838ris22n4.fsf@gnu.org> <8335901zz3.fsf@gnu.org> <87cz84y5le.fsf@posteo.net> <3F91FDEA-881A-49DB-BB52-5A0D81C004CE@gmail.com> <87k02aihrz.fsf@posteo.net> <86ce08480352653995b8@heytings.org> <838riq8933.fsf@gnu.org> <87fscygnh8.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31909"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, casouri@gmail.com, monnier@iro.umontreal.ca, dgutov@yandex.ru, theophilusx@gmail.com, emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 29 18:00:04 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 1pAwGB-00084g-R8 for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Dec 2022 18:00:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAwFe-0001ae-T0; Thu, 29 Dec 2022 11:59:30 -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 1pAwFb-0001aL-V0 for emacs-devel@gnu.org; Thu, 29 Dec 2022 11:59:28 -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 1pAwFa-0002Rm-QX; Thu, 29 Dec 2022 11:59:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=699OWbZIb5GO3prUPrD65kLV3qntbl6PN42A6ZG1jRA=; b=GNLAmcPTyQ6Z iZbUi+08IsqdGbcTXdnbwE5n1Q6Q5sj0grY7DY8dJGVkNMiRryjq5Dji1yYh7/hWkBKPHsrMqGUJi lOHuhvS8x8pAOTeCHdq63jXmdDJfHwrFkkOwV8Ylji5m+EbZVubHKFLXi42DHEGY9/XHW5np6xhCX N+uM1BCTtXLcqW//1gGcl9Jh+mgPzsM4rS9VqwbvWLUkwdwicWuaNbUohP+qkNxoNOjx3FOmpsxod HlhuFb4kOLMHwKxHqqdlRgGCSPQCJVClOXgTsTazXHiE7q7+UAcryaK1budRN7ur+N2oo86o5ADDA lhxajN8jKqyrCzgtJKfssg==; 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 1pAwFZ-0006lU-EN; Thu, 29 Dec 2022 11:59:26 -0500 In-Reply-To: <87fscygnh8.fsf@posteo.net> (message from Philip Kaludercic on Thu, 29 Dec 2022 16:53:55 +0000) 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:302043 Archived-At: > From: Philip Kaludercic > Cc: Gregory Heytings , casouri@gmail.com, > monnier@iro.umontreal.ca, dgutov@yandex.ru, theophilusx@gmail.com, > emacs-devel@gnu.org > Date: Thu, 29 Dec 2022 16:53:55 +0000 > > Eli Zaretskii writes: > > >> Date: Thu, 29 Dec 2022 15:27:12 +0000 > >> From: Gregory Heytings > >> cc: Yuan Fu , Stefan Monnier , > >> Eli Zaretskii , Dmitry Gutov , > >> Tim Cross , emacs-devel@gnu.org > >> > >> > but it appears that it should be possible for them to also load > >> > arbitrary node.js libraries as well > >> > > >> > >> Indeed, grammar authors are not limited to the standard Node.js API, they > >> can import other libraries. For example, tree-sitter-toml requires the > >> regexp-util library. > > > > The shared library I built for tree-sitter-toml has no such > > dependency. > > The shared object shouldn't depend on that library, it is a build-time > or rather "pre-processing"-time dependency. Yes, neither is it a build-time dependency.