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: Tree-sitter integration on feature/tree-sitter Date: Sat, 7 May 2022 01:29:17 -0700 Message-ID: <9E6D13F6-7E50-44EE-A357-C971A11A3636@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) 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="40946"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 07 10:31:39 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 1nnFql-000AQP-IQ for ged-emacs-devel@m.gmane-mx.org; Sat, 07 May 2022 10:31:39 +0200 Original-Received: from localhost ([::1]:44654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnFqj-0000FU-TV for ged-emacs-devel@m.gmane-mx.org; Sat, 07 May 2022 04:31:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnFoX-0007sJ-Mc for emacs-devel@gnu.org; Sat, 07 May 2022 04:29:22 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:39870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnFoW-0001b5-3Q for emacs-devel@gnu.org; Sat, 07 May 2022 04:29:21 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id a15-20020a17090ad80f00b001dc2e23ad84so12779884pjv.4 for ; Sat, 07 May 2022 01:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=3kURjHR5wMIVxNF6tev9rhDbnfVFE8Sb3Fn5HX9tVfI=; b=RcJDkQClNB4FSFTly8b3xTpYwinIdiANEndX5PeS1p539Rn7DZqkJ2AF6FQFgAKfge eGBd65w8zoyIS5Q6JDt1zIJKwGmcUsrvtbd3pBlhLN+xbvVuf0RuMmNxwSIUC/PFQLrm thPUF4ZGOQiPoqtBUCCAEzzptgLPkOd+wp1n4qaVNp/h2HnMdQz7+H3Wcp3lxEZnwnw3 5asZmcfrkdZfFGfJhLjybx5avtnz9SxphAarmStDFD/L46qQtg3iLtETa750me0SWGMS uiYL0lzrhbaG2WYlFNVisYh2PHbQ0OqN61f43x8GhUdefdgsHb3bKIIjAfXIcA4t1CIw IYqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=3kURjHR5wMIVxNF6tev9rhDbnfVFE8Sb3Fn5HX9tVfI=; b=BstXZ1XB6Iir46ji9AcwDfXNRbcX0bMVJy9HAtQzQy1hIOiPlbvq6Vda6cizrK6NJS xMd0UbfD43YNwNyHIo6samgUBVBTBRmvxtQyKSSwn4lp4TQVsED3X8GmL/NHzttf3eTn PB72ZqqEbsnpwiHWgcpLP9fmvwi63GjPtA6wEtvaNsK4mDLdet1MWqtuZDJf1OhDE8gO AA5lsDCK0cChIvNc9/DQnGWxy2EqIkCQxymILMX8YeDG7v/PWeQhWa2c0DWbHWVmfkLq lTWEl2fT7u3kVO7PgETJGCxyFLK7IApNMz8oIyHVY1JzjhrjNIPl2tJXvrLK6grL9OcQ g0eg== X-Gm-Message-State: AOAM530B0gUazhpDfGlLwAduJlrZdYmEo95zKUFbfH3uip6JNB5nJ93Z orif+r4T1e79BpdMVYRd5Wfz1iawH/4= X-Google-Smtp-Source: ABdhPJwBkoQWcmxpB6OMV2Ey6DMSoqRtbdLjx5/6PDa6tDcjPBupJr3QxGJ+7uOzzleEF7mEBvcVgw== X-Received: by 2002:a17:90a:d497:b0:1dc:9cbe:6a47 with SMTP id s23-20020a17090ad49700b001dc9cbe6a47mr8543490pju.108.1651912158086; Sat, 07 May 2022 01:29:18 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:148:e841:81b0:7360]) by smtp.gmail.com with ESMTPSA id z6-20020a170902834600b0015e8d4eb2ebsm3000128pln.309.2022.05.07.01.29.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 May 2022 01:29:17 -0700 (PDT) X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=casouri@gmail.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:289377 Archived-At: Guys, I=E2=80=99ve pushed the tree-sitter integration to feature/tree-sitter. = If anyone want to give it a try: - get tree-sitter from GitHub (or your package manager, make sure the = version is at least 0.20.2) https://github.com/tree-sitter/tree-sitter - pull and build the branch - read (elisp)Parsing Program Source - grab language definitions from = https://github.com/casouri/tree-sitter-module You can either build with my script, or download the prebuilt ones - play with it Also apologize in advance for that my response might be slow until like = June :-) Yuan=