all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Tuấn-Anh Nguyễn" <ubolonton@gmail.com>, emacs-devel@gnu.org
Subject: Re: [NonGNU ELPA] New packages proposal: tree-sitter
Date: Sat, 28 Aug 2021 00:00:24 -0700	[thread overview]
Message-ID: <3FB80347-178E-46A4-9B15-A054578FBD0C@gmail.com> (raw)
In-Reply-To: <83pmtzqfe0.fsf@gnu.org>


> I'd be much happier if you could coordinate with Yuan Fu
> <casouri@gmail.com>, who works on integrating TS into the Emacs core.
> This stuff should IMO be in core, not in 3rd-party packages, let alone
> on nonGNU ELPA.

I guess I should have reached out sooner, communicating that I’m about to do it, but on the other hand I don’t want to just come in and talk about what I’m going to do and such and such, before I actually did anything. And my general understanding is that there aren’t much interest in integrating tree-sitter into the C core. So...

> Can you tell which functionality is missing from Yuan Fu's work that
> is supported by those 3 packages?  Can that functionality be added to
> Yuan Fu's code?

The code is at https://github.com/casouri/emacs, in the “ts” branch. The main things to look at are src/tree-sitter.c, lisp/tree-sitter.el, and doc/lispref/parsing.texi.

There is an on-going discussion about tree-sitter API in Emacs, starting at https://lists.gnu.org/archive/html/emacs-devel/2021-08/msg00246.html

Yuan


  reply	other threads:[~2021-08-28  7:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-27 10:48 [NonGNU ELPA] New packages proposal: tree-sitter Tuấn-Anh Nguyễn
2021-08-27 11:46 ` Eli Zaretskii
2021-08-28  7:00   ` Yuan Fu [this message]
2021-08-28 16:52     ` Tuấn-Anh Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FB80347-178E-46A4-9B15-A054578FBD0C@gmail.com \
    --to=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ubolonton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.