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: Sun, 12 Dec 2021 22:54:59 -0800 Message-ID: References: <83r1f7hydn.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> <86czp6ukpj.fsf@stephe-leake.org> <1AEED8A5-BF5E-45E5-AE22-9B405A710F9B@gmail.com> <83czp313tf.fsf@gnu.org> <7447C582-70CB-4599-BC76-AD5687D64250@gmail.com> <784947A6-6164-4158-993B-01E881690ADF@gmail.com> <83zgrxji7q.fsf@gnu.org> <8E8D28F9-258E-490B-BF48-7EF8D6CA0817@gmail.com> <838rzgk6ll.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) 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="19579"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ubolonton@gmail.com, theo@thornhill.no, cpitclaudel@gmail.com, emacs-devel@gnu.org, Stefan Monnier , stephen_leake@stephe-leake.org, john@yates-sheets.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 13 07:57:03 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 1mwfGh-0004qg-AP for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Dec 2021 07:57:03 +0100 Original-Received: from localhost ([::1]:59542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwfGg-0000X5-7c for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Dec 2021 01:57:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwfEm-0007eI-KV for emacs-devel@gnu.org; Mon, 13 Dec 2021 01:55:04 -0500 Original-Received: from [2607:f8b0:4864:20::833] (port=42502 helo=mail-qt1-x833.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwfEk-0002Nz-VZ; Mon, 13 Dec 2021 01:55:04 -0500 Original-Received: by mail-qt1-x833.google.com with SMTP id z9so14281982qtj.9; Sun, 12 Dec 2021 22:55:01 -0800 (PST) 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=LnZNfQgsFynRTBImOQFskvUViG9xKxbrdI+8319w07s=; b=Q9NCle8zlTbjVT0rBvZ2pcUMoxEgBpKl57vBQQ8KyjRvvbic0+jqGQvMWWbssHt54/ pUMBWG0O90ZRTaOHF5cdrk7PUrUVrRnNIgNdqeevh/qesZE3Lv8ksUO264RsUWPriIYK JnohmZfqMVRh3Y4UkSgw+xeTd8ryAgF8+PiRO6MpQxAT+b8iWfZoTHsG0k2wPXrjrTH2 7fd971KWjyIO2NWcuQ6T/O1z5X4jaDmjIbsZj+u+asAETeKfJJag2S1UlMRBTwNt0ZVP Ml8Z10owin3dIrkWwTLT9fFpNM7K0/e9J7z0ZZjJPkfCgdV7jUadS11GrChbl18yTMln 27JQ== 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=LnZNfQgsFynRTBImOQFskvUViG9xKxbrdI+8319w07s=; b=lEN6hrvbWvccUYnbhBWEOQM3MjX0EsyV2MMwFaX3D72Q7oFwnaF02pc+35a/OgcHz7 iezylaQ7HehRZ65lqjtO1v3ihtajuwiP/pQACwiiJei6SqOos9XRwGNUcpEWv7JcGZs1 523yCGBUbewEahbQuwpvhdZoDL3uq9yfOCnDmwVhUXa0advH99QnAFheG6yC7BrbIrQW aE1l3EGptWtjY5Qx4+ywH2dI26SRvGANMOf++A1YrtowjWN/8rgMjidUjiABjakFxtMj bsRYV/isykalYgZUFIrgEcUpTdx/jw2FlCd47RBBUPjNclzZaSSNZ/xvvycm2DrHgIw1 w6oA== X-Gm-Message-State: AOAM5311mPt7hCeSGYj7RopdbcT3C9qsLvKVq/Xf85sn/4Yam+qKh3qS 8+w+DsemKI6PiR9k/FClsZCLfIZLEVphtQ== X-Google-Smtp-Source: ABdhPJy47gTg5mAw8vlUOig2rgZN05LcFUi4CogdXCJ0i0BnXZlzWe5/2Fba8hqaNoyLxee/rtwaYQ== X-Received: by 2002:ac8:7e90:: with SMTP id w16mr43092257qtj.257.1639378501183; Sun, 12 Dec 2021 22:55:01 -0800 (PST) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:a569:9d81:d71b:3e7c]) by smtp.gmail.com with ESMTPSA id s4sm5674266qko.47.2021.12.12.22.55.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Dec 2021 22:55:00 -0800 (PST) In-Reply-To: <838rzgk6ll.fsf@gnu.org> X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::833 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=casouri@gmail.com; helo=mail-qt1-x833.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:281831 Archived-At: It=E2=80=99s been a while and no one provided further comments on the = indent and font-lock integration of tree-sitter, so I finished the = manuals for indent and font-lock integration. They are under 24.6 Font = Lock Mode and 24.7 Automatic Indentation of code. Once the author of = tree-sitter allow tree-sitter to change malloc implementation at = runtime, tree-sitter integration will be ready. (Though I suspect that = won=E2=80=99t come soon. The author is still actively developing = tree-sitter but he didn=E2=80=99t reply to my request.) As before, the code is at https://github.com/casouri/emacs on ts branch. Yuan