From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter api Date: Fri, 17 Sep 2021 23:38:52 -0700 Message-ID: <67EAE06A-73C3-4753-A826-E332B36AAA8D@gmail.com> References: <83r1f7hydn.fsf@gnu.org> <8335qbirsr.fsf@gnu.org> <73E0B1F6-6F9F-40E0-927E-D08481BFF391@gmail.com> <834kaqhqlp.fsf@gnu.org> <8335qahqgk.fsf@gnu.org> <3BC29D06-CA75-4706-9AD7-ABA2F65C4DEE@gmail.com> <83v936fj35.fsf@gnu.org> <83r1dselyo.fsf@gnu.org> <6A4CE984-6ACE-4E66-8EF2-F3D351C02248@gmail.com> <83r1dscpt2.fsf@gnu.org> <83o88wcof9.fsf@gnu.org> <83lf3zdh4z.fsf@gnu.org> <8965C4A0-79D3-4D77-A6BA-D07A6C93F7FE@gmail.com> <83ilz3cs4k.fsf@gnu.org> <04D19C1A-CD64-4156-B932-1C9FEEE4EC7B@gmail.com> <83zgsebc0r.fsf@gnu.org> <1F752923-F357-4A18-B6E2-0120F1B9BD37@gmail.com> <83fsu5bzem.fsf@gnu.org> <83zgsdad5j.fsf@gnu.org> <83sfy391ni.fsf@gnu.org> <03386E3C-A975-4ECD-BF89-6AC62F751725@gmail.com> <83ilyz8xdl.fsf@gnu.org> <1BD3BF1C-C9F6-41CF-8558-4FA3E351346C@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7197"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?Cl=C3=A9ment_Pit-Claudel?= , Theodor Thornhill , Emacs developers , Stefan Monnier , Eli Zaretskii , Stephen Leake To: =?utf-8?B?VHXhuqVuLUFuaCBOZ3V54buFbg==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 18 08:40:58 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 1mRU1y-0001hI-Sk for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Sep 2021 08:40:58 +0200 Original-Received: from localhost ([::1]:57718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRU1x-0004Wq-FQ for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Sep 2021 02:40:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRU0N-0003ol-27 for emacs-devel@gnu.org; Sat, 18 Sep 2021 02:39:20 -0400 Original-Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:37523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRU01-0000P6-G3; Sat, 18 Sep 2021 02:39:18 -0400 Original-Received: by mail-qk1-x729.google.com with SMTP id 73so19545234qki.4; Fri, 17 Sep 2021 23:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=OUw+UP33qVAJOEUCzWpe7gygOkSMgOGtCjaFzgJwgM4=; b=RqWAZCGZhnwbW9wf+rSMVCOqXom8GeADKk/brSdSa0RdS1D8m0OdhXm/5PqsGUUqeh OXSb3xgp4WrQipp21Wq7oy7O1+w9vIJpAu6RRwpb0uNu/kYHKUL2i24kevpchSui+6uS pvPoleUMmdlMY6ZLC1YuQmu2zjL8F4BBGQpm5w8KTUmzFVtiGj/sSxjRxiorq4psan4p ykwvwS5S7g81mGygiakB88mGNkLg5BxUEywjWAr33ko/ZCg//1Y5tPnz/854r0mk06Ox O1NNJA3vU+c7s6gb5ZDUIDXCdYBYqL6om6VsVCULdtQxMDwhi573H9blEtSCeX+xVnih sytg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=OUw+UP33qVAJOEUCzWpe7gygOkSMgOGtCjaFzgJwgM4=; b=5wfdfbhUVRcBzLcedpcdRDXt19MG2xlypegRJWBl91N1BBwnTHKmxU9jiY9i9OZmbr DmqbuWe//ivNvXH/LuhHhHcd4lQ+odanSonmntj934YjuiIvfp9J5YWZJTjPXrzb6Uaj oek7rN5LKW3sJbtfpFH1AWNTQ1zoSNt2ooLBNxqNVXFE4lwV+ufu1SX7EIN1Cvz2a8GD g9sVc1eSgTPjTHUTaDMtf6cgDsuWwo47/gO8n/wjelFSJWHNdRd7g/exwSxqYXqwUMWS TdRLRRQjms9GTaGLIJSiGQ6hTdG6y7XbiHHPjFHqNFqSGn2B0ymDBpxLhQE1r8ITBzAK eOaQ== X-Gm-Message-State: AOAM5337MhFfyOntt/9QKRUCzk534wy9AWt7MIIcE4WaNIPwHfY5UTtH Yn0bJRa+I3eHSExE2mtKlF0= X-Google-Smtp-Source: ABdhPJxMghyIlRuheficzz7krGCAyziotOVyoSFfdjLYEWUkODE2NrGeBvbLJOGAm14vFtAOe6pWjg== X-Received: by 2002:a37:410:: with SMTP id 16mr14320894qke.364.1631947134630; Fri, 17 Sep 2021 23:38:54 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c9f:c82d:eb89:1e58:8f64]) by smtp.gmail.com with ESMTPSA id p12sm412363qtx.43.2021.09.17.23.38.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Sep 2021 23:38:54 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::729; envelope-from=casouri@gmail.com; helo=mail-qk1-x729.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:274961 Archived-At: >=20 > Your arguments were reasonable. Please continue the work. It's quite = valuable. > There will be a lot more important details to discuss. Thanks. I=E2=80=99ve pushed a change to the branch on GitHub, and now = Emacs loads dynamic libraries directly. The name of the library to load = can be controlled by tree-sitter-load-name-list. Please have a look and = comment as you like. In the mean time, I=E2=80=99ll be working on tests = and documentation. Yuan=